summaryrefslogtreecommitdiffstats
path: root/rpm/generic/spl.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/generic/spl.spec.in')
-rw-r--r--rpm/generic/spl.spec.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/rpm/generic/spl.spec.in b/rpm/generic/spl.spec.in
new file mode 100644
index 000000000..4b8cf0756
--- /dev/null
+++ b/rpm/generic/spl.spec.in
@@ -0,0 +1,40 @@
+Name: @PACKAGE@
+Version: @VERSION@
+Release: @RELEASE@%{?dist}
+Summary: Commands to control the kernel modules
+
+Group: System Environment/Kernel
+License: GPLv2+
+URL: http://zfsonlinux.org/
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ExclusiveArch: i386 i686 x86_64
+
+# May build but untested on ppc/ppc64
+ExcludeArch: ppc ppc64
+
+Requires: %{name}-kmod >= %{version}
+Provides: %{name}-kmod-common = %{version}
+
+%description
+This package contains the commands to verify the SPL
+kernel modules are functioning properly.
+
+%prep
+%setup -q
+
+%build
+%configure --with-config=user
+make %{?_smp_mflags}
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+make install DESTDIR=%{?buildroot}
+
+%files
+%doc AUTHORS COPYING DISCLAIMER
+%{_sbindir}/*
+
+%changelog
+* Tue Mar 12 2013 Brian Behlendorf <[email protected]> - 0.6.0-1
+- Refreshed RPM packaging.