]> git.pld-linux.org Git - packages/davfs2.git/blame - davfs2.spec
- %attr(4750,root,davfs2) mount.davfs/umount.davfs
[packages/davfs2.git] / davfs2.spec
CommitLineData
506b66d5 1Summary: Web-based Distributed Authoring and Versioning - caching version
2Summary(pl.UTF-8): Bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie - wersja z cache
3Name: davfs2
72e2b419 4Version: 1.4.5
2986f5fd 5Release: 0.1
50b6e990 6License: GPL v3+
506b66d5 7Group: Networking/Utilities
a8e00ba1 8Source0: http://download.savannah.gnu.org/releases-noredirect/davfs2/%{name}-%{version}.tar.gz
72e2b419 9# Source0-md5: e209a7e663c20671afea309178eae734
506b66d5 10URL: http://savannah.nongnu.org/projects/davfs2
33c3c19a 11BuildRequires: autoconf
12BuildRequires: automake
506b66d5 13BuildRequires: neon-devel >= 0.24
14BuildRequires: openssl-devel >= 0.9.7d
15BuildRequires: rpmbuild(macros) >= 1.118
506b66d5 16Requires(postun): /usr/sbin/groupdel
17Requires(postun): /usr/sbin/userdel
18Requires(pre): /bin/id
506b66d5 19Requires(pre): /usr/sbin/groupadd
20Requires(pre): /usr/sbin/useradd
21Requires: neon >= 0.24
22Provides: group(davfs2)
23Provides: user(davfs2)
24Conflicts: davfs
506b66d5 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28WebDAV is an acronym for Web-based Distributed Authoring and Version-
29ing. Usually HTTP is a read only protocol, but if you install DAV on
30your web server, it becomes writable. Furthermore, if you use DAVfs,
31you can mount your web server onto your filesystem and can use it as a
32normal disk.
33
34This package contains the caching version of davfs.
35
36%description -l pl.UTF-8
37WebDAV to bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie.
5f817b58 38Zazwyczaj protokół HTTP jest protokołem tylko do odczytu, lecz po
39zainstalowaniu DAVa staje się on również zapisywalny. Dodatkowo DAVfs
40umożliwia montowanie serwera WWW jako systemu plików, co pozwala na
41używanie go jak normalnego dysku.
506b66d5 42
43Ten pakiet zawiera wersję davfs korzystającą z cache'u.
44
45%prep
46%setup -q
47
48%build
33c3c19a 49%{__aclocal} -I config
50%{__autoconf}
51%{__autoheader}
52%{__automake}
a8e00ba1 53%configure \
b289852b 54 --sbindir="/sbin"
506b66d5 55
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
b289852b 60install -d $RPM_BUILD_ROOT%{_var}/cache/%{name}
cefc89d8 61
3102e1e5 62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
3102e1e5 65%find_lang %{name}
506b66d5 66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%pre
3102e1e5 71%groupadd -g 242 davfs2
72%useradd -u 242 -r -d /var/cache/%{name} -s /bin/false -c "DAVfs User" -g davfs2 davfs2
506b66d5 73
74%postun
75if [ "$1" = "0" ]; then
76 %userremove davfs2
77 %groupremove davfs2
78fi
79
3102e1e5 80%files -f %{name}.lang
506b66d5 81%defattr(644,root,root,755)
3102e1e5 82%doc %{_docdir}/*
b289852b 83%{_mandir}/man5/*.5*
84%{_mandir}/man8/*.8*
85%{_datadir}/%{name}
506b66d5 86%dir %{_sysconfdir}/%{name}
87%config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}/secrets
3102e1e5 88%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
a5dc4352 89%attr(4750,root,davfs2) /sbin/mount.davfs
90%attr(4750,root,davfs2) /sbin/umount.davfs
506b66d5 91%attr(755,davfs2,davfs2) %{_var}/cache/%{name}
b289852b 92%lang(de) %{_mandir}/de/man[58]/*
93%lang(es) %{_mandir}/es/man5/*.5*
This page took 0.068867 seconds and 4 git commands to generate.