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