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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 A command (chacl) to manipulate POSIX access control lists under
19 Komenda (chacl) do manipulowania zgodnymi z POSIX listami kontroli
20 dostêpu (ACL) pod Linuksem.
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
28 Header files and libraries to develop software which manipulate access
31 %description devel -l pl
32 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
33 manipuluj±cego listami kontroli dostêpu (ACL).
40 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_includedir}/acl
50 DIST_ROOT="$RPM_BUILD_ROOT"
51 DIST_INSTALL=`pwd`/install.manifest
52 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
53 DIST_INSTALL_LIB=`pwd`/install-lib.manifest
54 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
55 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
56 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
57 %{__make} install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
60 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
61 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3
62 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3
63 echo ".so acl_copy_ext.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_copy_int.3
64 echo ".so acl_get_fd.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_fd.3
65 echo ".so acl_get_file.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_file.3
66 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_short_text.3
67 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_text.3
69 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
70 ln -sf /lib/libacl.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libacl.so
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) /lib/lib*.so.*.*
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.la
90 %attr(755,root,root) %{_libdir}/lib*.so