]> git.pld-linux.org Git - packages/davfs2.git/blob - davfs2.spec
- some changes in pl
[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.3
5 Release:        0.1
6 License:        GPL v3+
7 Group:          Networking/Utilities
8 Source0:        http://download.savannah.gnu.org/releases-noredirect/davfs2/%{name}-%{version}.tar.gz
9 # Source0-md5:  e7ed914757cf2102febc2ded56e3b043
10 URL:            http://savannah.nongnu.org/projects/davfs2
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  neon-devel >= 0.24
14 BuildRequires:  openssl-devel >= 0.9.7d
15 BuildRequires:  rpmbuild(macros) >= 1.118
16 Requires(postun):       /usr/sbin/groupdel
17 Requires(postun):       /usr/sbin/userdel
18 Requires(pre):  /bin/id
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 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, 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.
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.068805 seconds and 3 git commands to generate.