]> git.pld-linux.org Git - packages/attr.git/blob - attr.spec
- updated to 1.1.4 (bugfxes)
[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.1.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Group(de):      Applikationen/System
9 Group(pl):      Aplikacje/System
10 Source0:        ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
11 Patch0:         %{name}-miscfix.patch
12 URL:            http://oss.sgi.com/projects/xfs/
13 BuildRequires:  autoconf
14 BuildRequires:  e2fsprogs-devel
15 BuildRequires:  xfsprogs-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _bindir         /bin
19
20 %description
21 An *experimental* command (attr) to manipulate extended attributes
22 under Linux.
23
24 %description -l pl
25 *Eksperymentalna* komenda (attr) to zarz±dzania rozszerzonymi
26 atrybutami pod systemem Linux.
27
28 %package devel
29 Summary:        Header files and libraries to use extended attributes
30 Summary(pl):    Pliki nag³ówkowe i biblioteki
31 Group:          Development/Libraries
32 Group(de):      Entwicklung/Libraries
33 Group(es):      Desarrollo/Bibliotecas
34 Group(fr):      Development/Librairies
35 Group(pl):      Programowanie/Biblioteki
36 Group(pt_BR):   Desenvolvimento/Bibliotecas
37 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
38 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
39
40 %description devel
41 Header files and libraries to develop software which manipulate
42 extended attributes.
43
44 %description -l pl devel
45 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
46 manipuluj±cego rozszerzonymi atrybutami.
47
48 %prep
49 %setup  -q
50 %patch0 -p1
51
52 %build
53 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
54 autoconf
55 %configure 
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 DIST_ROOT="$RPM_BUILD_ROOT"
63 DIST_INSTALL=`pwd`/install.manifest
64 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
65 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
66 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
67 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
68
69 rm -f   $RPM_BUILD_ROOT%{_mandir}/man3/{attr_getf,attr_listf}.3
70 rm -f   $RPM_BUILD_ROOT%{_mandir}/man3/{attr_multif,attr_removef,attr_setf}.3
71
72 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
73 ln -sf /lib/libattr.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libattr.so
74
75 echo ".so man3/attr_get.3"      > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
76 echo ".so man3/attr_list.3"     > $RPM_BUILD_ROOT%{_mandir}/man3/attr_listf.3
77 echo ".so man3/attr_multi.3"    > $RPM_BUILD_ROOT%{_mandir}/man3/attr_multif.3
78 echo ".so man3/attr_remove.3"   > $RPM_BUILD_ROOT%{_mandir}/man3/attr_removef.3
79 echo ".so man3/attr_set.3"      > $RPM_BUILD_ROOT%{_mandir}/man3/attr_setf.3
80
81 gzip -9nf doc/CHANGES
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc doc/*.gz
92 %attr(755,root,root) %{_bindir}/*
93 %attr(755,root,root) /lib/lib*.so.*.*
94 %{_mandir}/man[18]/*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/lib*.la
99 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_libdir}/lib*.a
101 %{_includedir}/attr
102 %{_mandir}/man[23]/*
This page took 0.042238 seconds and 4 git commands to generate.