]>
Commit | Line | Data |
---|---|---|
00fab3bb | 1 | Summary: Command and library for manipulating access control lists |
2d050bfd | 2 | Summary(pl.UTF-8): Polecenie i biblioteka do manipulacji listami kontroli dostępu (ACL) |
e9cbe48f | 3 | Name: acl |
ccad2caf | 4 | Version: 2.3.2 |
9f0f195f | 5 | Release: 1 |
f010e497 | 6 | License: LGPL v2+ (library), GPL v2 (utilities) |
e9cbe48f | 7 | Group: Applications/System |
482300ea | 8 | Source0: http://download.savannah.nongnu.org/releases/acl/%{name}-%{version}.tar.xz |
ccad2caf | 9 | # Source0-md5: 590765dee95907dbc3c856f7255bd669 |
360c06fa | 10 | URL: http://savannah.nongnu.org/projects/acl/ |
a8d12da4 | 11 | BuildRequires: attr-devel >= 2.4.16-3 |
7907c4d2 JP |
12 | BuildRequires: autoconf >= 2.69 |
13 | BuildRequires: automake >= 1:1.15 | |
14 | BuildRequires: gettext-tools >= 0.19.8 | |
9f0f195f | 15 | BuildRequires: libtool >= 2:2 |
3cd78286 | 16 | BuildRequires: rpmbuild(macros) >= 1.402 |
9f0f195f | 17 | BuildRequires: sed >= 4.0 |
482300ea JB |
18 | BuildRequires: tar >= 1:1.22 |
19 | BuildRequires: xz | |
72526fc4 | 20 | Requires: attr >= 2.4.15 |
482300ea | 21 | Obsoletes: libacl < 2.3 |
e9cbe48f AM |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
400bb84e | 24 | %define _bindir /bin |
400bb84e | 25 | |
e9cbe48f | 26 | %description |
00fab3bb JB |
27 | A command (chacl) and a library (libacl) to manipulate POSIX access |
28 | control lists under Linux. | |
e9cbe48f | 29 | |
b156a003 | 30 | %description -l pl.UTF-8 |
00fab3bb | 31 | Polecenie (chacl) i biblioteka (libacl) do manipulowania zgodnymi z |
b156a003 | 32 | POSIX listami kontroli dostępu (ACL) pod Linuksem. |
e9cbe48f AM |
33 | |
34 | %package devel | |
cd1e8792 | 35 | Summary: Header files for acl library |
2d050bfd | 36 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki acl |
e9cbe48f | 37 | Group: Development/Libraries |
1f9d15fe | 38 | Requires: %{name} = %{version}-%{release} |
27f61b49 | 39 | Requires: attr-devel >= 2.4.16-3 |
e9cbe48f AM |
40 | |
41 | %description devel | |
cd1e8792 JB |
42 | Header files to develop software which manipulate access control |
43 | lists. | |
e9cbe48f | 44 | |
b156a003 JR |
45 | %description devel -l pl.UTF-8 |
46 | Pliki nagłówkowe potrzebne do rozwoju oprogramowania manipulującego | |
47 | listami kontroli dostępu (ACL). | |
cd1e8792 JB |
48 | |
49 | %package static | |
50 | Summary: Static acl library | |
2d050bfd | 51 | Summary(pl.UTF-8): Statyczna biblioteka acl |
cd1e8792 | 52 | Group: Development/Libraries |
1f9d15fe | 53 | Requires: %{name}-devel = %{version}-%{release} |
cd1e8792 JB |
54 | |
55 | %description static | |
56 | Static acl library. | |
57 | ||
b156a003 | 58 | %description static -l pl.UTF-8 |
cd1e8792 | 59 | Statyczna biblioteka acl. |
e9cbe48f AM |
60 | |
61 | %prep | |
00fab3bb | 62 | %setup -q |
8c0726aa JB |
63 | |
64 | %build | |
9f0f195f | 65 | %{__gettextize} |
b4a22aa2 | 66 | %{__libtoolize} |
00fab3bb | 67 | %{__aclocal} -I m4 |
f819ccf4 | 68 | %{__autoconf} |
9f0f195f JB |
69 | %{__autoheader} |
70 | %{__automake} | |
9f0f195f | 71 | %configure |
e9cbe48f | 72 | |
9f0f195f | 73 | %{__make} |
e9cbe48f AM |
74 | |
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
e9cbe48f | 77 | |
6d96512a | 78 | %{__make} install \ |
9f0f195f | 79 | DESTDIR=$RPM_BUILD_ROOT |
1ec62825 | 80 | |
9f0f195f JB |
81 | install -d $RPM_BUILD_ROOT/%{_lib} |
82 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libacl.so.* $RPM_BUILD_ROOT/%{_lib} | |
83 | ln -snf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libacl.so.*.*.*) \ | |
84 | $RPM_BUILD_ROOT%{_libdir}/libacl.so | |
8d23bb41 | 85 | |
9f0f195f | 86 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} |
5a5362e8 | 87 | |
e5197bf3 | 88 | %find_lang %{name} |
89 | ||
e9cbe48f AM |
90 | %clean |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
cd1e8792 JB |
93 | %post -p /sbin/ldconfig |
94 | %postun -p /sbin/ldconfig | |
c5185d1f | 95 | |
e5197bf3 | 96 | %files -f %{name}.lang |
e9cbe48f | 97 | %defattr(644,root,root,755) |
992f9a06 | 98 | %doc README doc/{CHANGES,TODO} |
5a5362e8 JB |
99 | %attr(755,root,root) %{_bindir}/chacl |
100 | %attr(755,root,root) %{_bindir}/getfacl | |
101 | %attr(755,root,root) %{_bindir}/setfacl | |
9f0f195f JB |
102 | %attr(755,root,root) /%{_lib}/libacl.so.*.*.* |
103 | %attr(755,root,root) %ghost /%{_lib}/libacl.so.1 | |
5a5362e8 JB |
104 | %{_mandir}/man1/chacl.1* |
105 | %{_mandir}/man1/getfacl.1* | |
106 | %{_mandir}/man1/setfacl.1* | |
107 | %{_mandir}/man5/acl.5* | |
e9cbe48f AM |
108 | |
109 | %files devel | |
110 | %defattr(644,root,root,755) | |
992f9a06 | 111 | %doc doc/{extensions.txt,libacl.txt} |
9f0f195f JB |
112 | %attr(755,root,root) %{_libdir}/libacl.so |
113 | %{_libdir}/libacl.la | |
e9cbe48f | 114 | %{_includedir}/acl |
5a5362e8 | 115 | %{_includedir}/sys/acl.h |
9f0f195f | 116 | %{_pkgconfigdir}/libacl.pc |
5a5362e8 | 117 | %{_mandir}/man3/acl_*.3* |
cd1e8792 JB |
118 | |
119 | %files static | |
120 | %defattr(644,root,root,755) | |
9f0f195f | 121 | %{_libdir}/libacl.a |