1.4.6
OBS-URL: https://build.opensuse.org/package/show/filesystems/davfs2?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
1fe0d29dbc
commit
1e7d3a5045
103
davfs2.spec
103
davfs2.spec
@@ -1,23 +1,26 @@
|
||||
Summary: FUSE-Filesystem to access WebDAV servers
|
||||
Name: davfs2
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
License: GNU General Public License version 3 (GPL v3)
|
||||
Group: System/Filesystems
|
||||
URL: http://savannah.nongnu.org/projects/davfs2
|
||||
# vim: set ts=4 sw=4 et:
|
||||
|
||||
Summary: FUSE-Filesystem to access WebDAV servers
|
||||
Name: davfs2
|
||||
Version: 1.4.6
|
||||
Release: 0
|
||||
License: GNU General Public License version 3 (GPL v3)
|
||||
Group: System/Filesystems
|
||||
URL: http://savannah.nongnu.org/projects/davfs2
|
||||
# http://mirrors.zerg.biz/nongnu/davfs2/davfs2-%{version}.tar.gz
|
||||
Source: davfs2-%{version}.tar.bz2
|
||||
Source1: davfs.easy
|
||||
Source2: davfs.secure
|
||||
Patch1: /davfs2-fix_missing_exit_failure.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: fuse-devel >= 2.2, neon-devel
|
||||
BuildRequires: pwdutils
|
||||
Requires: fuse >= 2.2
|
||||
Obsoletes: fuse-davfs2 <= %{version}
|
||||
Provides: fuse-davfs2 = %{version}
|
||||
PreReq: /usr/sbin/groupadd
|
||||
PreReq: /usr/sbin/useradd
|
||||
Source: davfs2-%{version}.tar.bz2
|
||||
Source1: davfs.easy
|
||||
Source2: davfs.secure
|
||||
Source99: %{name}-rpmlintrc
|
||||
Patch1: davfs2-fix_missing_exit_failure.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: fuse-devel >= 2.2, neon-devel
|
||||
BuildRequires: pwdutils
|
||||
Requires: fuse >= 2.2
|
||||
Obsoletes: fuse-davfs2 < %{version}
|
||||
Provides: fuse-davfs2 = %{version}
|
||||
PreReq: /usr/sbin/groupadd
|
||||
PreReq: /usr/sbin/useradd
|
||||
|
||||
%description
|
||||
davfs2 is a FUSE file system driver that allows you to mount a WebDAV server
|
||||
@@ -29,13 +32,17 @@ fuse. Most propably your Linux kernel includes at least one of this file
|
||||
systems. To connect to the WebDAV server it makes use of the neon library.
|
||||
Neon supports TLS/SSL (using OpenSSL or GnuTLS) and access via proxy server.
|
||||
|
||||
%debug_package
|
||||
%prep
|
||||
%setup -q -n "davfs2-%{version}"
|
||||
%patch1
|
||||
|
||||
%build
|
||||
ssbindir="%{_sbindir}" \
|
||||
%configure --disable-static --enable-largefile
|
||||
dav_user="davfs2" \
|
||||
dav_group="davfs2" \
|
||||
%configure \
|
||||
--disable-static
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
@@ -47,13 +54,21 @@ ssbindir="%{_sbindir}" \
|
||||
|
||||
%__install -d "%{buildroot}/var/cache/davfs2"
|
||||
|
||||
# fix symlinks
|
||||
pushd "%{buildroot}/sbin"
|
||||
for x in mount umount; do
|
||||
%__rm "${x}.davfs"
|
||||
%__ln_s "..%{_sbindir}/${x}.davfs" .
|
||||
done
|
||||
popd
|
||||
|
||||
%find_lang davfs2
|
||||
|
||||
### Clean up buildroot
|
||||
%__rm -rf "%{buildroot}%{_docdir}"
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%pre
|
||||
/usr/bin/getent group davfs2 >/dev/null 2>&1 || /usr/sbin/groupadd -r davfs2
|
||||
@@ -65,48 +80,22 @@ ssbindir="%{_sbindir}" \
|
||||
%files -f davfs2.lang
|
||||
%defattr(-, root, root, 0755)
|
||||
%doc AUTHORS BUGS COPYING FAQ NEWS README* THANKS TODO etc/davfs2.conf etc/secrets
|
||||
%dir %{_sysconfdir}/davfs2/
|
||||
%doc %{_mandir}/man5/davfs2.conf.5*
|
||||
%doc %{_mandir}/man8/mount.davfs.8*
|
||||
%doc %{_mandir}/man8/umount.davfs.8*
|
||||
%doc %{_mandir}/*/man5/davfs2.conf.5*
|
||||
%doc %{_mandir}/*/man8/mount.davfs.8*
|
||||
%doc %{_mandir}/*/man8/umount.davfs.8*
|
||||
%dir %{_sysconfdir}/davfs2
|
||||
%doc %{_mandir}/man5/davfs2.conf.5%{ext_man}
|
||||
%doc %{_mandir}/man8/mount.davfs.8%{ext_man}
|
||||
%doc %{_mandir}/man8/umount.davfs.8%{ext_man}
|
||||
%doc %{_mandir}/*/man5/davfs2.conf.5%{ext_man}
|
||||
%doc %{_mandir}/*/man8/mount.davfs.8%{ext_man}
|
||||
%doc %{_mandir}/*/man8/umount.davfs.8%{ext_man}
|
||||
%config(noreplace) %{_sysconfdir}/permissions.d/davfs.easy
|
||||
%config(noreplace) %{_sysconfdir}/permissions.d/davfs.secure
|
||||
%config(noreplace) %{_sysconfdir}/davfs2/davfs2.conf
|
||||
%config %{_sysconfdir}/davfs2/secrets
|
||||
%config %{_sysconfdir}/davfs2/certs/
|
||||
%attr(4755, root, root) %{_sbindir}/mount.davfs
|
||||
%attr(4755,root,root) %{_sbindir}/mount.davfs
|
||||
%{_sbindir}/umount.davfs
|
||||
%{_datadir}/davfs2
|
||||
%attr(0750, davfs2, davfs2) /var/cache/davfs2
|
||||
%exclude /sbin/mount.davfs
|
||||
%exclude /sbin/umount.davfs
|
||||
/sbin/mount.davfs
|
||||
/sbin/umount.davfs
|
||||
|
||||
%changelog
|
||||
* Mon Jun 22 2009 Pascal Bleser <pascal.bleser@opensuse.org> - 1.4.1
|
||||
- update to 1.4.1:
|
||||
* experimental support was added for the non-standard method USERINFO, which allows this release to get information about available and used Web space from the server
|
||||
* failed file upload attempts are now repeated at increasing time intervals
|
||||
* if a davfs filesystem is unmounted at disconnect, local changes are cached and submitted at the next mount
|
||||
* many other minor improvements and bugfixes were made
|
||||
|
||||
* Fri May 29 2009 Pascal Bleser <pascal.bleser@opensuse.org> - 1.4.0
|
||||
- copied into filesystems repository in openSUSE Build Service, original in home:leo_eraly
|
||||
- fix license tag
|
||||
- added %%post script to create davfs2 group and user
|
||||
- moved to Savannah
|
||||
- some spec file tidying
|
||||
- update to 1.4.0
|
||||
|
||||
* Wed Jan 14 2009 Leo Eraly <leo@unstable.be> - 1.3.3-1
|
||||
- Update to release
|
||||
- Added permissions file (fixes rpmlint error)
|
||||
|
||||
* Wed Dec 05 2007 Leo Eraly <leo@unstable.be> - 1.2.2-2
|
||||
- Fixed Obsoletes and Provides to fix
|
||||
https://bugzilla.novell.com/show_bug.cgi?id=332076
|
||||
|
||||
* Wed Jul 12 2007 Leo Eraly <leo@unstable.be> - 1.2.2-1
|
||||
- Initial package. (based on dag's spec)
|
||||
|
Reference in New Issue
Block a user