1 Summary: Utility for managing filesystem extended attributes
2 Summary(pl): Narzêdzia do zarz±dzania rozszerzonymi atrybutami fs
7 Group: Applications/System
8 Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
9 Patch0: %{name}-miscfix.patch
10 URL: http://oss.sgi.com/projects/xfs/
11 BuildRequires: autoconf
12 BuildRequires: e2fsprogs-devel
13 BuildRequires: xfsprogs-devel >= 2.0.0
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _libexecdir /usr/lib
21 An experimental attr command to manipulate extended attributes under
25 Eksperymentalna wersja polecenia attr to zarz±dzania rozszerzonymi
26 atrybutami pod systemem Linux.
29 Summary: Header files and libraries to use extended attributes
30 Summary(pl): Pliki nag³ówkowe i biblioteki
31 Group: Development/Libraries
32 Requires: %{name} = %{version}
35 Header files to develop software which manipulate extended attributes.
37 %description devel -l pl
38 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania manipuluj±cego
39 rozszerzonymi atrybutami.
42 Summary: Static libraries for extended attributes
43 Summary(pl): Biblioteki statyczne attr
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}
48 Static libraries for extended attributes.
50 %description static -l pl
51 Biblioteki statyczne attr.
58 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
65 rm -rf $RPM_BUILD_ROOT
67 DIST_ROOT="$RPM_BUILD_ROOT"
68 DIST_INSTALL=`pwd`/install.manifest
69 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
70 DIST_INSTALL_LIB=`pwd`/install-lib.manifest
71 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
73 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
74 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
75 %{__make} install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
77 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{attr_getf,attr_listf}.3
78 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{attr_multif,attr_removef,attr_setf}.3
79 rm -rf $RPM_BUILD_ROOT%{_mandir}/man2
81 ln -sf %{_libdir}/libattr.so.1.0.1 $RPM_BUILD_ROOT%{_libexecdir}/libattr.so
83 echo ".so attr_get.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
84 echo ".so attr_list.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_listf.3
85 echo ".so attr_multi.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_multif.3
86 echo ".so attr_remove.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_removef.3
87 echo ".so attr_set.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_setf.3
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/*
101 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105 %defattr(644,root,root,755)
106 %{_libexecdir}/lib*.la
107 %attr(755,root,root) %{_libexecdir}/lib*.so
112 %defattr(644,root,root,755)
113 %{_libexecdir}/lib*.a