diff --git a/sshfs.spec b/sshfs.spec index 27fa562..f50afe7 100644 --- a/sshfs.spec +++ b/sshfs.spec @@ -1,5 +1,5 @@ Name: sshfs -Version: 2.8 +Version: 3.7.0 Release: 1mamba Summary: A filesystem client based on the SSH File Transfer Protocol Group: System/Kernel and Hardware/Drivers @@ -7,12 +7,16 @@ Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://fuse.sourceforge.net/sshfs.html -Source: https://github.com/libfuse/sshfs.git/sshfs_%{version}/sshfs-%{version}.tar.bz2 +Source: https://github.com/libfuse/sshfs.git/sshfs-%{version}/sshfs-%{version}.tar.bz2 Source1: %{name}-help2man Patch: %{name}-1.8-cflags.patch License: GPL -BuildRequires: libfuse-devel +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libfuse3-devel BuildRequires: libglib-devel +## AUTOBUILDREQ-END BuildRequires: help2man BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -30,24 +34,21 @@ Features of this implementation are: * Allowing large reads (max 64k) * Caching directory contents +%debug_package + %prep %setup -q -%patch -sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac %build -autoreconf -fi -%configure -%make +%meson + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install -install -m 755 %{S:1} . -install -d %{buildroot}/%{_mandir}/man8 -help2man ./%{name}-help2man > %{buildroot}/%{_mandir}/man8/%{name}.8 -gzip %{buildroot}/%{_mandir}/man8/%{name}.8 +mv %{buildroot}%{_sbindir} %{buildroot} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -55,13 +56,16 @@ gzip %{buildroot}/%{_mandir}/man8/%{name}.8 %files %defattr(-,root,root) %{_bindir}/%{name} -#%{_libdir}/*.so -%{_mandir}/man1/%{name}.1.gz -%{_mandir}/man8/%{name}.8.gz +/sbin/mount.fuse.sshfs +/sbin/mount.sshfs +%{_mandir}/man1/%{name}.1* %doc AUTHORS COPYING #ChangeLog FAQ.txt NEWS README %changelog +* Mon May 11 2020 Silvan Calarco 3.7.0-1mamba +- update to 3.7.0 + * Wed Dec 14 2016 Silvan Calarco 2.8-1mamba - update to 2.8