]> git.pld-linux.org Git - packages/attr.git/blobdiff - attr.spec
- 2.4.8
[packages/attr.git] / attr.spec
index 9de42678d541975692f708e5cc64deb03458699e..acefebc915a9cec9a7f92e8e211fd9b2a5ee6c57 100644 (file)
--- a/attr.spec
+++ b/attr.spec
@@ -1,18 +1,19 @@
 Summary:       Utility for managing filesystem extended attributes
 Summary(pl):   Narzêdzia do zarz±dzania rozszerzonymi atrybutami fs
 Name:          attr
-Version:       2.4.7
+Version:       2.4.8
 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/cmd_tars/%{name}-%{version}.src.tar.gz
-# Source0-md5: 56e67402f5075ce47b5657b4336ff563
+Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/Release-1.3/cmd_tars/%{name}-%{version}.src.tar.gz
+# Source0-md5: d2016137a97f8f7ec956a19f45c3f7b7
 Patch0:                %{name}-miscfix.patch
 URL:           http://oss.sgi.com/projects/xfs/
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: e2fsprogs-devel
-BuildRequires: xfsprogs-devel >= 2.0.0
+BuildRequires: xfsprogs-devel >= 2.5.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _bindir         /bin
@@ -53,13 +54,16 @@ Static libraries for extended attributes.
 Biblioteki statyczne attr.
 
 %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}"
 
 %{__make}
 
@@ -83,7 +87,7 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{attr_getf,attr_listf}.3
 rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{attr_multif,attr_removef,attr_setf}.3
 rm -rf $RPM_BUILD_ROOT%{_mandir}/man2
 
-ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT/lib ; echo libattr.so.*.*.*) \
+ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT%{_libdir} ; echo libattr.so.*.*.*) \
         $RPM_BUILD_ROOT%{_libexecdir}/libattr.so
 
 echo ".so attr_get.3"  > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
This page took 0.049696 seconds and 4 git commands to generate.