Summary: Filesystem based on the SSH File Transfer Protocol
Summary(pl.UTF-8): System plików oparty na protokole SSH File Transfer Protocol
Name: sshfs-fuse
-Version: 2.8
+Version: 3.3.1
Release: 1
License: GPL v2
Group: Applications/System
#Source0Download: https://github.com/libfuse/sshfs/releases
-Source0: https://github.com/libfuse/sshfs/releases/download/sshfs_%{version}/sshfs-%{version}.tar.gz
-# Source0-md5: 0ba25e848ee59e2595d6576c8f6284b6
+Source0: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.xz
+# Source0-md5: f261fe7ec77adc3a53f2116f3b8cb8ab
URL: https://github.com/libfuse/sshfs
BuildRequires: glib2-devel >= 2.0
-BuildRequires: libfuse-devel >= 0:2.6
+BuildRequires: libfuse3-devel >= 3.1.0
+BuildRequires: meson
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n sshfs-%{version}
%build
-%configure \
- --enable-sshnodelay
-%{__make}
+%meson build
+%meson_build -C build
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+%meson_install -C build
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog
+%doc AUTHORS ChangeLog.rst README.rst
%attr(755,root,root) %{_bindir}/sshfs
-%attr(755,root,root) %{_libdir}/sshnodelay.so
+%attr(755,root,root) %{_sbindir}/mount.sshfs
+%attr(755,root,root) %{_sbindir}/mount.fuse.sshfs
%{_mandir}/man1/sshfs.1*