i10ce
changed/i10ce/gdk-pixbuf2-modules-extra-2.42.12-2.el10
commit
14191c8854
@ -0,0 +1 @@
|
||||
06a622bc6a591b32adbd7698a176ee8e9d6cf9c9 SOURCES/gdk-pixbuf-2.42.12.tar.xz
|
@ -0,0 +1 @@
|
||||
SOURCES/gdk-pixbuf-2.42.12.tar.xz
|
@ -0,0 +1,87 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.7.3)
|
||||
## RPMAUTOSPEC: autorelease, autochangelog
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 2;
|
||||
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.42.12
|
||||
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.42/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
|
||||
|
||||
# Avoid file conflicts with old gdk-pixbuf2-modules. We don't want to require
|
||||
# that package, but luckily it has a fully versioned dependency on gdk2-pixbuf.
|
||||
# The version here should correspond to the newest gdk-pixbuf2 in F40.
|
||||
Requires: gdk-pixbuf2%{?_isa} > 2.42.10-8.fc40
|
||||
|
||||
%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 modules for loading ANI, BMP, ICNS, ICO, PNM, QTIF,
|
||||
TGA, XBM, and XPM images.
|
||||
|
||||
%prep
|
||||
%autosetup -n gdk-pixbuf-%{version} -p1
|
||||
|
||||
%build
|
||||
%meson \
|
||||
-Dpng=disabled \
|
||||
-Dtiff=disabled \
|
||||
-Djpeg=disabled \
|
||||
-Dgif=disabled \
|
||||
-Dothers=enabled \
|
||||
-Dbuiltin_loaders=none \
|
||||
-Dintrospection=disabled \
|
||||
-Dman=false \
|
||||
-Dinstalled_tests=false \
|
||||
%{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}/libgdk_pixbuf-2.0*
|
||||
rm -r $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
||||
# ship our own copy of the thumbnailer config to pick up our MIME types
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/thumbnailers/gdk-pixbuf{,-modules-extra}-thumbnailer.thumbnailer
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc NEWS README.md
|
||||
%{_datadir}/thumbnailers/*.thumbnailer
|
||||
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.so
|
||||
|
||||
%changelog
|
||||
* Sun Jan 12 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.42.12-2
|
||||
- Rebuilt for MSVSphere 10
|
||||
|
||||
## START: Generated by rpmautospec
|
||||
* Fri Jul 26 2024 Benjamin Gilbert <bgilbert@backtick.net> - 2.42.12-1
|
||||
- Initial import (fedora#2295748).
|
||||
## END: Generated by rpmautospec
|
Loading…
Reference in new issue