315 lines
9.5 KiB
RPMSpec
315 lines
9.5 KiB
RPMSpec
Name: zfs
|
|
Version: 2.1.5
|
|
Release: 1mamba
|
|
Summary: An advanced file system and volume manager
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://zfsonlinux.org
|
|
Source: https://github.com/zfsonlinux/zfs.git/zfs-%{version}/zfs-%{version}.tar.bz2
|
|
License: Common Development and Distribution License
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libaio-devel
|
|
BuildRequires: libaudit-devel
|
|
BuildRequires: libblkid-devel
|
|
BuildRequires: libcap-ng-devel
|
|
BuildRequires: libe2fs-devel
|
|
BuildRequires: libkrb5-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpam-devel
|
|
BuildRequires: libpython3-devel
|
|
BuildRequires: libtirpc-devel
|
|
BuildRequires: libudev-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: python3.7dist(cffi)
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.
|
|
ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers.
|
|
Full documentation for installing ZoL on your favorite Linux distribution can be found at: http://zfsonlinux.org
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package -n python-pyzfs-py3
|
|
Group: System/Libraries
|
|
Summary: Pythonlibraries for %{name}
|
|
Requires: python3
|
|
Requires: python-cffi-py3
|
|
Obsoletes: python-pyzfs-py36 < 2.1.99
|
|
|
|
%description -n python-pyzfs-py3
|
|
This package contains the Python libraries for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#-D -T
|
|
#:<< _EOF
|
|
./autogen.sh
|
|
|
|
%build
|
|
#:<< _EOF
|
|
%configure \
|
|
--disable-sysvinit \
|
|
--with-config=user \
|
|
--with-systemdunitdir=%{_unitdir} \
|
|
--with-systemdpresetdir=%{_presetdir} \
|
|
--with-udevdir=%{_prefix}/lib/udev \
|
|
--with-udevrulesdir=%{_udevrulesdir} \
|
|
--with-mounthelperdir=%{_sbindir} \
|
|
--with-python=3 \
|
|
PYTHON=%{__python3}
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_sysconfdir}/zfs
|
|
%{_sysconfdir}/zfs/*.example
|
|
%dir %{_sysconfdir}/zfs/zed.d
|
|
%{_sysconfdir}/zfs/zed.d/zed.rc
|
|
%{_sysconfdir}/zfs/zed.d/*.sh
|
|
%{_sysconfdir}/sudoers.d/zfs
|
|
%dir %{_sysconfdir}/zfs/zpool.d
|
|
%{_sysconfdir}/zfs/zfs-functions
|
|
%{_sysconfdir}/zfs/zpool.d/*
|
|
%config %{_sysconfdir}/default/zfs
|
|
%{_bindir}/arcstat
|
|
%{_bindir}/arc_summary
|
|
%{_bindir}/dbufstat
|
|
%{_bindir}/raidz_test
|
|
%{_bindir}/zvol_wait
|
|
%{_sbindir}/fsck.zfs
|
|
%{_sbindir}/mount.zfs
|
|
%{_sbindir}/zdb
|
|
%{_sbindir}/zed
|
|
%{_sbindir}/zfs
|
|
%{_sbindir}/zfs_ids_to_path
|
|
%{_sbindir}/zhack
|
|
%{_sbindir}/zinject
|
|
%{_sbindir}/zpool
|
|
%{_sbindir}/zstream
|
|
%{_sbindir}/zstreamdump
|
|
%{_sbindir}/ztest
|
|
%{_sbindir}/zgenhostid
|
|
%{_udevrulesdir}/*.rules
|
|
%{_prefix}/lib/udev/vdev_id
|
|
%{_prefix}/lib/udev/zvol_id
|
|
%{_datadir}/initramfs-tools/hooks/zfsunlock
|
|
%{_datadir}/initramfs-tools/zfsunlock
|
|
%{_datadir}/pam-configs/zfs_key
|
|
%dir %{_prefix}/lib/dracut/modules.d/90zfs
|
|
%{_prefix}/lib/dracut/modules.d/90zfs/*
|
|
%{_prefix}/lib/modules-load.d/zfs.conf
|
|
%{_presetdir}/50-zfs.preset
|
|
%{_unitdir}/zfs-*.service
|
|
%{_unitdir}/zfs-*.timer
|
|
%{_unitdir}/zfs.target
|
|
%{_unitdir}/zfs-volumes.target
|
|
%{_datadir}/initramfs-tools/conf-hooks.d/zfs
|
|
%{_datadir}/initramfs-tools/hooks/zfs
|
|
%{_datadir}/initramfs-tools/scripts/zfs
|
|
%dir %{_datadir}/zfs
|
|
%{_datadir}/zfs/*
|
|
%{_unitdir}/zfs-import.target
|
|
%{_prefix}/lib/systemd/system-generators/zfs-mount-generator
|
|
%{_prefix}/lib/dracut/modules.d/02zfsexpandknowledge/module-setup.sh
|
|
%{_datadir}/initramfs-tools/conf.d/zfs
|
|
%{_datadir}/initramfs-tools/scripts/local-top/zfs
|
|
%{_mandir}/man1/arcstat.1.gz
|
|
%{_mandir}/man1/raidz_test.1*
|
|
%{_mandir}/man1/test-runner.1*
|
|
%{_mandir}/man8/zgenhostid.8*
|
|
%{_mandir}/man1/zhack.1*
|
|
%{_mandir}/man1/ztest.1*
|
|
%{_mandir}/man1/zvol_wait.1*
|
|
%{_mandir}/man4/spl.4*
|
|
%{_mandir}/man4/zfs.4*
|
|
#%{_mandir}/man5/spl-module-parameters.5*
|
|
%{_mandir}/man5/vdev_id.conf.5*
|
|
#%{_mandir}/man5/zfs-events.5*
|
|
#%{_mandir}/man5/zfs-module-parameters.5*
|
|
#%{_mandir}/man5/zpool-features.5*
|
|
%{_mandir}/man7/dracut.zfs.7*
|
|
%{_mandir}/man7/zfsconcepts.7*
|
|
%{_mandir}/man7/zfsprops.7*
|
|
%{_mandir}/man7/zpool-features.7*
|
|
%{_mandir}/man7/zpoolconcepts.7*
|
|
%{_mandir}/man7/zpoolprops.7*
|
|
%{_mandir}/man8/fsck.zfs.8*
|
|
%{_mandir}/man8/mount.zfs.8*
|
|
%{_mandir}/man8/vdev_id.8*
|
|
%{_mandir}/man8/zdb.8*
|
|
%{_mandir}/man8/zed.8*
|
|
%{_mandir}/man8/zfs.8*
|
|
%{_mandir}/man8/zfs-*.8*
|
|
%{_mandir}/man8/zinject.8*
|
|
%{_mandir}/man8/zpool*.8*
|
|
%{_mandir}/man8/zstream.8.gz
|
|
%{_mandir}/man8/zstreamdump.8*
|
|
%{_mandir}/man8/zfs_ids_to_path.8*
|
|
#%{_mandir}/man8/zfsconcepts.8*
|
|
#%{_mandir}/man8/zfsprops.8*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libnvpair.so.*
|
|
%{_libdir}/libuutil.so.*
|
|
%{_libdir}/libzfs.so.*
|
|
%{_libdir}/libzfsbootenv.so.*
|
|
%{_libdir}/libzfs_core.so.*
|
|
%{_libdir}/libzpool.so.*
|
|
%{_libdir}/security/pam_zfs_key.la
|
|
%{_libdir}/security/pam_zfs_key.so
|
|
%dir %{_libexecdir}/zfs
|
|
%dir %{_libexecdir}/zfs/zed.d
|
|
%dir %{_libexecdir}/zfs/zpool.d
|
|
%{_libexecdir}/zfs/zpool_influxdb
|
|
%{_libexecdir}/zfs/zpool.d/*
|
|
%{_libexecdir}/zfs/zed.d/*.sh
|
|
%doc AUTHORS
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libspl
|
|
%{_includedir}/libspl/*
|
|
%dir %{_includedir}/libzfs
|
|
%{_includedir}/libzfs/*
|
|
%{_libdir}/libnvpair.a
|
|
%{_libdir}/libnvpair.la
|
|
%{_libdir}/libnvpair.so
|
|
%{_libdir}/libuutil.a
|
|
%{_libdir}/libuutil.la
|
|
%{_libdir}/libuutil.so
|
|
%{_libdir}/libzfs.a
|
|
%{_libdir}/libzfs.la
|
|
%{_libdir}/libzfs.so
|
|
%{_libdir}/libzfsbootenv.a
|
|
%{_libdir}/libzfsbootenv.la
|
|
%{_libdir}/libzfsbootenv.so
|
|
%{_libdir}/libzfs_core.a
|
|
%{_libdir}/libzfs_core.la
|
|
%{_libdir}/libzfs_core.so
|
|
%{_libdir}/libzpool.a
|
|
%{_libdir}/libzpool.la
|
|
%{_libdir}/libzpool.so
|
|
%{_libdir}/pkgconfig/libzfs.pc
|
|
%{_libdir}/pkgconfig/libzfsbootenv.pc
|
|
%{_libdir}/pkgconfig/libzfs_core.pc
|
|
#%doc README.markdown
|
|
|
|
%files -n python-pyzfs-py3
|
|
%defattr(-,root,root)
|
|
%dir %{python3_sitelib}/libzfs_core
|
|
%{python3_sitelib}/libzfs_core/*
|
|
%dir %{python3_sitelib}/pyzfs-*-py*.egg-info
|
|
%{python3_sitelib}/pyzfs-*-py*.egg-info/*
|
|
|
|
%changelog
|
|
* Tue Jun 28 2022 Automatic Build System <autodist@mambasoft.it> 2.1.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 16 2022 Automatic Build System <autodist@mambasoft.it> 2.1.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 16 2021 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 17 2021 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
- update to 2.1.0
|
|
|
|
* Wed Mar 10 2021 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 30 2021 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.5-2mamba
|
|
- rebuilt with python3
|
|
|
|
* Fri Oct 09 2020 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 13 2020 Automatic Build System <autodist@mambasoft.it> 0.8.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 01 2020 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 05 2019 Automatic Build System <autodist@mambasoft.it> 0.8.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-2mamba
|
|
- rebuilt with python package
|
|
|
|
* Sat Aug 03 2019 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 05 2019 Automatic Build System <autodist@mambasoft.it> 0.7.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 19 2018 Automatic Build System <autodist@mambasoft.it> 0.7.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Nov 03 2018 Automatic Build System <autodist@mambasoft.it> 0.7.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 25 2018 Automatic Build System <autodist@mambasoft.it> 0.7.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 13 2018 Automatic Build System <autodist@mambasoft.it> 0.7.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 30 2018 Automatic Build System <autodist@mambasoft.it> 0.7.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5.8-1mamba
|
|
- update to 0.6.5.8
|
|
|
|
* Sat May 14 2016 Automatic Build System <autodist@mambasoft.it> 0.6.5.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 24 2016 Automatic Build System <autodist@mambasoft.it> 0.6.5.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jun 05 2015 Automatic Build System <autodist@mambasoft.it> 0.6.4.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-1mamba
|
|
- package created using the webbuild interface
|