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