This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libacl/libacl.spec

153 lines
4.0 KiB
RPMSpec

### AUTOUPDATE-OFF: 1
Name: libacl
Version: 2.3.1
Release: 1mamba
Summary: Access control list utilities
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://oss.sgi.com/projects/xfs/source.html
Source: http://download.savannah.gnu.org/releases/acl/acl-%{version}.tar.gz
Patch0: libacl-2.2.47-build.patch
Patch1: libacl-2.2.47-path_max.patch
Patch2: libacl-2.2.47-params.patch
Patch3: libacl-2.2.47-exitcode.patch
Patch4: libacl-2.2.47-segfault.patch
Patch5: libacl-2.2.47-multilib.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libattr-devel
## AUTOBUILDREQ-END
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: gettext
BuildRequires: gawk
%description
This package contains the libacl.so dynamic library which contains
the POSIX 1003.1e draft standard 17 functions for manipulating access
control lists.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-static
Obsoletes: %{name}-static
%description devel
This package contains libraries and header files needed to develop
programs which make use of the access control list programming interface
defined in POSIX 1003.1e draft standard 17.
%package tools
Group: Development/Libraries
Summary: Tools for %{name}
License: GPL
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains the getfacl and setfacl utilities needed for
manipulating access control lists.
%prep
%setup -q -n acl-%{version}
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
#%patch3 -p1
#%patch4 -p1
#%patch5 -p1
#autoconf
%build
touch .census
# acl abuses libexecdir
%configure \
--disable-static
#\
# --libdir=/%{_lib} \
# --libexecdir=%{_libdir}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#make install install-lib install-dev \
# PKG_BIN_DIR=%{buildroot}%{_bindir} \
# PKG_MAN_DIR=%{buildroot}%{_mandir} \
# PKG_DOC_DIR=%{buildroot}%{_docdir}/%{name} \
# PKG_LOCALE_DIR=%{buildroot}%{_datadir}/locale \
# PKG_INC_DIR=%{buildroot}%{_includedir} \
# PKG_DEVLIB_DIR=%{buildroot}%{_libdir} \
# PKG_LIB_DIR=%{buildroot}/%{_lib}
#rm -f %{buildroot}%{_libdir}/libacl.so
#install -d -m0755 %{buildroot}%{_libdir}
#%if "%{_host}" == "%{_build}"
#ln -sf ../../%{_lib}/libacl.so %{buildroot}%{_libdir}/libacl.so
#%endif
#chmod 0755 %{buildroot}/%{_lib}/libacl.so.*.*.*
#arm -f %{buildroot}/%{_libdir}/libacl.a
#rm -f %{buildroot}/%{_libdir}/libacl.la
#rm -f %{buildroot}/%{_lib}/libacl.a
#rm -f %{buildroot}/%{_lib}/libacl.la
%find_lang acl
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libacl.so.*
%doc README
%files devel
%defattr(-,root,root)
%dir %{_includedir}/acl
%{_includedir}/acl/*.h
%{_includedir}/sys/acl.h
%{_libdir}/libacl.so
%{_libdir}/libacl.la
%{_mandir}/man3/*.3.gz
%{_libdir}/pkgconfig/libacl.pc
%dir %{_docdir}/acl
%{_docdir}/acl/*
%files tools -f acl.lang
%defattr(-,root,root)
%{_bindir}/chacl
%{_bindir}/getfacl
%{_bindir}/setfacl
%{_mandir}/man1/chacl.1.gz
%{_mandir}/man1/getfacl.1.gz
%{_mandir}/man1/setfacl.1.gz
%{_mandir}/man5/acl.5.gz
%changelog
* Sun Mar 21 2021 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic update by autodist
* Sat Jul 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.53-1mamba
- update to 2.2.53
* Mon Jul 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.52-2mamba
- remove -static package and *.la *.a files
* Mon May 20 2013 Automatic Build System <autodist@mambasoft.it> 2.2.52-1mamba
- automatic version update by autodist
* Sun Dec 09 2012 Automatic Build System <autodist@mambasoft.it> 2.2.51-1mamba
- update to 2.2.51
* Sun Nov 30 2008 gil <puntogil@libero.it> 2.2.47-1mamba
- package created by autospec