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