106 lines
3.4 KiB
RPMSpec
106 lines
3.4 KiB
RPMSpec
%define davfs2_uid 63
|
|
%define davfs2_gid 63
|
|
|
|
Name: davfs2
|
|
Version: 1.5.5
|
|
Release: 1mamba
|
|
Summary: Provides the ability to access WebDAV resources like a typical filesystem
|
|
Group: Applications/Archiving
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://savannah.nongnu.org/projects/davfs2
|
|
Source: http://download.savannah.gnu.org/releases/davfs2/davfs2-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libe2fs-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libkeyutils-devel
|
|
BuildRequires: libkrb5-devel
|
|
BuildRequires: libneon-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Web Distributed Authoring and Versioning (WebDAV), an extension to the HTTP-protocol, allows authoring of resources on a remote web server. davfs2 provides the ability to access such resources like a typical filesystem, allowing for use by standard applications with no built-in support for WebDAV.
|
|
davfs2 is designed to fully integrate into the filesystem semantics of Unix-like systems (mount, umount, etc.). davfs2 makes mounting by unprivileged users as easy and secure as possible.
|
|
davfs2 does extensive caching to make the file system responsive, to avoid unnecessary network traffic and to prevent data loss, and to cope for slow or unreliable connections.
|
|
davfs2 will work with most WebDAV servers needing little or no configuration.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%pre
|
|
if [ $1 -ge 1 ]; then
|
|
/usr/sbin/groupadd -r -g %{davfs2_gid} davfs2 2> /dev/null || :
|
|
/usr/sbin/useradd -r -g %{davfs2_uid} -s /bin/false -c "Davfs2 user" -d /dev/null davfs2 2> /dev/null || :
|
|
fi
|
|
:
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ]; then
|
|
userdel davfs2 2>/dev/null || :
|
|
groupdel davfs2 2>/dev/null || :
|
|
fi
|
|
:
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%config(noreplace) %{_sysconfdir}/davfs2/davfs2.conf
|
|
%config(noreplace) %{_sysconfdir}/davfs2/secrets
|
|
/sbin/mount.davfs
|
|
/sbin/umount.davfs
|
|
%{_sbindir}/mount.davfs
|
|
%{_sbindir}/umount.davfs
|
|
%dir %{_datadir}/davfs2
|
|
%{_datadir}/davfs2/davfs2.conf
|
|
%{_datadir}/davfs2/secrets
|
|
%dir %{_datadir}/doc/davfs2
|
|
%{_datadir}/doc/davfs2/*
|
|
%{_mandir}/de/man5/davfs2.conf.5*
|
|
%{_mandir}/de/man8/mount.davfs.8*
|
|
%{_mandir}/de/man8/umount.davfs.8*
|
|
%{_mandir}/es/man5/davfs2.conf.5*
|
|
%{_mandir}/man5/davfs2.conf.5*
|
|
%{_mandir}/man8/mount.davfs.8*
|
|
%{_mandir}/man8/umount.davfs.8*
|
|
%doc AUTHORS COPYING THANKS
|
|
|
|
%changelog
|
|
* Mon Jan 28 2019 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 22 2016 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 19 2014 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Jul 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2mamba
|
|
- create davfs2 user and group
|
|
|
|
* Wed Jul 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
|
|
- package created using the webbuild interface
|