From 5a5362e8b4c3b8e6eef6bc79331c16dd4d4bb12b Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 15 Feb 2008 23:27:26 +0000 Subject: [PATCH] - updated to 2.2.47 - added pl.po-update patch Changed files: acl.spec -> 1.86 --- acl.spec | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/acl.spec b/acl.spec index f0a5fe5..c036b8e 100644 --- a/acl.spec +++ b/acl.spec @@ -1,15 +1,16 @@ Summary: Command and library for manipulating access control lists Summary(pl.UTF-8): Polecenie i biblioteka do manipulacji listami kontroli dostępu (ACL) Name: acl -Version: 2.2.45 -Release: 2 +Version: 2.2.47 +Release: 1 License: LGPL v2+ (library), GPL v2 (utilities) Group: Applications/System Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz -# Source0-md5: 6c33d0ff98c6294eccfd737da8ef2501 +# Source0-md5: a11e4571a54a0b1ae83010d1e68a64c2 Patch0: %{name}-miscfix.patch Patch1: %{name}-lt.patch Patch2: %{name}-LDFLAGS.patch +Patch3: %{name}-pl.po-update.patch URL: http://oss.sgi.com/projects/xfs/ BuildRequires: attr-devel >= 2.4.16-3 BuildRequires: autoconf @@ -64,6 +65,7 @@ Statyczna biblioteka acl. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 rm -f aclocal.m4 @@ -107,14 +109,17 @@ echo ".so acl_get_file.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_file.3 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_short_text.3 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_text.3 -rm -f $RPM_BUILD_ROOT%{_libexecdir}/lib*.so -ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT%{_libdir}; echo libacl.so.*.*.*) \ +#rm -f $RPM_BUILD_ROOT%{_libexecdir}/lib*.so +ln -snf %{_libdir}/$(basename $RPM_BUILD_ROOT%{_libdir}/libacl.so.*.*.*) \ $RPM_BUILD_ROOT%{_libexecdir}/libacl.so %{__sed} -i "s|libdir='%{_libdir}'|libdir='%{_libexecdir}'|" \ $RPM_BUILD_ROOT%{_libexecdir}/libacl.la rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} +# already in /usr +rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.{so,la,a} + %find_lang %{name} %clean @@ -126,9 +131,15 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc README doc/{CHANGES,TODO} -%attr(755,root,root) %{_bindir}/* -%attr(755,root,root) %{_libdir}/libacl.so.*.* -%{_mandir}/man[15]/* +%attr(755,root,root) %{_bindir}/chacl +%attr(755,root,root) %{_bindir}/getfacl +%attr(755,root,root) %{_bindir}/setfacl +%attr(755,root,root) %{_libdir}/libacl.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libacl.so.1 +%{_mandir}/man1/chacl.1* +%{_mandir}/man1/getfacl.1* +%{_mandir}/man1/setfacl.1* +%{_mandir}/man5/acl.5* %files devel %defattr(644,root,root,755) @@ -136,8 +147,8 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libexecdir}/libacl.so %{_libexecdir}/libacl.la %{_includedir}/acl -%{_includedir}/sys/* -%{_mandir}/man[23]/* +%{_includedir}/sys/acl.h +%{_mandir}/man3/acl_*.3* %files static %defattr(644,root,root,755) -- 2.43.0