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