X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=davfs2.spec;h=27d07ae4c092cadacb58f768e6edd54f7fce82b9;hb=2986f5fdbcb6f49e47c2a2e54772ad6fc213f1e5;hp=218a4abcf3b77b2efb77e6b48348902f67e7733a;hpb=3102e1e5fda3b93e08716c1ab9d345eb8b38e381;p=packages%2Fdavfs2.git diff --git a/davfs2.spec b/davfs2.spec index 218a4ab..27d07ae 100644 --- a/davfs2.spec +++ b/davfs2.spec @@ -1,11 +1,12 @@ Summary: Web-based Distributed Authoring and Versioning - caching version Summary(pl.UTF-8): Bazujące na WWW Rozproszone Autoryzowanie i Wersjonowanie - wersja z cache Name: davfs2 -Version: 1.4.1 -Release: 0.2 -License: GPL +Version: 1.4.3 +Release: 0.1 +License: GPL v3+ Group: Networking/Utilities -Source0: http://download.savannah.gnu.org/releases-noredirect/%{name}/%{name}-%{version}.tar.gz +Source0: http://download.savannah.gnu.org/releases-noredirect/davfs2/%{name}-%{version}.tar.gz +# Source0-md5: e7ed914757cf2102febc2ded56e3b043 URL: http://savannah.nongnu.org/projects/davfs2 BuildRequires: autoconf BuildRequires: automake @@ -15,14 +16,12 @@ BuildRequires: rpmbuild(macros) >= 1.118 Requires(postun): /usr/sbin/groupdel Requires(postun): /usr/sbin/userdel Requires(pre): /bin/id -Requires(pre): /usr/bin/getgid Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd Requires: neon >= 0.24 Provides: group(davfs2) Provides: user(davfs2) Conflicts: davfs - BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -47,24 +46,22 @@ Ten pakiet zawiera wersję davfs korzystającą z cache'u. %setup -q %build - -#%{__libtoolize} -#%{__aclocal} -#%{__autoconf} -#%{__autoheader} -#%{__automake} -%configure --sbindir=/sbin +%{__aclocal} -I config +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --sbindir="/sbin" %{__make} %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_var}/cache/%{name} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_var}/cache/%{name} - %find_lang %{name} %clean @@ -82,22 +79,15 @@ fi %files -f %{name}.lang %defattr(644,root,root,755) - %doc %{_docdir}/* - -%{_mandir}/man5/* -%{_mandir}/man8/* -%{_usr}/share/%{name}/* - +%{_mandir}/man5/*.5* +%{_mandir}/man8/*.8* +%{_datadir}/%{name} %dir %{_sysconfdir}/%{name} %config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}/secrets %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf - %attr(755,root,root) /sbin/mount.davfs %attr(755,root,root) /sbin/umount.davfs %attr(755,davfs2,davfs2) %{_var}/cache/%{name} - -%lang(de) %{_mandir}/de/man5/* -%lang(de) %{_mandir}/de/man8/* - -%lang(es) %{_mandir}/es/man5/* +%lang(de) %{_mandir}/de/man[58]/* +%lang(es) %{_mandir}/es/man5/*.5*