]>
Commit | Line | Data |
---|---|---|
506b66d5 | 1 | Summary: Web-based Distributed Authoring and Versioning - caching version |
2 | Summary(pl.UTF-8): Bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie - wersja z cache | |
3 | Name: davfs2 | |
72e2b419 | 4 | Version: 1.4.5 |
2986f5fd | 5 | Release: 0.1 |
50b6e990 | 6 | License: GPL v3+ |
506b66d5 | 7 | Group: Networking/Utilities |
a8e00ba1 | 8 | Source0: http://download.savannah.gnu.org/releases-noredirect/davfs2/%{name}-%{version}.tar.gz |
72e2b419 | 9 | # Source0-md5: e209a7e663c20671afea309178eae734 |
506b66d5 | 10 | URL: http://savannah.nongnu.org/projects/davfs2 |
33c3c19a | 11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
506b66d5 | 13 | BuildRequires: neon-devel >= 0.24 |
14 | BuildRequires: openssl-devel >= 0.9.7d | |
15 | BuildRequires: rpmbuild(macros) >= 1.118 | |
506b66d5 | 16 | Requires(postun): /usr/sbin/groupdel |
17 | Requires(postun): /usr/sbin/userdel | |
18 | Requires(pre): /bin/id | |
506b66d5 | 19 | Requires(pre): /usr/sbin/groupadd |
20 | Requires(pre): /usr/sbin/useradd | |
21 | Requires: neon >= 0.24 | |
22 | Provides: group(davfs2) | |
23 | Provides: user(davfs2) | |
24 | Conflicts: davfs | |
506b66d5 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | WebDAV is an acronym for Web-based Distributed Authoring and Version- | |
29 | ing. Usually HTTP is a read only protocol, but if you install DAV on | |
30 | your web server, it becomes writable. Furthermore, if you use DAVfs, | |
31 | you can mount your web server onto your filesystem and can use it as a | |
32 | normal disk. | |
33 | ||
34 | This package contains the caching version of davfs. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | WebDAV to bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie. | |
5f817b58 | 38 | Zazwyczaj protokół HTTP jest protokołem tylko do odczytu, lecz po |
39 | zainstalowaniu DAVa staje się on również zapisywalny. Dodatkowo DAVfs | |
40 | umożliwia montowanie serwera WWW jako systemu plików, co pozwala na | |
41 | używanie go jak normalnego dysku. | |
506b66d5 | 42 | |
43 | Ten 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 | |
59 | rm -rf $RPM_BUILD_ROOT | |
b289852b | 60 | install -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 | |
68 | rm -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 | |
75 | if [ "$1" = "0" ]; then | |
76 | %userremove davfs2 | |
77 | %groupremove davfs2 | |
78 | fi | |
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* |