]> git.proxmox.com Git - mirror_zfs-debian.git/blame - zfs.spec.in
Make commands load zfs module on demand
[mirror_zfs-debian.git] / zfs.spec.in
CommitLineData
c9c0d073
BB
1%define name @PACKAGE@
2%define version @VERSION@
3%define release @ZFS_META_RELEASE@
4%define debug_package %{nil}
5
6Summary: ZFS Library and Utils
7Group: Utilities/System
8Name: %{name}
9Version: %{version}
10Release: %{release}
11License: CDDL
12URL: git://eris.llnl.gov/zfs.git
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
14Source: %{name}-%{version}.tar.gz
15Requires: zlib e2fsprogs
16BuildRequires: zlib-devel e2fsprogs-devel
17
18%description
19The %{name} package contains the libzfs library and support utilities
20for the zfs file system.
21
22%package devel
23Summary: ZFS File System User Headers
24Group: Development/Libraries
25%if %{defined ch5} || %{defined el6} || %{defined fc12}
26Requires: zlib libuuid libblkid
27BuildRequires: zlib-devel libuuid-devel libblkid-devel
28%else
29Requires: zlib e2fsprogs
30BuildRequires: zlib-devel e2fsprogs-devel
31%endif
32
33%description devel
34The %{name}-devel package contains the header files needed for building
35additional applications against the %{name} libraries.
36
37%package test
38Summary: ZFS File System Test Infrastructure
39Group: Utilities/System
40
41%description test
42The %{name}-test package contains a test infrastructure for zpios which
43can be used to simplfy the benchmarking of various hardware and software
44configurations. The test infrastructure additionally integrates with
45various system profiling tools to facilitate an in depth analysis.
46
47%prep
48%setup
49%build
50%configure --with-config=user --without-blkid
51make
52
53%install
54rm -rf $RPM_BUILD_ROOT
55make DESTDIR=$RPM_BUILD_ROOT install
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(-, root, root)
62%doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER
1ae93745 63%doc OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE
c9c0d073
BB
64%{_sbindir}/*
65%{_bindir}/*
66%{_libdir}/*
67%{_mandir}/man8/*
6283f55e 68/etc/*
c9c0d073
BB
69
70%files devel
71%defattr(-,root,root)
72%{_includedir}/*
73
74%files test
75%defattr(-,root,root)
76%{_libexecdir}/@PACKAGE@/*
77
78%post
79%postun