]>
Commit | Line | Data |
---|---|---|
ac12b262 BB |
1 | %define name @PACKAGE@ |
2 | %define version @VERSION@ | |
ac12b262 | 3 | %define release @SPL_META_RELEASE@ |
86933a6e | 4 | %define debug_package %{nil} |
c5f70460 | 5 | |
86933a6e | 6 | Summary: SPL Utils |
c5f70460 BB |
7 | Group: Utilities/System |
8 | Name: %{name} | |
9 | Version: %{version} | |
16952a68 | 10 | Release: %{release}%{?dist} |
86933a6e | 11 | License: @LICENSE@ |
a49bc996 | 12 | URL: git://github.com/zfsonlinux/spl.git |
f44078fa | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un) |
c5f70460 | 14 | Source: %{name}-%{version}.tar.gz |
87d11239 | 15 | Requires: spl-modules |
c5f70460 BB |
16 | |
17 | %description | |
86933a6e | 18 | The %{name} package contains the support utilities for the spl. |
c5f70460 BB |
19 | |
20 | %prep | |
21 | %setup | |
22 | %build | |
86933a6e | 23 | %configure --with-config=user |
c5f70460 BB |
24 | make |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | make DESTDIR=$RPM_BUILD_ROOT install | |
29 | ||
30 | %clean | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %files | |
34 | %defattr(-, root, root) | |
35 | %doc AUTHORS ChangeLog COPYING DISCLAIMER INSTALL | |
36 | %{_sbindir}/* | |
c5f70460 BB |
37 | |
38 | %post | |
c5f70460 | 39 | %postun |