]> git.pld-linux.org Git - packages/attr.git/blob - attr.spec
manual pages added to devel subpackage
[packages/attr.git] / attr.spec
1 Summary:        Utility for managing filesystem extended attributes.
2 Summary(pl):    Narzêdzia do zarz±dzania rozszerzonymi atrybutami fs.
3 Name:           attr
4 Version:        1.0.1
5 Release:        1
6 License:        GPL
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 BuildRequires:  e2fsprogs-devel
11 BuildRequires:  xfsprogs-devel
12 URL:            http://oss.sgi.com/projects/xfs/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 An *experimental* command (attr) to manipulate extended attributes
17 under Linux.
18
19 %description -l pl
20 *Eksperymentalna* komenda (attr) to zarz±dzania rozszerzonymi
21 atrybutami pod systemem Linux.
22
23 %package devel
24 Summary:        Header files and libraries to use extended attributes
25 Summary(pl):    Pliki nag³ówkowe i biblioteki
26 Group:          Development/Libraries
27 Group(de):      Entwicklung/Libraries
28 Group(fr):      Development/Librairies
29 Group(pl):      Programowanie/Biblioteki
30
31 %description devel
32 Header files and libraries to develop software which manipulate extended
33 attributes.
34
35 %description -l pl devel
36 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
37 manipuluj±cego rozszerzonymi atrybutami.
38
39 %prep
40 %setup  -q
41 %patch0 -p1
42
43 %build
44 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
45 autoconf
46 %configure 
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 DIST_ROOT="$RPM_BUILD_ROOT"
54 DIST_INSTALL=`pwd`/install.manifest
55 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
56 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
57 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
58 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
59
60 rm -f   $RPM_BUILD_ROOT%{_mandir}/man3/{attr_getf,attr_listf}.3
61 rm -f   $RPM_BUILD_ROOT%{_mandir}/man3/{attr_multif,attr_removef,attr_setf}.3
62 echo ".so man3/attr_get.3"      > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
63 echo ".so man3/attr_list.3"     > $RPM_BUILD_ROOT%{_mandir}/man3/attr_listf.3
64 echo ".so man3/attr_multi.3"    > $RPM_BUILD_ROOT%{_mandir}/man3/attr_multif.3
65 echo ".so man3/attr_remove.3"   > $RPM_BUILD_ROOT%{_mandir}/man3/attr_removef.3
66 echo ".so man3/attr_set.3"      > $RPM_BUILD_ROOT%{_mandir}/man3/attr_setf.3
67
68 gzip -9nf doc/CHANGES
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc doc/*.gz
76 %attr(755,root,root) /bin/*
77 %{_mandir}/man[18]/*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %{_libdir}/lib*.a
82 %{_includedir}/attr
83 %{_mandir}/man[23]/*
This page took 0.039391 seconds and 4 git commands to generate.