]> git.pld-linux.org Git - packages/davfs2.git/blob - davfs2.spec
c13a63abd8aa0f00bdd7d88ffbd6cb0f64c6209b
[packages/davfs2.git] / davfs2.spec
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
5 Release:        0.3
6 License:        GPL v3+
7 Group:          Networking/Utilities
8 Source0:        http://download.savannah.gnu.org/releases-noredirect/davfs2/%{name}-%{version}.tar.gz
9 URL:            http://savannah.nongnu.org/projects/davfs2
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  neon-devel >= 0.24
13 BuildRequires:  openssl-devel >= 0.9.7d
14 BuildRequires:  rpmbuild(macros) >= 1.118
15 Requires(postun):       /usr/sbin/groupdel
16 Requires(postun):       /usr/sbin/userdel
17 Requires(pre):  /bin/id
18 Requires(pre):  /usr/sbin/groupadd
19 Requires(pre):  /usr/sbin/useradd
20 Requires:       neon >= 0.24
21 Provides:       group(davfs2)
22 Provides:       user(davfs2)
23 Conflicts:      davfs
24
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.
38 Zazwyczaj protokół HTTP jest protokołem tylko do odczytu ale po
39 zainstalowaniu DAVa staje się on również zapisywalnym. Co więcej
40 jeśli używasz DAVfs to możesz montować swój serwer WWW jako
41 system plików i używać tak jak normalnego dysku.
42
43 Ten pakiet zawiera wersję davfs korzystającą z cache'u.
44
45 %prep
46 %setup -q
47
48 %build
49 %{__aclocal} -I config
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --sbindir="/sbin"
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_var}/cache/%{name}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %pre
71 %groupadd -g 242 davfs2
72 %useradd -u 242 -r -d /var/cache/%{name} -s /bin/false -c "DAVfs User" -g davfs2 davfs2
73
74 %postun
75 if [ "$1" = "0" ]; then
76         %userremove davfs2
77         %groupremove davfs2
78 fi
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc %{_docdir}/*
83 %{_mandir}/man5/*.5*
84 %{_mandir}/man8/*.8*
85 %{_datadir}/%{name}
86 %dir %{_sysconfdir}/%{name}
87 %config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}/secrets
88 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
89 %attr(755,root,root) /sbin/mount.davfs
90 %attr(755,root,root) /sbin/umount.davfs
91 %attr(755,davfs2,davfs2) %{_var}/cache/%{name}
92 %lang(de) %{_mandir}/de/man[58]/*
93 %lang(es) %{_mandir}/es/man5/*.5*
This page took 0.504222 seconds and 2 git commands to generate.