]> git.pld-linux.org Git - packages/acl.git/blobdiff - acl.spec
- 2.0.18, STBR
[packages/acl.git] / acl.spec
index fdba0ef897112fc4c4491aa95f97cd6006b84594..8e03c28b2a161329b16ce9e81a7c427a93a49af7 100644 (file)
--- a/acl.spec
+++ b/acl.spec
@@ -1,7 +1,7 @@
 Summary:       Command for manipulating access control lists
 Summary(pl):   Komenda do manipulacji listami kontroli dostêpu (ACL)
 Name:          acl
-Version:       2.0.11
+Version:       2.0.18
 Release:       1
 License:       GPL
 Group:         Applications/System
@@ -13,6 +13,10 @@ BuildRequires:       attr-devel >= 2.0.0
 Requires:      attr
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _bindir         /bin
+%define                _libdir         /lib
+%define                _libexecdir     /usr/lib
+
 %description
 A command (chacl) to manipulate POSIX access control lists under
 Linux.
@@ -22,17 +26,30 @@ Komenda (chacl) do manipulowania zgodnymi z POSIX listami kontroli
 dostêpu (ACL) pod Linuksem.
 
 %package devel
-Summary:       Header files and libraries to manipulate acls
-Summary(pl):   Pliki nag³ówkowe i biblioteki do manipulacji ACL-ami
+Summary:       Header files for acl library
+Summary(pl):   Pliki nag³ówkowe biblioteki acl
 Group:         Development/Libraries
+Requires:      %{name} = %{version}
 
 %description devel
-Header files and libraries to develop software which manipulate access
-control lists.
+Header files to develop software which manipulate access control
+lists.
 
 %description devel -l pl
-Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
-manipuluj±cego listami kontroli dostêpu (ACL).
+Pliki nag³ówkowe potrzebne do rozwoju oprogramowania manipuluj±cego
+listami kontroli dostêpu (ACL).
+
+%package static
+Summary:       Static acl library
+Summary(pl):   Statyczna biblioteka acl
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static acl library.
+
+%description static -l pl
+Statyczna biblioteka acl.
 
 %prep
 %setup  -q
@@ -58,7 +75,6 @@ export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
 %{__make} install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
 
-
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
 rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3
 rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3
@@ -68,27 +84,30 @@ 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%{_libdir}/lib*.so
-ln -sf /lib/libacl.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libacl.so
+rm -f $RPM_BUILD_ROOT%{_libexecdir}/lib*.so
+ln -sf %{_libdir}/libacl.so.1.0.2 $RPM_BUILD_ROOT%{_libexecdir}/libacl.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc doc/CHANGES
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) /lib/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.a
+%attr(755,root,root) %{_libexecdir}/lib*.la
+%attr(755,root,root) %{_libexecdir}/lib*.so
 %{_includedir}/acl
 %{_includedir}/sys/*
 %{_mandir}/man[235]/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libexecdir}/lib*.a
This page took 0.15878 seconds and 4 git commands to generate.