Summary: Access control list utilities Name: acl Version: 2.2.53 Release: 4%{?dist} Source0: https://download-mirror.savannah.gnu.org/releases/acl/%{name}-%{version}.tar.gz License: GPLv2+ Group: System Environment/Base URL: https://savannah.nongnu.org/projects/acl/ Vendor: Microsoft Corporation Distribution: Amelia Requires: libacl = %{version}-%{release} BuildRequires: attr-devel %description This package contains the getfacl and setfacl utilities needed for manipulating access control lists. %package -n libacl Summary: Dynamic library for access control list support License: LGPLv2+ Group: System Environment/Libraries Requires: attr %description -n libacl This package contains the libacl.so dynamic library which contains the POSIX 1003.1e draft standard 17 functions for manipulating access control lists. %package -n libacl-devel Summary: Files needed for building programs with libacl License: LGPLv2+ Group: Development/Libraries Requires: libacl = %{version}-%{release} %description -n libacl-devel This package contains header files and documentation needed to develop programs which make use of the access control list programming interface defined in POSIX 1003.1e draft standard 17. %prep %setup -q %build %configure make %{?_smp_mflags} LIBTOOL="libtool --tag=CC" %install make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f {} ';' chmod 0755 %{buildroot}%{_libdir}/libacl.so.*.*.* %find_lang %{name} %check if ./setfacl -m u:`id -u`:rwx .; then make %{?_smp_mflags} check else echo '*** The chroot file system does not support all ACL options ***' fi %post -n libacl /sbin/ldconfig %postun -n libacl /sbin/ldconfig %files -f %{name}.lang %license doc/COPYING* %{_bindir}/chacl %{_bindir}/getfacl %{_bindir}/setfacl %{_mandir}/man1/chacl.1* %{_mandir}/man1/getfacl.1* %{_mandir}/man1/setfacl.1* %{_mandir}/man5/acl.5* %files -n libacl-devel %{_libdir}/libacl.so %{_includedir}/acl %{_includedir}/sys/acl.h %{_mandir}/man3/acl_* %{_libdir}/libacl.a %{_datadir}/doc/acl/* %{_libdir}/pkgconfig/libacl.pc %files -n libacl %{_libdir}/libacl.so.* %changelog * Tue Apr 14 2020 Henry Beberman 2.2.53-4 - Update files to include license * Fri Mar 03 2020 Jon Slobodzian 2.2.53-3 - Replaced dead link. Fixed Source URL. Verified license. * Tue Sep 03 2019 Mateusz Malisz 2.2.53-2 - Initial CBL-Mariner import from Photon (license: Apache2). * Mon Sep 17 2018 Ankit Jain 2.2.53-1 - Updated to version 2.2.53 * Fri Jul 28 2017 Chang Lee 2.2.52-5 - Fixed %check for filtering unsupported check env * Thu Nov 24 2016 Alexey Makhalov 2.2.52-4 - BuildRequired attr-devel. * Wed Oct 05 2016 ChangLee 2.2.52-3 - Modified %check * Tue May 24 2016 Priyesh Padmavilasom 2.2.52-2 - GA - Bump release of all rpms * Thu Feb 26 2015 Divya Thaluru 2.2.52-1 - Initial version