2009-07-01 17:53:05 +00:00
|
|
|
%define name @PACKAGE@
|
|
|
|
%define version @VERSION@
|
|
|
|
%define release @ZFS_META_RELEASE@
|
|
|
|
%define debug_package %{nil}
|
2009-03-10 18:10:50 +00:00
|
|
|
|
2009-07-01 17:53:05 +00:00
|
|
|
Summary: ZFS Library and Utils
|
2009-03-10 18:10:50 +00:00
|
|
|
Group: Utilities/System
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
2009-07-01 17:53:05 +00:00
|
|
|
License: CDDL
|
2009-03-10 18:10:50 +00:00
|
|
|
URL: git://eris.llnl.gov/zfs.git
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
2009-03-13 00:13:35 +00:00
|
|
|
Requires: zlib
|
|
|
|
BuildRequires: zlib-devel
|
2009-03-10 18:10:50 +00:00
|
|
|
|
|
|
|
%description
|
2009-07-01 17:53:05 +00:00
|
|
|
The %{name} package contains the libzfs library and support utilities
|
|
|
|
for the zfs file system.
|
2009-03-10 18:10:50 +00:00
|
|
|
|
|
|
|
%package devel
|
2009-07-01 17:53:05 +00:00
|
|
|
Summary: ZFS File System User Headers
|
2009-03-10 18:10:50 +00:00
|
|
|
Group: Development/Libraries
|
2009-07-01 17:53:05 +00:00
|
|
|
Requires: zlib
|
2009-03-13 00:13:35 +00:00
|
|
|
BuildRequires: zlib-devel
|
2009-03-10 18:10:50 +00:00
|
|
|
|
|
|
|
%description devel
|
2009-07-01 17:53:05 +00:00
|
|
|
The %{name}-devel package contains the header files needed for building
|
|
|
|
additional applications against the %{name} libraries.
|
2009-03-10 18:10:50 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%build
|
2009-07-01 21:35:38 +00:00
|
|
|
%configure --with-config=user
|
2009-03-10 18:10:50 +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)
|
2009-03-12 22:07:29 +00:00
|
|
|
%doc AUTHORS ChangeLog COPYING DISCLAIMER GIT
|
2009-03-10 18:10:50 +00:00
|
|
|
%doc OPENSOLARIS.LICENSE README TODO ZFS.RELEASE
|
|
|
|
%{_sbindir}/*
|
2009-03-11 04:13:30 +00:00
|
|
|
%{_libdir}/*
|
2009-03-10 18:10:50 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2009-03-12 22:07:29 +00:00
|
|
|
%{_includedir}/*
|
2009-03-10 18:10:50 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
%postun
|