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