Summary: Command for manipulating access control lists Summary(pl): Komenda do manipulacji listami kontroli dostępu (ACL) Name: acl Version: 1.1.4 Release: 1 License: GPL Group: Applications/System Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz Patch0: %{name}-miscfix.patch URL: http://oss.sgi.com/projects/xfs/ BuildRequires: autoconf BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description A command (chacl) to manipulate POSIX access control lists under Linux. %description -l pl Komenda (chacl) do manipulowania zgodnymi z POSIX listami kontroli dostępu (ACL) pod Linuksem. %package devel Summary: Header files and libraries to manipulate acls Summary(pl): Pliki nagłówkowe i biblioteki do manipulacji ACL-ami Group: Development/Libraries %description devel Header files and libraries to develop software which manipulate access control lists. %description -l pl devel Pliki nagłówkowe i biblioteki potrzebne do rozwoju oprogramowania manipulującego listami kontroli dostępu (ACL). %prep %setup -q %patch0 -p1 %build DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG autoconf %configure %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_includedir}/acl DIST_ROOT="$RPM_BUILD_ROOT" DIST_INSTALL=`pwd`/install.manifest DIST_INSTALL_DEV=`pwd`/install-dev.manifest export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV %{__make} install DIST_MANIFEST="$DIST_INSTALL" %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3 echo ".so man3/acl_copy_ext.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_copy_int.3 echo ".so man3/acl_get_fd.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_fd.3 echo ".so man3/acl_get_file.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_file.3 echo ".so man3/acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_short_text.3 echo ".so man3/acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_text.3 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so ln -sf /lib/libacl.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libacl.so gzip -9nf doc/CHANGES %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc doc/*.gz %attr(755,root,root) /bin/* %attr(755,root,root) %{_bindir}/* %attr(755,root,root) /lib/lib*.so.*.* %{_mandir}/man1/* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.la %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.a %{_includedir}/acl %{_includedir}/sys/* %{_mandir}/man[235]/*