Compare commits

...

23 Commits

Author SHA1 Message Date
f0a3483589 automatic version update by autodist [release 3.16.2-1mamba;Tue Oct 10 2023] 2024-01-05 22:35:18 +01:00
ec9051d44b automatic version update by autodist [release 3.16.1-1mamba;Tue Aug 08 2023] 2024-01-05 22:35:17 +01:00
63fdd3e105 automatic version update by autodist [release 3.15.1-1mamba;Thu Jul 06 2023] 2024-01-05 22:35:17 +01:00
1eb44ba2d6 automatic version update by autodist [release 3.15.0-1mamba;Sat Jun 10 2023] 2024-01-05 22:35:17 +01:00
6c9d24a1f9 automatic version update by autodist [release 3.14.1-1mamba;Tue Mar 28 2023] 2024-01-05 22:35:16 +01:00
154c791005 automatic version update by autodist [release 3.14.0-1mamba;Fri Feb 17 2023] 2024-01-05 22:35:16 +01:00
f2bfe6db93 automatic version update by autodist [release 3.13.1-1mamba;Mon Feb 06 2023] 2024-01-05 22:35:16 +01:00
4208e35f4d automatic version update by autodist [release 3.13.0-1mamba;Sat Jan 14 2023] 2024-01-05 22:35:15 +01:00
c007e01242 install fusermount3 with suid permissions [release 3.12.0-3mamba;Mon Oct 03 2022] 2024-01-05 22:35:15 +01:00
6e0daa1b69 libfuse3: require fuse3 (fusermount3) [release 3.12.0-2mamba;Wed Sep 28 2022] 2024-01-05 22:35:15 +01:00
008e785508 automatic version update by autodist [release 3.12.0-1mamba;Thu Sep 08 2022] 2024-01-05 22:35:15 +01:00
28c9fa4130 automatic version update by autodist [release 3.11.0-1mamba;Tue May 03 2022] 2024-01-05 22:35:15 +01:00
8c982710a4 automatic version update by autodist [release 3.10.5-1mamba;Mon Sep 06 2021] 2024-01-05 22:35:15 +01:00
8dfbe69124 update to 3.10.4 [release 3.10.4-1mamba;Sat Jun 19 2021] 2024-01-05 22:35:15 +01:00
bb1f157e24 automatic version update by autodist [release 3.10.3-1mamba;Mon Apr 12 2021] 2024-01-05 22:35:14 +01:00
59e2b2bc6d automatic version update by autodist [release 3.10.2-1mamba;Fri Feb 19 2021] 2024-01-05 22:35:14 +01:00
52adbd395b automatic version update by autodist [release 3.10.1-1mamba;Fri Dec 11 2020] 2024-01-05 22:35:14 +01:00
23bf48346a automatic version update by autodist [release 3.10.0-1mamba;Mon Oct 12 2020] 2024-01-05 22:35:14 +01:00
c1946f2b77 automatic version update by autodist [release 3.9.3-1mamba;Tue Aug 18 2020] 2024-01-05 22:35:14 +01:00
95b5116e27 automatic version update by autodist [release 3.9.2-1mamba;Sun Jun 21 2020] 2024-01-05 22:35:14 +01:00
fccdd9ee42 automatic version update by autodist [release 3.9.1-1mamba;Fri Mar 20 2020] 2024-01-05 22:35:14 +01:00
a7f61af97f automatic version update by autodist [release 3.9.0-1mamba;Wed Dec 18 2019] 2024-01-05 22:35:14 +01:00
ffea293765 automatic version update by autodist [release 3.8.0-1mamba;Thu Dec 12 2019] 2024-01-05 22:35:14 +01:00

View File

@ -1,23 +1,21 @@
%define libname lib%{name} %define libname lib%{name}
%define gitver %(echo %version | tr . _) %define gitver %(echo %version | tr . _)
Name: fuse3 Name: fuse3
Version: 3.2.1 Version: 3.16.2
Release: 1mamba Release: 1mamba
Summary: File System in Userspace (FUSE) utilities Summary: File System in Userspace (FUSE) utilities
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://fuse.sourceforge.net URL: https://github.com/libfuse/libfuse
Source: https://github.com/libfuse/libfuse.git/fuse-%{version}/libfuse-%{version}.tar.bz2 Source: https://github.com/libfuse/libfuse.git/fuse-%{version}/libfuse-%{version}.tar.bz2
#Source1: %{name}-initscript
License: GPL, LGPL License: GPL, LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
With FUSE it is possible to implement a fully functional filesystem in a userspace program. With FUSE it is possible to implement a fully functional filesystem in a userspace program.
@ -34,6 +32,7 @@ Features include:
%package -n %{libname} %package -n %{libname}
Summary: File System in Userspace (FUSE) libraries Summary: File System in Userspace (FUSE) libraries
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname} %description -n %{libname}
Libraries for FUSE. Libraries for FUSE.
@ -45,8 +44,9 @@ Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname}-devel %description -n %{libname}-devel
Libraries for FUSE. Libraries for FUSE.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q -n libfuse-%{version} %setup -q -n libfuse-%{version}
@ -54,77 +54,38 @@ sed -i "s|^chown root|#chown root|" util/install_helper.sh
sed -i "s|mknod|#mknod|" util/install_helper.sh sed -i "s|mknod|#mknod|" util/install_helper.sh
%build %build
mkdir build %meson \
-Duseroot=false \
-Dudevrulesdir=%{_udevrulesdir}
cd build %meson_build
meson --prefix=%{_prefix} --libdir=%{_libdir} ..
ninja
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
DESTDIR=%{buildroot} ninja install -C build %meson_install
:<< _EOF rm -rf %{buildroot}/etc/init.d
# change permission to allow stripping #rm -f %{buildroot}%{_sysconfdir}/fuse.conf
chmod 0755 %{buildroot}/bin/%{name}rmount
install -D -m 755 %{S:1} \
%{buildroot}%{_sysconfdir}/init.d/%{name}
# create compatibility symlinks
install -d %{buildroot}%{_bindir}
ln -s /bin/%{name}rmount %{buildroot}%{_bindir}/%{name}rmount
ln -s /bin/ulockmgr_server %{buildroot}%{_bindir}/ulockmgr_server
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
# new install
if [ $1 -eq 1 ]; then
/sbin/chkconfig --add %{name}
service %{name} start
fi
:
%preun
# erase
if [ $1 -eq 0 ]; then
service %{name} stop
/sbin/chkconfig --del %{name}
fi
:
%postun
# upgrade
if [ $1 -eq 1 ]; then
if [ -e %{_sysconfdir}/modules.d/%{name} ]; then
rm -f %{_sysconfdir}/modules.d/%{name}
/sbin/chkconfig --add %{name}
fi
/sbin/chkconfig %{name}
[ $? -eq 0 ] && service %{name} restart
fi
:
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/init.d/fuse3 %config(noreplace) %{_sysconfdir}/fuse.conf
%{_udevrulesdir}/99-fuse3.rules %{_udevrulesdir}/99-fuse3.rules
%{_bindir}/fusermount3 %attr(4754,root,users) %{_bindir}/fusermount3
%{_sbindir}/mount.fuse3 %{_sbindir}/mount.fuse3
%{_mandir}/man1/fusermount3.1* %{_mandir}/man1/fusermount3.1*
%{_mandir}/man8/mount.fuse.8* %{_mandir}/man8/mount.fuse3.8*
%doc COPYING
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libfuse3.so.* %{_libdir}/libfuse3.so.*
%doc AUTHORS COPYING.LIB %doc AUTHORS LICENSE
%files -n %{libname}-devel %files -n %{libname}-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -135,6 +96,75 @@ fi
#%doc ChangeLog NEWS README.NFS #%doc ChangeLog NEWS README.NFS
%changelog %changelog
* Tue Oct 10 2023 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
- automatic version update by autodist
* Tue Aug 08 2023 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
- automatic version update by autodist
* Thu Jul 06 2023 Automatic Build System <autodist@mambasoft.it> 3.15.1-1mamba
- automatic version update by autodist
* Sat Jun 10 2023 Automatic Build System <autodist@mambasoft.it> 3.15.0-1mamba
- automatic version update by autodist
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
- automatic version update by autodist
* Fri Feb 17 2023 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Mon Feb 06 2023 Automatic Build System <autodist@mambasoft.it> 3.13.1-1mamba
- automatic version update by autodist
* Sat Jan 14 2023 Automatic Build System <autodist@mambasoft.it> 3.13.0-1mamba
- automatic version update by autodist
* Mon Oct 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.0-3mamba
- install fusermount3 with suid permissions
* Wed Sep 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.0-2mamba
- libfuse3: require fuse3 (fusermount3)
* Thu Sep 08 2022 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 3.11.0-1mamba
- automatic version update by autodist
* Mon Sep 06 2021 Automatic Build System <autodist@mambasoft.it> 3.10.5-1mamba
- automatic version update by autodist
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.4-1mamba
- update to 3.10.4
* Mon Apr 12 2021 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
- automatic version update by autodist
* Fri Feb 19 2021 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
- automatic version update by autodist
* Fri Dec 11 2020 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Mon Oct 12 2020 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
- automatic version update by autodist
* Tue Aug 18 2020 Automatic Build System <autodist@mambasoft.it> 3.9.3-1mamba
- automatic version update by autodist
* Sun Jun 21 2020 Automatic Build System <autodist@mambasoft.it> 3.9.2-1mamba
- automatic version update by autodist
* Fri Mar 20 2020 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
- automatic version update by autodist
* Wed Dec 18 2019 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
- automatic version update by autodist
* Thu Dec 12 2019 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Fri Jan 26 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba * Fri Jan 26 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- update to 3.2.1 - update to 3.2.1