]>
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 | |
4 | Version: 1.4.1 | |
a8e00ba1 | 5 | Release: 0.3 |
506b66d5 | 6 | License: GPL |
7 | Group: Networking/Utilities | |
a8e00ba1 | 8 | Source0: http://download.savannah.gnu.org/releases-noredirect/davfs2/%{name}-%{version}.tar.gz |
506b66d5 | 9 | URL: http://savannah.nongnu.org/projects/davfs2 |
a8e00ba1 | 10 | #BuildRequires: autoconf |
11 | #BuildRequires: automake | |
506b66d5 | 12 | BuildRequires: neon-devel >= 0.24 |
13 | BuildRequires: openssl-devel >= 0.9.7d | |
14 | BuildRequires: rpmbuild(macros) >= 1.118 | |
506b66d5 | 15 | Requires(postun): /usr/sbin/groupdel |
16 | Requires(postun): /usr/sbin/userdel | |
17 | Requires(pre): /bin/id | |
18 | Requires(pre): /usr/bin/getgid | |
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 | |
25 | ||
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | WebDAV is an acronym for Web-based Distributed Authoring and Version- | |
30 | ing. Usually HTTP is a read only protocol, but if you install DAV on | |
31 | your web server, it becomes writable. Furthermore, if you use DAVfs, | |
32 | you can mount your web server onto your filesystem and can use it as a | |
33 | normal disk. | |
34 | ||
35 | This package contains the caching version of davfs. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | WebDAV to bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie. | |
39 | Zazwyczaj protokół HTTP jest protokołem tylko do odczytu ale po | |
a8e00ba1 | 40 | zainstalowaniu DAVa staje się on również zapisywalnym. Co więcej |
41 | jeśli używasz DAVfs to możesz montować swój serwer WWW jako | |
42 | system plików i używać tak jak normalnego dysku. | |
506b66d5 | 43 | |
44 | Ten pakiet zawiera wersję davfs korzystającą z cache'u. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
3102e1e5 | 50 | |
51 | #%{__libtoolize} | |
52 | #%{__aclocal} | |
53 | #%{__autoconf} | |
54 | #%{__autoheader} | |
55 | #%{__automake} | |
a8e00ba1 | 56 | %configure \ |
57 | --sbindir=/sbin \ | |
506b66d5 | 58 | |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
cefc89d8 | 63 | |
3102e1e5 | 64 | %{__make} install \ |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
506b66d5 | 67 | install -d $RPM_BUILD_ROOT%{_var}/cache/%{name} |
cefc89d8 | 68 | |
3102e1e5 | 69 | %find_lang %{name} |
506b66d5 | 70 | |
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %pre | |
3102e1e5 | 75 | %groupadd -g 242 davfs2 |
76 | %useradd -u 242 -r -d /var/cache/%{name} -s /bin/false -c "DAVfs User" -g davfs2 davfs2 | |
506b66d5 | 77 | |
78 | %postun | |
79 | if [ "$1" = "0" ]; then | |
80 | %userremove davfs2 | |
81 | %groupremove davfs2 | |
82 | fi | |
83 | ||
3102e1e5 | 84 | %files -f %{name}.lang |
506b66d5 | 85 | %defattr(644,root,root,755) |
3102e1e5 | 86 | %doc %{_docdir}/* |
506b66d5 | 87 | %{_mandir}/man5/* |
88 | %{_mandir}/man8/* | |
3102e1e5 | 89 | %{_usr}/share/%{name}/* |
506b66d5 | 90 | %dir %{_sysconfdir}/%{name} |
91 | %config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}/secrets | |
3102e1e5 | 92 | %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf |
3102e1e5 | 93 | %attr(755,root,root) /sbin/mount.davfs |
94 | %attr(755,root,root) /sbin/umount.davfs | |
506b66d5 | 95 | %attr(755,davfs2,davfs2) %{_var}/cache/%{name} |
3102e1e5 | 96 | %lang(de) %{_mandir}/de/man5/* |
97 | %lang(de) %{_mandir}/de/man8/* | |
3102e1e5 | 98 | %lang(es) %{_mandir}/es/man5/* |