]> git.pld-linux.org Git - packages/acl.git/blob - acl.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/acl.git] / acl.spec
1 Summary:        Command for manipulating access control lists
2 Summary(pl):    Komenda do manipulacji listami kontroli dostêpu (ACL)
3 Name:           acl
4 Version:        1.1.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
9 Patch0:         %{name}-miscfix.patch
10 URL:            http://oss.sgi.com/projects/xfs/
11 BuildRequires:  autoconf
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 A command (chacl) to manipulate POSIX access control lists under
16 Linux.
17
18 %description -l pl
19 Komenda (chacl) do manipulowania zgodnymi z POSIX listami kontroli
20 dostêpu (ACL) pod Linuksem.
21
22 %package devel
23 Summary:        Header files and libraries to manipulate acls
24 Summary(pl):    Pliki nag³ówkowe i biblioteki do manipulacji ACL-ami
25 Group:          Development/Libraries
26
27 %description devel
28 Header files and libraries to develop software which manipulate access
29 control lists.
30
31 %description -l pl devel
32 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
33 manipuluj±cego listami kontroli dostêpu (ACL).
34
35 %prep
36 %setup  -q
37 %patch0 -p1
38
39 %build
40 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
41 autoconf
42 %configure
43
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_includedir}/acl
49
50 DIST_ROOT="$RPM_BUILD_ROOT"
51 DIST_INSTALL=`pwd`/install.manifest
52 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
53 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
54 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
55 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
56
57 rm -f   $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3
58 rm -f   $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3
59 echo ".so man3/acl_copy_ext.3"  > $RPM_BUILD_ROOT%{_mandir}/man3/acl_copy_int.3
60 echo ".so man3/acl_get_fd.3"    > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_fd.3
61 echo ".so man3/acl_get_file.3"  > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_file.3
62 echo ".so man3/acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_short_text.3
63 echo ".so man3/acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_text.3
64
65 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
66 ln -sf /lib/libacl.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libacl.so
67
68 gzip -9nf doc/CHANGES
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc doc/*.gz
79 %attr(755,root,root) /bin/*
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) /lib/lib*.so.*.*
82 %{_mandir}/man1/*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/lib*.la
87 %attr(755,root,root) %{_libdir}/lib*.so
88 %{_libdir}/lib*.a
89 %{_includedir}/acl
90 %{_includedir}/sys/*
91 %{_mandir}/man[235]/*
This page took 0.134679 seconds and 3 git commands to generate.