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