update to 2.2.53 [release 2.2.53-1mamba;Sat Jul 28 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 03:44:28 +01:00
parent 7b2e7fa3e0
commit a7f532ee28

View File

@ -1,14 +1,14 @@
### AUTOUPDATE-OFF: 1 ### AUTOUPDATE-OFF: 1
Name: libacl Name: libacl
Version: 2.2.52 Version: 2.2.53
Release: 2mamba Release: 1mamba
Summary: Access control list utilities Summary: Access control list utilities
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://oss.sgi.com/projects/xfs/source.html URL: http://oss.sgi.com/projects/xfs/source.html
Source: http://download.savannah.gnu.org/releases/acl/acl-%{version}.src.tar.gz Source: http://download.savannah.gnu.org/releases/acl/acl-%{version}.tar.gz
Patch0: libacl-2.2.47-build.patch Patch0: libacl-2.2.47-build.patch
Patch1: libacl-2.2.47-path_max.patch Patch1: libacl-2.2.47-path_max.patch
Patch2: libacl-2.2.47-params.patch Patch2: libacl-2.2.47-params.patch
@ -66,33 +66,37 @@ manipulating access control lists.
%build %build
touch .census touch .census
# acl abuses libexecdir # acl abuses libexecdir
%configure --libdir=/%{_lib} --libexecdir=%{_libdir} %configure \
%if "%{_host}" != "%{_build}" --disable-static
make LIBTOOL="%{_prefix}/%{_host}/%{_bindir}/libtool --tag=CC" LIBATTR="%{_prefix}/%{_host}/lib/libattr.so"
%else #\
make # --libdir=/%{_lib} \
%endif # --libexecdir=%{_libdir}
%make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install install-lib install-dev \ %makeinstall
PKG_BIN_DIR=%{buildroot}%{_bindir} \ #make install install-lib install-dev \
PKG_MAN_DIR=%{buildroot}%{_mandir} \ # PKG_BIN_DIR=%{buildroot}%{_bindir} \
PKG_DOC_DIR=%{buildroot}%{_docdir}/%{name} \ # PKG_MAN_DIR=%{buildroot}%{_mandir} \
PKG_LOCALE_DIR=%{buildroot}%{_datadir}/locale \ # PKG_DOC_DIR=%{buildroot}%{_docdir}/%{name} \
PKG_INC_DIR=%{buildroot}%{_includedir} \ # PKG_LOCALE_DIR=%{buildroot}%{_datadir}/locale \
PKG_DEVLIB_DIR=%{buildroot}%{_libdir} \ # PKG_INC_DIR=%{buildroot}%{_includedir} \
PKG_LIB_DIR=%{buildroot}/%{_lib} # PKG_DEVLIB_DIR=%{buildroot}%{_libdir} \
# PKG_LIB_DIR=%{buildroot}/%{_lib}
rm -f %{buildroot}%{_libdir}/libacl.so #rm -f %{buildroot}%{_libdir}/libacl.so
%if "%{_host}" == "%{_build}" #install -d -m0755 %{buildroot}%{_libdir}
ln -sf ../../%{_lib}/libacl.so %{buildroot}%{_libdir}/libacl.so #%if "%{_host}" == "%{_build}"
%endif #ln -sf ../../%{_lib}/libacl.so %{buildroot}%{_libdir}/libacl.so
chmod 0755 %{buildroot}/%{_lib}/libacl.so.*.*.* #%endif
rm -f %{buildroot}/%{_libdir}/libacl.a #chmod 0755 %{buildroot}/%{_lib}/libacl.so.*.*.*
rm -f %{buildroot}/%{_libdir}/libacl.la #arm -f %{buildroot}/%{_libdir}/libacl.a
rm -f %{buildroot}/%{_lib}/libacl.a #rm -f %{buildroot}/%{_libdir}/libacl.la
rm -f %{buildroot}/%{_lib}/libacl.la #rm -f %{buildroot}/%{_lib}/libacl.a
#rm -f %{buildroot}/%{_lib}/libacl.la
%find_lang acl %find_lang acl
@ -104,8 +108,7 @@ rm -f %{buildroot}/%{_lib}/libacl.la
%files %files
%defattr(-,root,root) %defattr(-,root,root)
#%{_libdir}/*.so.* %{_libdir}/libacl.so.*
/%{_lib}/libacl.so.*
%doc README %doc README
%files devel %files devel
@ -113,13 +116,12 @@ rm -f %{buildroot}/%{_lib}/libacl.la
%dir %{_includedir}/acl %dir %{_includedir}/acl
%{_includedir}/acl/*.h %{_includedir}/acl/*.h
%{_includedir}/sys/acl.h %{_includedir}/sys/acl.h
%if "%{_host}" == "%{_build}"
%{_libdir}/libacl.so %{_libdir}/libacl.so
%endif %{_libdir}/libacl.la
/%{_lib}/libacl.so
%{_mandir}/man3/*.3.gz %{_mandir}/man3/*.3.gz
%dir %{_docdir}/libacl %{_libdir}/pkgconfig/libacl.pc
%{_docdir}/libacl/* %dir %{_docdir}/acl
%{_docdir}/acl/*
%files tools -f acl.lang %files tools -f acl.lang
%defattr(-,root,root) %defattr(-,root,root)
@ -132,6 +134,9 @@ rm -f %{buildroot}/%{_lib}/libacl.la
%{_mandir}/man5/acl.5.gz %{_mandir}/man5/acl.5.gz
%changelog %changelog
* 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 * Mon Jul 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.52-2mamba
- remove -static package and *.la *.a files - remove -static package and *.la *.a files