2024-01-05 20:04:25 +01:00
|
|
|
Name: zfs-fuse
|
|
|
|
Epoch: 1
|
2024-01-05 20:04:25 +01:00
|
|
|
Version: 0.7.2.2
|
2024-01-05 20:04:25 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: ZFS Filesystem for FUSE/Linux
|
|
|
|
Group: System/Kernel and Hardware/Drivers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
2024-01-05 20:04:25 +01:00
|
|
|
URL: https://github.com/gordan-bobic/zfs-fuse
|
|
|
|
Source: https://github.com/gordan-bobic/zfs-fuse.git/%{version}/zfs-fuse-%{version}.tar.bz2
|
|
|
|
Source1: zfs-fuse.service
|
|
|
|
Source2: zfs-fuse-helper
|
|
|
|
Source3: zfs-fuse.sysconfig
|
2024-01-05 20:04:25 +01:00
|
|
|
Patch: %{name}-0.4.0_beta1-SConstruct.patch
|
|
|
|
Patch1: %{name}-0.5.0-gcc43.patch
|
|
|
|
Patch2: %{name}-0.5.0-gcc44.patch
|
|
|
|
Patch3: zfs-fuse-0.7.0-glibc-2.14.patch
|
2024-01-05 20:04:25 +01:00
|
|
|
Patch4: zfs-fuse-0.7.2.2-stack.patch
|
|
|
|
Patch5: zfs-fuse-0.7.2.2-python3.patch
|
|
|
|
Patch6: zfs-fuse-0.7.2.2-tirpc.patch
|
|
|
|
Patch7: zfs-fuse-0.7.2.2-common.patch
|
|
|
|
Patch8: zfs-fuse-0.7.2.2-upstream-ENODATA-errors.patch
|
|
|
|
Patch9: zfs-fuse-0.7.2.2-xattr.patch
|
2024-01-05 20:04:25 +01:00
|
|
|
License: Common Development and Distribution License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libaio-devel
|
2024-01-05 20:04:25 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-05 20:04:25 +01:00
|
|
|
BuildRequires: libfuse-devel
|
2024-01-05 20:04:25 +01:00
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: liblzo-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libtirpc-devel
|
2024-01-05 20:04:25 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-05 20:04:25 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-05 20:04:25 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: scons
|
|
|
|
|
|
|
|
%description
|
|
|
|
ZFS is an advanced modern general-purpose filesystem from Sun Microsystems, originally designed for Solaris/OpenSolaris.
|
|
|
|
This project is a port of ZFS to the FUSE framework for the Linux operating system.
|
|
|
|
|
2024-01-05 20:04:25 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 20:04:25 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 20:04:25 +01:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
%patch4 -p0
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p0
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
2024-01-05 20:04:25 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd src
|
2024-01-05 20:04:25 +01:00
|
|
|
export CCFLAGS="%{optflags}"
|
|
|
|
scons debug=2 optim='%{optflags}'
|
2024-01-05 20:04:25 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
pushd src
|
|
|
|
scons install \
|
2024-01-05 20:04:25 +01:00
|
|
|
debug=1 \
|
2024-01-05 20:04:25 +01:00
|
|
|
install_dir=%{buildroot}%{_sbindir} \
|
|
|
|
man_dir=%{buildroot}%{_mandir}/man8 \
|
|
|
|
cfg_dir=%{buildroot}%{_sysconfdir}/zfs
|
|
|
|
popd
|
|
|
|
|
2024-01-05 20:04:25 +01:00
|
|
|
install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/zfs-fuse.service
|
|
|
|
install -D -m 0755 %{SOURCE2} %{buildroot}%{_sbindir}/zfs-fuse-helper
|
|
|
|
install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/zfs-fuse
|
2024-01-05 20:04:25 +01:00
|
|
|
|
|
|
|
# remove unpackaged files
|
|
|
|
rm -f %{buildroot}%{_sbindir}/.sconsign
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
2024-01-05 20:04:25 +01:00
|
|
|
%systemd_post zfs-fuse
|
2024-01-05 20:04:25 +01:00
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
2024-01-05 20:04:25 +01:00
|
|
|
%systemd_preun zfs-fuse
|
2024-01-05 20:04:25 +01:00
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
2024-01-05 20:04:25 +01:00
|
|
|
%systemd_postun_with_restart zfs-fuse
|
2024-01-05 20:04:25 +01:00
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:04:25 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/zfs-fuse
|
2024-01-05 20:04:25 +01:00
|
|
|
%{_sysconfdir}/zfs/zfs_pool_alert
|
2024-01-05 20:04:25 +01:00
|
|
|
%{_sbindir}/mount.zfs
|
2024-01-05 20:04:25 +01:00
|
|
|
%{_sbindir}/zdb
|
|
|
|
%{_sbindir}/zfs
|
|
|
|
%{_sbindir}/zfs-fuse
|
2024-01-05 20:04:25 +01:00
|
|
|
%{_sbindir}/zfs-fuse-helper
|
2024-01-05 20:04:25 +01:00
|
|
|
%{_sbindir}/zpool
|
|
|
|
%{_sbindir}/zstreamdump
|
|
|
|
%{_sbindir}/ztest
|
2024-01-05 20:04:25 +01:00
|
|
|
%{_unitdir}/zfs-fuse.service
|
2024-01-05 20:04:25 +01:00
|
|
|
%{_mandir}/man8/zdb.8*
|
|
|
|
%{_mandir}/man8/zfs-fuse.8*
|
|
|
|
%{_mandir}/man8/zfs.8*
|
|
|
|
%{_mandir}/man8/zpool.8*
|
|
|
|
%{_mandir}/man8/zstreamdump.8*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:04:25 +01:00
|
|
|
* Wed Mar 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.2.2-1mamba
|
|
|
|
- update to 0.7.2.2
|
|
|
|
|
2024-01-05 20:04:25 +01:00
|
|
|
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 0.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
|
|
|
|
- rebuilt to remove executable requirements
|
|
|
|
|
|
|
|
* Sun Mar 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 27 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> hg20070828-1mamba
|
|
|
|
- package created by autospec
|