]> git.pld-linux.org Git - packages/acl.git/blobdiff - acl.spec
- obsolete (merged)
[packages/acl.git] / acl.spec
index a3f220c9c2d628d6da7df523f835e623bf419c97..e205e5546cdf5067a432ee96685e396ed87f4704 100644 (file)
--- a/acl.spec
+++ b/acl.spec
@@ -1,24 +1,25 @@
 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.21
-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: 585131965e8a2475b8212075a6eeb5c3
+# Source0-md5: 7e13778c38addfcdabf2cef291b78bcc
+Source1:       %{name}-pl.po
 Patch0:                %{name}-miscfix.patch
 URL:           http://oss.sgi.com/projects/xfs/
-BuildRequires: attr-devel >= 2.4.12
-BuildRequires:  gettext-devel
+BuildRequires: attr-devel >= 2.4.15
 BuildRequires: autoconf
 BuildRequires: automake
-Requires:      attr >= 2.4.12
+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) and a library (libacl) to manipulate POSIX access
@@ -58,15 +59,18 @@ Statyczna biblioteka acl.
 %prep
 %setup -q
 %patch0 -p1
+chmod -Rf u+w .
+
+cp %{SOURCE1} po/pl.po
+%{__perl} -pi -e 's/^(LINGUAS.*)/$1 pl/' po/Makefile
 
 %build
-#DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
 rm -f aclocal.m4
 %{__aclocal} -I m4
 %{__autoconf}
 %configure \
        DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
-       OPTIMIZER="%{rpmcflags}"
+       OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
 
 %{__make}
 
This page took 0.0683859999999999 seconds and 4 git commands to generate.