]> git.pld-linux.org Git - packages/acl.git/blobdiff - acl.spec
- removed obsolete pl.po (merged); strict internal deps
[packages/acl.git] / acl.spec
index 722a04900cb8f5df0b8c126631f5fc9af8153fd1..2b3b616c56bc46e54827b7e6a64d437e2be9cbfc 100644 (file)
--- a/acl.spec
+++ b/acl.spec
@@ -1,36 +1,39 @@
-Summary:       Command for manipulating access control lists
-Summary(pl):   Komenda do manipulacji listami kontroli dostêpu (ACL)
+Summary:       Command and library for manipulating access control lists
+Summary(pl):   Polecenie i biblioteka do manipulacji listami kontroli dostêpu (ACL)
 Name:          acl
-Version:       2.2.7
-Release:       2
+Version:       2.2.23
+Release:       1
 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
-# Source0-md5: 44cd87acbb1983c8df2bf94b3660e86e
+# Source0-md5: 7e13778c38addfcdabf2cef291b78bcc
 Patch0:                %{name}-miscfix.patch
 URL:           http://oss.sgi.com/projects/xfs/
+BuildRequires: attr-devel >= 2.4.15
 BuildRequires: autoconf
-BuildRequires: attr-devel >= 2.4.1
-Requires:      attr
+BuildRequires: automake
+BuildRequires: gettext-devel
+Requires:      attr >= 2.4.15
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _bindir         /bin
-%define                _libdir         /lib
-%define                _libexecdir     /usr/lib
+%define                _libdir         /%{_lib}
+%define                _libexecdir     /usr/%{_lib}
 
 %description
-A command (chacl) to manipulate POSIX access control lists under
-Linux.
+A command (chacl) and a library (libacl) to manipulate POSIX access
+control lists under Linux.
 
 %description -l pl
-Komenda (chacl) do manipulowania zgodnymi z POSIX listami kontroli
-dostêpu (ACL) pod Linuksem.
+Polecenie (chacl) i biblioteka (libacl) do manipulowania zgodnymi z
+POSIX listami kontroli dostêpu (ACL) pod Linuksem.
 
 %package devel
 Summary:       Header files for acl library
 Summary(pl):   Pliki nag³ówkowe biblioteki acl
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
+Requires:      attr-devel
 
 %description devel
 Header files to develop software which manipulate access control
@@ -44,7 +47,7 @@ listami kontroli dost
 Summary:       Static acl library
 Summary(pl):   Statyczna biblioteka acl
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static acl library.
@@ -53,13 +56,16 @@ Static acl library.
 Statyczna biblioteka acl.
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
 
 %build
-DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
+rm -f aclocal.m4
+%{__aclocal} -I m4
 %{__autoconf}
-%configure
+%configure \
+       DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
+       OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
 
 %{__make}
 
@@ -89,7 +95,7 @@ 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/lib ; echo libacl.so.*.*.*) \
+ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT%{_libdir} ; echo libacl.so.*.*.*) \
        $RPM_BUILD_ROOT%{_libexecdir}/libacl.so
 
 %find_lang %{name}
This page took 0.14855 seconds and 4 git commands to generate.