1 Summary: Utility for managing filesystem extended attributes
2 Summary(pl): Narzêdzia do zarz±dzania rozszerzonymi atrybutami systemu plików
6 # most part is on LGPL v2.1, but the rest enforces GPL
8 Group: Applications/System
9 Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
10 # Source0-md5: 13ba7836876882da53b2c1eab5ab66bc
11 Patch0: %{name}-miscfix.patch
12 Patch1: %{name}-po.patch
13 URL: http://oss.sgi.com/projects/xfs/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: xfsprogs-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _libdir /%{_lib}
22 %define _libexecdir /usr/%{_lib}
25 An experimental attr command to manipulate extended attributes under
29 Eksperymentalna wersja polecenia attr to zarz±dzania rozszerzonymi
30 atrybutami pod systemem Linux.
33 Summary: Header files and libraries to use extended attributes
34 Summary(pl): Pliki nag³ówkowe i biblioteki do korzystania z rozszerzonych atrybutów
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Header files to develop software which manipulate extended attributes.
41 %description devel -l pl
42 Pliki nag³ówkowe potrzebne do tworzenia oprogramowania manipuluj±cego
43 rozszerzonymi atrybutami.
46 Summary: Static libraries for extended attributes
47 Summary(pl): Biblioteki statyczne do korzystania z rozszerzonych atrybutów
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
52 Static libraries for extended attributes.
54 %description static -l pl
55 Biblioteki statyczne do korzystania z rozszerzonych atrybutów.
67 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
68 OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
73 rm -rf $RPM_BUILD_ROOT
75 DIST_ROOT=$RPM_BUILD_ROOT
76 DIST_INSTALL=`pwd`/install.manifest
77 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
78 DIST_INSTALL_LIB=`pwd`/install-lib.manifest
79 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
82 DIST_MANIFEST=$DIST_INSTALL
83 %{__make} install-dev \
84 DIST_MANIFEST=$DIST_INSTALL_DEV
85 %{__make} install-lib \
86 DIST_MANIFEST=$DIST_INSTALL_LIB
88 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{attr_getf,attr_listf}.3
89 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{attr_multif,attr_removef,attr_setf}.3
90 rm -rf $RPM_BUILD_ROOT%{_mandir}/man2
92 ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT%{_libdir} ; echo libattr.so.*.*.*) \
93 $RPM_BUILD_ROOT%{_libexecdir}/libattr.so
95 echo ".so attr_get.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
96 echo ".so attr_list.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_listf.3
97 echo ".so attr_multi.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_multif.3
98 echo ".so attr_remove.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_removef.3
99 echo ".so attr_set.3" > $RPM_BUILD_ROOT%{_mandir}/man3/attr_setf.3
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %doc README doc/CHANGES
112 %attr(755,root,root) %{_bindir}/*
113 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114 %{_mandir}/man[158]/*
117 %defattr(644,root,root,755)
118 %{_libexecdir}/lib*.la
119 %attr(755,root,root) %{_libexecdir}/lib*.so
124 %defattr(644,root,root,755)
125 %{_libexecdir}/lib*.a