]> git.pld-linux.org Git - packages/acl.git/blobdiff - acl.spec
- moved acl(5) man to base (useful for users), release 2
[packages/acl.git] / acl.spec
index 8e03c28b2a161329b16ce9e81a7c427a93a49af7..e3b6171d4d92efafec813ac6e376c427a9472d06 100644 (file)
--- a/acl.spec
+++ b/acl.spec
@@ -1,15 +1,15 @@
 Summary:       Command for manipulating access control lists
 Summary(pl):   Komenda do manipulacji listami kontroli dostêpu (ACL)
 Name:          acl
-Version:       2.0.18
-Release:       1
-License:       GPL
+Version:       2.2.7
+Release:       2
+License:       GPL v2 (chacl utility), LGPL v2+ (library and the rest)
 Group:         Applications/System
 Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
 Patch0:                %{name}-miscfix.patch
 URL:           http://oss.sgi.com/projects/xfs/
 BuildRequires: autoconf
-BuildRequires: attr-devel >= 2.0.0
+BuildRequires: attr-devel >= 2.4.1
 Requires:      attr
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -85,7 +85,10 @@ 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}/libacl.so.1.0.2 $RPM_BUILD_ROOT%{_libexecdir}/libacl.so
+ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT/lib ; echo libacl.so.*.*.*) \
+       $RPM_BUILD_ROOT%{_libexecdir}/libacl.so
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -93,20 +96,21 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc doc/CHANGES
+%doc README doc/{CHANGES,TODO}
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_mandir}/man1/*
+%{_mandir}/man[15]/*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libexecdir}/lib*.la
+%doc doc/{extensions.txt,libacl.txt}
 %attr(755,root,root) %{_libexecdir}/lib*.so
+%{_libexecdir}/lib*.la
 %{_includedir}/acl
 %{_includedir}/sys/*
-%{_mandir}/man[235]/*
+%{_mandir}/man[23]/*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.131066 seconds and 4 git commands to generate.