]> git.pld-linux.org Git - packages/attr.git/commitdiff
- updated to 2.0.9
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 13 Aug 2002 15:56:45 +0000 (15:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    attr.spec -> 1.25

attr.spec

index 336c25b63f83bf2388fac7b96fc9a4a87f8d40f0..36efa26d21cce5870c51c7af593942de4bead693 100644 (file)
--- a/attr.spec
+++ b/attr.spec
@@ -1,8 +1,8 @@
 Summary:       Utility for managing filesystem extended attributes
 Summary(pl):   Narzêdzia do zarz±dzania rozszerzonymi atrybutami fs
 Name:          attr
-Version:       2.0.8
-Release:       2
+Version:       2.0.9
+Release:       1
 License:       GPL
 Group:         Applications/System
 Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
@@ -10,10 +10,12 @@ Patch0:             %{name}-miscfix.patch
 URL:           http://oss.sgi.com/projects/xfs/
 BuildRequires: autoconf
 BuildRequires: e2fsprogs-devel
-BuildRequires: xfsprogs-devel
+BuildRequires: xfsprogs-devel >= 2.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _bindir         /bin
+%define                _libdir         /lib
+%define                _libexecdir     /usr/lib
 
 %description
 An experimental attr command to manipulate extended attributes under
@@ -74,9 +76,7 @@ export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
 
 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 -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
-ln -sf /lib/libattr.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libattr.so
+rm -f  $RPM_BUILD_ROOT%{_mandir}/man2/{f*,lgetxattr,llistxattr,lremovexattr,lsetxattr}.2
 
 echo ".so attr_get.3"  > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
 echo ".so attr_list.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_listf.3
@@ -84,6 +84,15 @@ echo ".so attr_multi.3"      > $RPM_BUILD_ROOT%{_mandir}/man3/attr_multif.3
 echo ".so attr_remove.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_removef.3
 echo ".so attr_set.3"  > $RPM_BUILD_ROOT%{_mandir}/man3/attr_setf.3
 
+echo ".so getxattr.2"  > $RPM_BUILD_ROOT%{_mandir}/man2/fgetxattr.2
+echo ".so listxattr.2" > $RPM_BUILD_ROOT%{_mandir}/man2/flistxattr.2
+echo ".so removexattr.2" > $RPM_BUILD_ROOT%{_mandir}/man2/fremovexattr.2
+echo ".so setxattr.2"  > $RPM_BUILD_ROOT%{_mandir}/man2/fsetxattr.2
+echo ".so getxattr.2"  > $RPM_BUILD_ROOT%{_mandir}/man2/lgetxattr.2
+echo ".so listxattr.2" > $RPM_BUILD_ROOT%{_mandir}/man2/llistxattr.2
+echo ".so removexattr.2" > $RPM_BUILD_ROOT%{_mandir}/man2/lremovexattr.2
+echo ".so setxattr.2"  > $RPM_BUILD_ROOT%{_mandir}/man2/lsetxattr.2
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -94,16 +103,16 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc doc/CHANGES
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) /lib/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_mandir}/man[18]/*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libexecdir}/lib*.la
+%attr(755,root,root) %{_libexecdir}/lib*.so
 %{_includedir}/attr
 %{_mandir}/man[235]/*
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libexecdir}/lib*.a
This page took 0.044122 seconds and 4 git commands to generate.