]> git.pld-linux.org Git - packages/attr.git/blobdiff - attr.spec
- updated to 2.4.14, added pl.po, actually enabled gettext
[packages/attr.git] / attr.spec
index 2bbfc1e960ac1bfd83212a3d1116a768f6288edc..9a41c0e9d44ba12f3714a40c1d3a8c6b7042cee6 100644 (file)
--- a/attr.spec
+++ b/attr.spec
@@ -1,23 +1,25 @@
 Summary:       Utility for managing filesystem extended attributes
 Summary(pl):   Narzêdzia do zarz±dzania rozszerzonymi atrybutami systemu plików
 Name:          attr
-Version:       2.4.8
-Release:       2
+Version:       2.4.14
+Release:       1
 # most part is on LGPL v2.1, but the rest enforces GPL
 License:       GPL
 Group:         Applications/System
-Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/Release-1.3/cmd_tars/%{name}-%{version}.src.tar.gz
-# Source0-md5: d2016137a97f8f7ec956a19f45c3f7b7
+Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
+# Source0-md5: 816543754a6c61a066fae7749fa75473
+Source1:       %{name}-pl.po
 Patch0:                %{name}-miscfix.patch
 URL:           http://oss.sgi.com/projects/xfs/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: xfsprogs-devel >= 2.5.6
+BuildRequires: gettext-devel
+BuildRequires: xfsprogs-devel 
 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
 An experimental attr command to manipulate extended attributes under
@@ -56,13 +58,16 @@ Biblioteki statyczne do korzystania z rozszerzonych atrybut
 %setup -q
 %patch0 -p1
 
+cp %{SOURCE1} po/pl.po
+%{__perl} -pi -e 's/^(LINGUAS.*)/$1 pl/' po/Makefile
+
 %build
 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.059825 seconds and 4 git commands to generate.