update to 1.6.42 [release 1.6.42-1mamba;Mon Feb 12 2024]

This commit is contained in:
Silvan Calarco 2024-02-13 17:07:57 +01:00
parent 4aed3b0680
commit b82f289b07

View File

@ -1,6 +1,7 @@
%define apiver %(echo %version | cut -d. -f1-2 | tr -d .)
%define apngver 1.6.40
Name: libpng
Version: 1.6.40
Version: 1.6.42
Release: 1mamba
Summary: A library of functions for manipulating PNG image format files
Group: System/Libraries
@ -9,7 +10,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.libpng.org/pub/png/libpng.html
Source: http://downloads.sourceforge.net/sourceforge/libpng/libpng-%{version}.tar.xz
Source1: http://downloads.sourceforge.net/project/libpng-apng/libpng%{apiver}/%{version}/libpng-%{version}-apng.patch.gz
Source1: http://downloads.sourceforge.net/project/libpng-apng/libpng%{apiver}/%{apngver}/libpng-%{apngver}-apng.patch.gz
Patch1: %{name}-1.2.8-link_to_proper_libs.patch
Patch2: libpng-1.6.5-arm-buildfix.patch
License: OSI Approved
@ -39,7 +40,6 @@ You'll also need to install the libpng package.
%prep
%setup -q
gunzip -c %{SOURCE1} | patch -p1
#%patch2 -p1
%build
%configure --enable-shared --enable-static
@ -59,14 +59,12 @@ rm -f %{buildroot}%{_libdir}/libpng.la
%files
%defattr(-,root,root)
#%{_libdir}/libpng.so.*
%{_libdir}/libpng%{apiver}.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%{_bindir}/png-fix-itxt
#%{_bindir}/pngcp
%{_bindir}/pngfix
%{_bindir}/libpng-config
%{_bindir}/libpng%{apiver}-config
@ -99,6 +97,9 @@ rm -f %{buildroot}%{_libdir}/libpng.la
%endif
%changelog
* Mon Feb 12 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.42-1mamba
- update to 1.6.42
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 1.6.40-1mamba
- automatic version update by autodist