update to 2.42.0 [release 2.42.0-1mamba;Mon Nov 30 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:21:15 +01:00
parent a2a34a07df
commit 4586982264

View File

@ -1,14 +1,8 @@
%define majversion %(echo %version | cut -d. -f 1-2) %define majversion %(echo %version | cut -d. -f 1-2)
%ifarch x86_64
%define arch_suffix -64
%else
%define arch_suffix -32
%endif
Name: libgdk-pixbuf Name: libgdk-pixbuf
Epoch: 1 Epoch: 1
Version: 2.40.0 Version: 2.42.0
Release: 1mamba Release: 1mamba
Summary: An image loading library Summary: An image loading library
Group: System/Libraries Group: System/Libraries
@ -16,14 +10,12 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://slackpacks.tchelinux.com.br/gdk-pixbuf URL: http://slackpacks.tchelinux.com.br/gdk-pixbuf
Source: ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/%{majversion}/gdk-pixbuf-%{version}.tar.xz Source: https://download.gnome.org/sources/gdk-pixbuf/%{majversion}/gdk-pixbuf-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig BuildRequires: ldconfig
BuildRequires: libX11-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
@ -72,22 +64,10 @@ This package contains %{name} API documentation.
%build %build
%meson \ %meson \
-Ddocs=true \ -Ddocs=true
-Djasper=true \
-Dx11=true
%meson_build %meson_build
#% configure \
#%ifnarch arm
# --enable-gtk-doc \
#%endif
# --with-libjasper \
# --with-x11 \
# --program-suffix=%{arch_suffix}
#
#% make
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%meson_install %meson_install
@ -104,7 +84,6 @@ install -d -m0755 %{buildroot}%{_libexecdir}
mv %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders %{buildroot}%{_libexecdir}/gdk-pixbuf-query-loaders mv %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders %{buildroot}%{_libexecdir}/gdk-pixbuf-query-loaders
ln -s %{_libexecdir}/gdk-pixbuf-query-loaders %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders ln -s %{_libexecdir}/gdk-pixbuf-query-loaders %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -139,7 +118,6 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libgdk_pixbuf-2.0.so.* %{_libdir}/libgdk_pixbuf-2.0.so.*
%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
%dir %{_libdir}/gdk-pixbuf-2.0 %dir %{_libdir}/gdk-pixbuf-2.0
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0 %dir %{_libdir}/gdk-pixbuf-2.0/2.10.0
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders %dir %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
@ -164,10 +142,7 @@ fi
%dir %{_includedir}/gdk-pixbuf-2.0 %dir %{_includedir}/gdk-pixbuf-2.0
%dir %{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf %dir %{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf
%{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf/*.h %{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf/*.h
%dir %{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf-xlib
%{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf-xlib/*.h
%{_libdir}/libgdk_pixbuf-2.0.so %{_libdir}/libgdk_pixbuf-2.0.so
%{_libdir}/libgdk_pixbuf_xlib-2.0.so
%{_datadir}/gir-1.0/GdkPixbuf-2.0.gir %{_datadir}/gir-1.0/GdkPixbuf-2.0.gir
%{_datadir}/gir-1.0/GdkPixdata-2.0.gir %{_datadir}/gir-1.0/GdkPixdata-2.0.gir
%dir %{_libexecdir}/installed-tests/gdk-pixbuf %dir %{_libexecdir}/installed-tests/gdk-pixbuf
@ -175,7 +150,6 @@ fi
%dir %{_datadir}/installed-tests/gdk-pixbuf %dir %{_datadir}/installed-tests/gdk-pixbuf
%{_datadir}/installed-tests/gdk-pixbuf/* %{_datadir}/installed-tests/gdk-pixbuf/*
%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc %{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
%{_mandir}/man1/gdk-pixbuf-csource.1* %{_mandir}/man1/gdk-pixbuf-csource.1*
%doc NEWS %doc NEWS
@ -185,6 +159,9 @@ fi
%{_datadir}/gtk-doc/html/gdk-pixbuf/* %{_datadir}/gtk-doc/html/gdk-pixbuf/*
%changelog %changelog
* Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.42.0-1mamba
- update to 2.42.0
* Sun May 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.40.0-1mamba * Sun May 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.40.0-1mamba
- update to 2.40.0 - update to 2.40.0