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