]> git.pld-linux.org Git - packages/davfs2.git/blame - davfs2.spec
- initial
[packages/davfs2.git] / davfs2.spec
CommitLineData
506b66d5 1Summary: Web-based Distributed Authoring and Versioning - caching version
2Summary(pl.UTF-8): Bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie - wersja z cache
3Name: davfs2
4Version: 1.4.1
5Release: 0.1
6License: GPL
7Group: Networking/Utilities
8Source0: http://download.savannah.gnu.org/releases-noredirect/%{name}/%{name}-%{version}.tar.gz
9URL: http://savannah.nongnu.org/projects/davfs2
10BuildRequires: autoconf
11BuildRequires: neon-devel >= 0.24
12BuildRequires: openssl-devel >= 0.9.7d
13BuildRequires: rpmbuild(macros) >= 1.118
14Requires(post): fileutils
15Requires(post,preun): /sbin/chkconfig
16Requires(postun): /usr/sbin/groupdel
17Requires(postun): /usr/sbin/userdel
18Requires(pre): /bin/id
19Requires(pre): /usr/bin/getgid
20Requires(pre): /usr/sbin/groupadd
21Requires(pre): /usr/sbin/useradd
22Requires: neon >= 0.24
23Provides: group(davfs2)
24Provides: user(davfs2)
25Conflicts: davfs
26
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30WebDAV is an acronym for Web-based Distributed Authoring and Version-
31ing. Usually HTTP is a read only protocol, but if you install DAV on
32your web server, it becomes writable. Furthermore, if you use DAVfs,
33you can mount your web server onto your filesystem and can use it as a
34normal disk.
35
36This package contains the caching version of davfs.
37
38%description -l pl.UTF-8
39WebDAV to bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie.
40Zazwyczaj protokół HTTP jest protokołem tylko do odczytu ale po
41zainstalowaniu DAVa staje się on również zapisywalnym. Co więcej jeśli
42używasz DAVfs to możesz montować swój serwer WWW jako system plików i
43używać tak jak normalnego dysku.
44
45Ten pakiet zawiera wersję davfs korzystającą z cache'u.
46
47%prep
48%setup -q
49
50%build
51%configure
52
53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58install -d $RPM_BUILD_ROOT/sbin
59install -d $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
60install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
61install -d $RPM_BUILD_ROOT%{_var}/cache/%{name}
62
63install src/{,u}mount.davfs $RPM_BUILD_ROOT/sbin
64install etc/{davfs2.conf,secrets} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
65install man/*.5 $RPM_BUILD_ROOT%{_mandir}/man5/
66install man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8/
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%pre
72%groupadd -g 322 davfs2
73%useradd -u 322 -r -d /var/cache/%{name} -s /bin/false -c "DAVfs User" -g davfs2 davfs2
74
75%postun
76if [ "$1" = "0" ]; then
77 %userremove davfs2
78 %groupremove davfs2
79fi
80
81%files
82%defattr(644,root,root,755)
83
84%doc ABOUT-NLS COPYING INSTALL README.translators aclocal.m4 AUTHORS ChangeLog NEWS THANKS BUGS FAQ README TODO
85%{_mandir}/man5/*
86%{_mandir}/man8/*
87%dir %{_sysconfdir}/%{name}
88%config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}/secrets
89%config %{_sysconfdir}/%{name}/davfs2.conf
90
91%attr(755,root,root) /sbin/*
92%attr(755,davfs2,davfs2) %{_var}/cache/%{name}
This page took 0.496244 seconds and 4 git commands to generate.