]> git.pld-linux.org Git - packages/acl.git/commitdiff
- added pl.po, actually enabled gettext, release 2 auto/ac/acl-2_2_22-2
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 28 Jan 2004 22:03:03 +0000 (22:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acl.spec -> 1.56

acl.spec

index 397d6512e61b040a7182645842e2c55437bce58a..198eae61357ff0fa50b209182c36b80e8aa0a4a5 100644 (file)
--- a/acl.spec
+++ b/acl.spec
@@ -2,11 +2,12 @@ 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.22
-Release:       1
+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
 # Source0-md5: c448c1bee6014bc48a386c222d357873
+Source1:       %{name}-pl.po
 Patch0:                %{name}-miscfix.patch
 URL:           http://oss.sgi.com/projects/xfs/
 BuildRequires: attr-devel >= 2.4.12
@@ -59,14 +60,16 @@ Statyczna biblioteka acl.
 %setup -q
 %patch0 -p1
 
+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.044102 seconds and 4 git commands to generate.