Compare commits
8 Commits
3.10.0-1ma
...
3.12.0-2ma
Author | SHA1 | Date | |
---|---|---|---|
6e0daa1b69 | |||
008e785508 | |||
28c9fa4130 | |||
8c982710a4 | |||
8dfbe69124 | |||
bb1f157e24 | |||
59e2b2bc6d | |||
52adbd395b |
81
fuse3.spec
81
fuse3.spec
@ -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.10.0
|
Version: 3.12.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
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,57 +54,28 @@ 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 \
|
||||||
|
|
||||||
cd build
|
|
||||||
meson --prefix=%{_prefix} --libdir=%{_libdir} .. \
|
|
||||||
-Duseroot=false \
|
-Duseroot=false \
|
||||||
-Dudevrulesdir=%{_udevrulesdir}
|
-Dudevrulesdir=%{_udevrulesdir}
|
||||||
|
|
||||||
ninja
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
DESTDIR=%{buildroot} ninja install -C build
|
%meson_install
|
||||||
|
|
||||||
|
rm -rf %{buildroot}/etc/init.d
|
||||||
|
rm -f %{buildroot}%{_sysconfdir}/fuse.conf
|
||||||
|
|
||||||
%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)
|
||||||
%config(noreplace) %{_sysconfdir}/fuse.conf
|
#%config(noreplace) %{_sysconfdir}/fuse.conf
|
||||||
%{_sysconfdir}/init.d/fuse3
|
|
||||||
%{_udevrulesdir}/99-fuse3.rules
|
%{_udevrulesdir}/99-fuse3.rules
|
||||||
%{_bindir}/fusermount3
|
%{_bindir}/fusermount3
|
||||||
%{_sbindir}/mount.fuse3
|
%{_sbindir}/mount.fuse3
|
||||||
@ -125,6 +96,30 @@ fi
|
|||||||
#%doc ChangeLog NEWS README.NFS
|
#%doc ChangeLog NEWS README.NFS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Mon Oct 12 2020 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user