2009-06-26 18:37:06 +00:00
|
|
|
%define name @PACKAGE@
|
|
|
|
%define version @VERSION@
|
|
|
|
%define release @SPL_META_RELEASE@
|
2009-07-01 21:37:44 +00:00
|
|
|
%define debug_package %{nil}
|
2009-03-05 17:08:07 +00:00
|
|
|
|
2009-07-01 21:37:44 +00:00
|
|
|
Summary: SPL Utils
|
2009-03-05 17:08:07 +00:00
|
|
|
Group: Utilities/System
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
2011-10-19 18:23:38 +00:00
|
|
|
Release: %{release}%{?dist}
|
2009-07-01 21:37:44 +00:00
|
|
|
License: @LICENSE@
|
2011-10-17 23:40:38 +00:00
|
|
|
URL: git://github.com/zfsonlinux/spl.git
|
2009-10-05 19:51:58 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
|
2009-03-05 17:08:07 +00:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
2012-01-18 00:14:59 +00:00
|
|
|
Requires: spl-modules
|
2009-03-05 17:08:07 +00:00
|
|
|
|
|
|
|
%description
|
2009-07-01 21:37:44 +00:00
|
|
|
The %{name} package contains the support utilities for the spl.
|
2009-03-05 17:08:07 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%build
|
2009-07-01 21:37:44 +00:00
|
|
|
%configure --with-config=user
|
2009-03-05 17:08:07 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2013-02-08 20:17:18 +00:00
|
|
|
%doc AUTHORS COPYING DISCLAIMER
|
2009-03-05 17:08:07 +00:00
|
|
|
%{_sbindir}/*
|
|
|
|
|
|
|
|
%post
|
|
|
|
%postun
|