sshfs/sshfs.spec

86 lines
2.7 KiB
RPMSpec

Name: sshfs
Version: 2.8
Release: 1mamba
Summary: A filesystem client based on the SSH File Transfer Protocol
Group: System/Kernel and Hardware/Drivers
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://fuse.sourceforge.net/sshfs.html
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
BuildRequires: libglib-devel
BuildRequires: help2man
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SSHFS is a 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.
The idea of sshfs was taken from the SSHFS filesystem distributed with LUFS, which I found very useful.
There were some limitations of that codebase, so I rewrote it.
Features of this implementation are:
* Based on FUSE (the best userspace filesystem framework for linux ;-)
* Multithreading: more than one request can be on it's way to the server
* Allowing large reads (max 64k)
* Caching directory contents
%prep
%setup -q
%patch
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
%build
autoreconf -fi
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -m 755 %{S:1} .
install -d %{buildroot}/%{_mandir}/man8
help2man ./%{name}-help2man > %{buildroot}/%{_mandir}/man8/%{name}.8
gzip %{buildroot}/%{_mandir}/man8/%{name}.8
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/%{name}
#%{_libdir}/*.so
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man8/%{name}.8.gz
%doc AUTHORS COPYING
#ChangeLog FAQ.txt NEWS README
%changelog
* Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8-1mamba
- update to 2.8
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7-1mamba
- update to 2.7
* Thu Jan 16 2014 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
- automatic version update by autodist
* Thu Jan 31 2013 Automatic Build System <autodist@mambasoft.it> 2.4-1mamba
- automatic version update by autodist
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-1mamba
- automatic update by autodist
* Fri Jun 01 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8-1mamba
- update to 1.8
* Thu May 03 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.7-1mamba
- package created by autospec
- added man page