## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: gdk-pixbuf2-modules-extra Version: 2.44.0 Release: %autorelease Summary: Extra image loaders for gdk-pixbuf2 License: LGPL-2.1-or-later URL: https://gitlab.gnome.org/GNOME/gdk-pixbuf Source0: https://download.gnome.org/sources/gdk-pixbuf/2.44/gdk-pixbuf-%{version}.tar.xz BuildRequires: gcc BuildRequires: gettext BuildRequires: pkgconfig(gio-2.0) BuildRequires: meson # gdk-pixbuf does a configure time check which uses the GIO mime # layer; we need to actually have the mime type database. BuildRequires: shared-mime-info Requires: gdk-pixbuf2%{?_isa} > 2.43.0 %if 0%{?fedora} >= 44 %global contents a module for loading XPM images %else %global contents modules for loading ANI, ICNS, QTIF, XBM, and XPM images %endif %description gdk-pixbuf is an image loading library that can be extended by loadable modules for new image formats. It is used by toolkits such as GTK+ or clutter. This package contains %{contents}. %prep %autosetup -n gdk-pixbuf-%{version} -p1 %build %meson \ -Dpng=disabled \ -Dtiff=disabled \ -Djpeg=disabled \ -Dgif=disabled \ -Dglycin=disabled \ -Dandroid=disabled \ -Dothers=enabled \ -Dbuiltin_loaders=none \ -Ddocumentation=false \ -Dintrospection=disabled \ -Dman=false \ -Dinstalled_tests=false \ -Dthumbnailer=disabled \ %{nil} %global _smp_mflags -j1 %meson_build %check %meson_test %install %meson_install rm -r $RPM_BUILD_ROOT%{_bindir} # gdk-pixbuf2 package includes locale data for our modules rm -r $RPM_BUILD_ROOT%{_datadir}/locale rm -r $RPM_BUILD_ROOT%{_includedir} rm $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-{bmp,ico,pnm,tga}.so %if 0%{?fedora} >= 44 rm $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-{ani,icns,qtif,xbm}.so %endif rm $RPM_BUILD_ROOT%{_libdir}/libgdk_pixbuf-2.0* rm -r $RPM_BUILD_ROOT%{_libdir}/pkgconfig %files %license COPYING %doc NEWS README.md %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.so %changelog ## START: Generated by rpmautospec * Tue Sep 09 2025 Benjamin Gilbert - 2.44.0-1 - Update to 2.44.0 - Drop ANI, ICNS, QTIF, and XBM loaders on F44+ * Fri Sep 05 2025 Benjamin Gilbert - 2.43.5-1 - Update to 2.43.5 - Drop BMP, ICO, PNM, and TGA loaders; these are now supported via Glycin - Drop thumbnailer config, since gdk-pixbuf dropped the thumbnailer * Wed Jul 23 2025 Fedora Release Engineering - 2.42.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jan 16 2025 Fedora Release Engineering - 2.42.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 26 2024 Benjamin Gilbert - 2.42.12-1 - Initial import (fedora#2295748). ## END: Generated by rpmautospec