add source and spec
This commit is contained in:
parent
68f18d981e
commit
bd3426b203
49
fuse-sshfs.spec
Normal file
49
fuse-sshfs.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: fuse-sshfs
|
||||
Version: 3.7.1
|
||||
Release: 1
|
||||
Summary: FUSE-Filesystem to access remote filesystems via SSH
|
||||
License: GPLv2
|
||||
URL: https://github.com/libfuse/sshfs
|
||||
Source0: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.xz
|
||||
Source1: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.xz.asc
|
||||
Patch1: sshfs-0001-Refer-to-mount.fuse3-instead-of-mount.fuse.patch
|
||||
Provides: sshfs = %{version}-%{release}
|
||||
Requires: fuse3 >= 3.1.0
|
||||
Requires: openssh-clients
|
||||
BuildRequires: gcc meson fuse3
|
||||
BuildRequires: fuse3-devel >= 3.1.0 glib2-devel >= 2.0
|
||||
BuildRequires: openssh-clients python3-docutils python3-pytest
|
||||
|
||||
%description
|
||||
This is a FUSE-filesystem client based on the SSH File Transfer Protocol.
|
||||
Since most SSH servers already support this protocol it is very easy to set
|
||||
up: i.e. on the server side there's nothing to do. On the client side
|
||||
mounting the filesystem is as easy as logging into the server with ssh.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n sshfs-%{version}
|
||||
# fix tests
|
||||
sed -i "s/'fusermount'/'fusermount3'/g" test/util.py
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
cd %{_vpath_builddir}
|
||||
python3 -m pytest test/
|
||||
|
||||
%files
|
||||
%doc AUTHORS README.rst ChangeLog.rst
|
||||
%license COPYING
|
||||
%{_bindir}/sshfs
|
||||
%{_sbindir}/mount.sshfs
|
||||
%{_sbindir}/mount.fuse.sshfs
|
||||
%{_mandir}/man1/sshfs.1.gz
|
||||
|
||||
%changelog
|
||||
* Wed Jan 26 2022 fushanqing <fushanqing@kylinos.cn> - 3.7.1-1
|
||||
- Initial package
|
||||
12
sshfs-0001-Refer-to-mount.fuse3-instead-of-mount.fuse.patch
Normal file
12
sshfs-0001-Refer-to-mount.fuse3-instead-of-mount.fuse.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNdr a/sshfs.rst b/sshfs.rst
|
||||
--- a/sshfs.rst 2020-11-13 08:24:56.924277909 +0300
|
||||
+++ b/sshfs.rst 2020-11-13 08:25:23.828781781 +0300
|
||||
@@ -230,7 +230,7 @@
|
||||
used, and the *buflimit* workaround is not supported.
|
||||
|
||||
In addition, SSHFS accepts several options common to all FUSE file
|
||||
-systems. These are described in the `mount.fuse` manpage (look
|
||||
+systems. These are described in the `mount.fuse3` manpage (look
|
||||
for "general", "libfuse specific", and "high-level API" options).
|
||||
|
||||
Caveats / Workarounds
|
||||
BIN
sshfs-3.7.1.tar.xz
Normal file
BIN
sshfs-3.7.1.tar.xz
Normal file
Binary file not shown.
19
sshfs-3.7.1.tar.xz.asc
Normal file
19
sshfs-3.7.1.tar.xz.asc
Normal file
@ -0,0 +1,19 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQK3BAABCgChFiEE7TF5GyxcFhOvOIuK0RP8rDxOWZ8FAl+pEVVfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVE
|
||||
MzE3OTFCMkM1QzE2MTNBRjM4OEI4QUQxMTNGQ0FDM0M0RTU5OUYjGmh0dHA6Ly93
|
||||
d3cucmF0aC5vcmcvZ3BncG9saWN5Lmh0bWwACgkQ0RP8rDxOWZ+2bxAA1D4otmjL
|
||||
p023nCq2uwBABJOIL3kVBTADtWcgTKt0gM+N+l+GLJwIOnDQdqBXA8W7lwYQzQOh
|
||||
mtp/m9MziGJRQ1ZXhUmqYMOU93KtQvfGLCnwLFBf3QEsnStMiH63qb/QrdNaeJ33
|
||||
xKltxupks7cDYvCs82RzGvhk0ouIDpmnq+X7jm6NCZSUFpXTaOuJbrssaeEQfABl
|
||||
NJcyM7FQZDwD8PFCnq0G038d00YNB2uA935o31Yzi8st5kiIRVmB+6PSMuYVkVyB
|
||||
DHNJ8N5kcpUrTwph10zTKsQLrYqrsQzlGMunF6LbATLgqkiXE2vkeC2HyLVWBqTK
|
||||
hYe4LONykxVVOAEYd+vu9t8kaYCpKA2XlqriyHYTn7GZakRbIq6i9qwxIAEQgtdB
|
||||
7WebksO/4D35+izaAJuTxX4WtoOzsmp3kaA1nmf5onK6jmds4jZZHSnHFjiUJbWF
|
||||
RN+3WSIxN/cFNC0xRxXfL4T3+rmWSma8uQJxrYaDcM28SVxWYPvu2Pni9i3tZ0b3
|
||||
9pXQDSfopT4+jq9/6QfQSGcWRQG34RfbzRw25CZcrfTacRnPRoR9EuYlYl0q8o64
|
||||
UXDIibBUjNTgK3QEV00em/jkPqf3QMu0Nt2PUE2WVgaQ5YnuFjopCug6n+MuEfya
|
||||
df+dXb2Q8U98Ukpwbg7kF66DlLm2FwHxaQg=
|
||||
=kFfn
|
||||
-----END PGP SIGNATURE-----
|
||||
Loading…
x
Reference in New Issue
Block a user