]> git.pld-linux.org Git - packages/davfs2.git/blame - davfs2.spec
- changed uid/gid (and updated uid_gid_database.txt)
[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
3102e1e5 5Release: 0.2
506b66d5 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
3102e1e5 11BuildRequires: automake
506b66d5 12BuildRequires: neon-devel >= 0.24
13BuildRequires: openssl-devel >= 0.9.7d
14BuildRequires: rpmbuild(macros) >= 1.118
506b66d5 15Requires(postun): /usr/sbin/groupdel
16Requires(postun): /usr/sbin/userdel
17Requires(pre): /bin/id
18Requires(pre): /usr/bin/getgid
19Requires(pre): /usr/sbin/groupadd
20Requires(pre): /usr/sbin/useradd
21Requires: neon >= 0.24
22Provides: group(davfs2)
23Provides: user(davfs2)
24Conflicts: davfs
25
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29WebDAV is an acronym for Web-based Distributed Authoring and Version-
30ing. Usually HTTP is a read only protocol, but if you install DAV on
31your web server, it becomes writable. Furthermore, if you use DAVfs,
32you can mount your web server onto your filesystem and can use it as a
33normal disk.
34
35This package contains the caching version of davfs.
36
37%description -l pl.UTF-8
38WebDAV to bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie.
39Zazwyczaj protokół HTTP jest protokołem tylko do odczytu ale po
40zainstalowaniu DAVa staje się on również zapisywalnym. Co więcej jeśli
41używasz DAVfs to możesz montować swój serwer WWW jako system plików i
42używać tak jak normalnego dysku.
43
44Ten pakiet zawiera wersję davfs korzystającą z cache'u.
45
46%prep
47%setup -q
48
49%build
3102e1e5 50
51#%{__libtoolize}
52#%{__aclocal}
53#%{__autoconf}
54#%{__autoheader}
55#%{__automake}
56%configure --sbindir=/sbin
506b66d5 57
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
3102e1e5 63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
506b66d5 66install -d $RPM_BUILD_ROOT%{_var}/cache/%{name}
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)
85
3102e1e5 86%doc %{_docdir}/*
87
506b66d5 88%{_mandir}/man5/*
89%{_mandir}/man8/*
3102e1e5 90%{_usr}/share/%{name}/*
91
506b66d5 92%dir %{_sysconfdir}/%{name}
93%config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}/secrets
3102e1e5 94%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
506b66d5 95
3102e1e5 96%attr(755,root,root) /sbin/mount.davfs
97%attr(755,root,root) /sbin/umount.davfs
506b66d5 98%attr(755,davfs2,davfs2) %{_var}/cache/%{name}
3102e1e5 99
100%lang(de) %{_mandir}/de/man5/*
101%lang(de) %{_mandir}/de/man8/*
102
103%lang(es) %{_mandir}/es/man5/*
This page took 0.086843 seconds and 4 git commands to generate.