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