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 for acl library
26 Summary(pl): Pliki nag³ówkowe biblioteki acl
27 Group: Development/Libraries
28 Requires: %{name} = %{version}
31 Header files to develop software which manipulate access control
34 %description devel -l pl
35 Pliki nag³ówkowe potrzebne do rozwoju oprogramowania manipuluj±cego
36 listami kontroli dostêpu (ACL).
39 Summary: Static acl library
40 Summary(pl): Statyczna biblioteka acl
41 Group: Development/Libraries
42 Requires: %{name}-devel = %{version}
47 %description static -l pl
48 Statyczna biblioteka acl.
55 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_includedir}/acl
65 DIST_ROOT="$RPM_BUILD_ROOT"
66 DIST_INSTALL=`pwd`/install.manifest
67 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
68 DIST_INSTALL_LIB=`pwd`/install-lib.manifest
69 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
70 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
71 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
72 %{__make} install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
74 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
75 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3
76 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3
77 echo ".so acl_copy_ext.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_copy_int.3
78 echo ".so acl_get_fd.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_fd.3
79 echo ".so acl_get_file.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_set_file.3
80 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_short_text.3
81 echo ".so acl_from_text.3" > $RPM_BUILD_ROOT%{_mandir}/man3/acl_to_text.3
83 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
84 ln -sf /lib/libacl.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libacl.so
87 rm -rf $RPM_BUILD_ROOT
89 %post -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
93 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/*
96 %attr(755,root,root) /lib/lib*.so.*.*
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/lib*.la
102 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_mandir}/man[235]/*
108 %defattr(644,root,root,755)