93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
%define real_name davfs2
|
|
%define _prefix /usr
|
|
|
|
Summary: FUSE-Filesystem to access WebDAV servers
|
|
Name: fuse-davfs2
|
|
Version: 1.3.3
|
|
Release: 1
|
|
License: GPL
|
|
Group: System Environment/Kernel
|
|
Packager: Leo Eraly <leo@unstable.be>
|
|
URL: http://dav.sourceforge.net/
|
|
|
|
Source: http://dl.sf.net/dav/davfs2-%{version}.tar.gz
|
|
Source1: davfs.easy
|
|
Source2: davfs.secure
|
|
Patch: compile-error-open.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRequires: fuse-devel >= 2.2, neon-devel
|
|
Requires: fuse >= 2.2
|
|
|
|
Obsoletes: davfs2 <= %{version}
|
|
Provides: davfs2 = %{version}
|
|
|
|
%description
|
|
davfs2 is a FUSE file system driver that allows you to mount a WebDAV server
|
|
as a local file system, like a disk drive. This way applications can access
|
|
resources on a Web server without knowing anything about HTTP or WebDAV.
|
|
|
|
davfs2 runs as a daemon in userspace. It uses the kernel file system coda or
|
|
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.
|
|
|
|
%prep
|
|
%setup -n %{real_name}-%{version}
|
|
%patch -p1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static
|
|
%{__make}
|
|
|
|
%install
|
|
%{__make} install DESTDIR="%{buildroot}"
|
|
|
|
%{__mkdir} -p "%{buildroot}/%{_sysconfdir}/permissions.d"
|
|
%{__install} -D -m0644 %{SOURCE1} "%{buildroot}/%{_sysconfdir}/permissions.d/"
|
|
%{__install} -D -m0644 %{SOURCE2} "%{buildroot}/%{_sysconfdir}/permissions.d/"
|
|
|
|
%find_lang %{real_name}
|
|
|
|
|
|
### Clean up buildroot
|
|
%{__rm} -rf %{buildroot}%{_docdir}
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files -f %{real_name}.lang
|
|
%defattr(-, root, root, 0755)
|
|
%doc AUTHORS BUGS COPYING FAQ INSTALL 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*
|
|
%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/
|
|
%{_sbindir}/mount.davfs
|
|
%{_sbindir}/umount.davfs
|
|
%{_datadir}/davfs2/
|
|
%exclude %{_prefix}/share/doc/%{real_name}/*
|
|
%exclude /sbin/mount.davfs
|
|
%exclude /sbin/umount.davfs
|
|
|
|
%changelog
|
|
* 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)
|