]> git.pld-linux.org Git - packages/attr.git/blame - attr.spec
- updated to 2.4.48
[packages/attr.git] / attr.spec
CommitLineData
04b1e72a 1Summary: Utility for managing filesystem extended attributes
37b23957 2Summary(pl.UTF-8): Narzędzia do zarządzania rozszerzonymi atrybutami systemu plików
b872caee 3Name: attr
8a4692db
JB
4Version: 2.4.48
5Release: 1
c82a75af 6License: LGPL v2+ (library), GPL v2+ (utilities)
b872caee 7Group: Applications/System
784798fc 8Source0: http://git.savannah.gnu.org/cgit/attr.git/snapshot/%{name}-%{version}.tar.gz
8a4692db 9# Source0-md5: 728d7f7f1b6ccbe03efc8d5c76eb5891
5a005279 10URL: http://savannah.nongnu.org/projects/attr/
8a4692db
JB
11BuildRequires: autoconf >= 2.50
12BuildRequires: automake >= 1:1.11
13BuildRequires: gettext-tools >= 0.18.2
14BuildRequires: libtool >= 2:2
6c922c1c 15BuildRequires: rpmbuild(macros) >= 1.402
8a4692db 16BuildRequires: sed >= 4.0
78538942 17Obsoletes: libattr
b872caee
AM
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
04b1e72a 20%define _bindir /bin
21
b872caee 22%description
88806164 23An experimental attr command to manipulate extended attributes under
24Linux.
b872caee 25
31937581
JR
26%description -l pl.UTF-8
27Eksperymentalna wersja polecenia attr to zarządzania rozszerzonymi
b872caee
AM
28atrybutami pod systemem Linux.
29
30%package devel
04b1e72a 31Summary: Header files and libraries to use extended attributes
37b23957 32Summary(pl.UTF-8): Pliki nagłówkowe i biblioteki do korzystania z rozszerzonych atrybutów
04b1e72a 33Group: Development/Libraries
3028a6a0 34Requires: %{name} = %{version}-%{release}
b872caee
AM
35
36%description devel
c633e14d 37Header files to develop software which manipulate extended attributes.
b872caee 38
31937581
JR
39%description devel -l pl.UTF-8
40Pliki nagłówkowe potrzebne do tworzenia oprogramowania manipulującego
c633e14d 41rozszerzonymi atrybutami.
b872caee 42
88806164 43%package static
44Summary: Static libraries for extended attributes
37b23957 45Summary(pl.UTF-8): Biblioteki statyczne do korzystania z rozszerzonych atrybutów
88806164 46Group: Development/Libraries
3028a6a0 47Requires: %{name}-devel = %{version}-%{release}
88806164 48
49%description static
50Static libraries for extended attributes.
51
31937581
JR
52%description static -l pl.UTF-8
53Biblioteki statyczne do korzystania z rozszerzonych atrybutów.
88806164 54
b872caee 55%prep
59210996 56%setup -q
a93799ff
JB
57
58%build
8a4692db
JB
59# prepare for gettextize
60%{__sed} -i -e 's,po/Makefile.in,,' configure.ac
61
62po/update-potfiles
63%{__gettextize}
a93799ff 64%{__libtoolize}
59210996 65%{__aclocal} -I m4
87e55f9f 66%{__autoconf}
8a4692db
JB
67%{__autoheader}
68%{__automake}
396126e7 69
59210996 70%configure \
8a4692db
JB
71 %{?debug:--enable-debug} \
72 --disable-silent-rules
b872caee 73
8a4692db 74%{__make}
b872caee
AM
75
76%install
77rm -rf $RPM_BUILD_ROOT
8a4692db 78install -d $RPM_BUILD_ROOT/%{_lib}
88806164 79
54dead86 80%{__make} install \
8a4692db 81 DESTDIR=$RPM_BUILD_ROOT
784798fc 82
8a4692db
JB
83%{__mv} $RPM_BUILD_ROOT%{_libdir}/libattr.so.* \
84 $RPM_BUILD_ROOT/%{_lib}
3231ce9b 85
8a4692db
JB
86ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libattr.so.*.*.*) \
87 $RPM_BUILD_ROOT%{_libdir}/libattr.so
80bc3dc5 88
72904c42 89%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
43bbcdad 90
8a4692db 91%find_lang %{name}
3bdc5010 92
b872caee
AM
93%clean
94rm -rf $RPM_BUILD_ROOT
95
11830642 96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
aaf9152c 98
80bc3dc5 99%files -f %{name}.lang
b872caee 100%defattr(644,root,root,755)
878e91df 101%doc README doc/CHANGES
3bdc5010
JB
102%attr(755,root,root) %{_bindir}/attr
103%attr(755,root,root) %{_bindir}/getfattr
104%attr(755,root,root) %{_bindir}/setfattr
8a4692db
JB
105%attr(755,root,root) /%{_lib}/libattr.so.*.*.*
106%attr(755,root,root) %ghost /%{_lib}/libattr.so.1
107%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xattr.conf
3bdc5010
JB
108%{_mandir}/man1/attr.1*
109%{_mandir}/man1/getfattr.1*
110%{_mandir}/man1/setfattr.1*
b872caee
AM
111
112%files devel
113%defattr(644,root,root,755)
8a4692db
JB
114%attr(755,root,root) %{_libdir}/libattr.so
115%{_libdir}/libattr.la
b872caee 116%{_includedir}/attr
8a4692db 117%{_pkgconfigdir}/libattr.pc
3bdc5010 118%{_mandir}/man3/attr_*.3*
88806164 119
120%files static
121%defattr(644,root,root,755)
8a4692db 122%{_libdir}/libattr.a
This page took 0.09819 seconds and 4 git commands to generate.