1 Summary: Command for manipulating access control lists
2 Summary(pl): Komenda do manipulacji listami kontroli dostêpu (ACL)
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 BuildRequires: attr-devel >= 2.0.0
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 A command (chacl) to manipulate POSIX access control lists under
21 Komenda (chacl) do manipulowania zgodnymi z POSIX listami kontroli
22 dostêpu (ACL) pod Linuksem.
25 Summary: Header files and libraries to manipulate acls
26 Summary(pl): Pliki nag³ówkowe i biblioteki do manipulacji ACL-ami
27 Group: Development/Libraries
30 Header files and libraries to develop software which manipulate access
33 %description devel -l pl
34 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
35 manipuluj±cego listami kontroli dostêpu (ACL).
42 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_includedir}/acl
52 DIST_ROOT="$RPM_BUILD_ROOT"
53 DIST_INSTALL=`pwd`/install.manifest
54 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
55 DIST_INSTALL_LIB=`pwd`/install-lib.manifest
56 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
57 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
58 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
59 %{__make} install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
62 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
63 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3
64 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3
65 echo ".so acl_copy_ext.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_copy_int.3
66 echo ".so acl_get_fd.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_fd.3
67 echo ".so acl_get_file.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_file.3
68 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_short_text.3
69 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_text.3
71 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
72 ln -sf /lib/libacl.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libacl.so
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/*
86 %attr(755,root,root) /lib/lib*.so.*.*
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/lib*.la
92 %attr(755,root,root) %{_libdir}/lib*.so