[packages/gdk-pixbuf2] up to 2.42.4
atler
atler at pld-linux.org
Thu Mar 25 11:59:06 CET 2021
commit 37abca6305a50752475c32cdd57366c31c093dcb
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Mar 25 11:58:30 2021 +0100
up to 2.42.4
- uses gi-docgen now
gdk-pixbuf2.spec | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/gdk-pixbuf2.spec b/gdk-pixbuf2.spec
index 4d24b7f..dead2c6 100644
--- a/gdk-pixbuf2.spec
+++ b/gdk-pixbuf2.spec
@@ -6,19 +6,19 @@
Summary: GdkPixbuf - an image loading and scaling library
Summary(pl.UTF-8): GdkPixbuf - biblioteka ładująca i skalująca obrazki
Name: gdk-pixbuf2
-Version: 2.42.2
+Version: 2.42.4
Release: 1
License: LGPL v2+
Group: Libraries
Source0: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-%{version}.tar.xz
-# Source0-md5: 7d7617db8dae8ce313160384ab0a71db
+# Source0-md5: 628e4767d1636a06dea5b0fa4838f723
URL: https://developer.gnome.org/gdk-pixbuf/
BuildRequires: docbook-dtd43-xml
BuildRequires: docbook-style-xsl
BuildRequires: gettext-tools >= 0.19
BuildRequires: glib2-devel >= 1:2.56.0
BuildRequires: gobject-introspection-devel >= 0.10.0
-BuildRequires: gtk-doc >= 1.20
+%{?with_apidocs:BuildRequires: gi-docgen >= 2021.1}
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel >= 1.0
BuildRequires: libtiff-devel >= 4
@@ -111,12 +111,18 @@ rm -rf $RPM_BUILD_ROOT
%ninja_install -j1 -C build
+install -d $RPM_BUILD_ROOT%{_gtkdocdir}
+
%if "%{_lib}" != "lib"
# We need to have 32-bit and 64-bit binaries as they have hardcoded LIBDIR.
# (needed when multilib is used)
%{__mv} $RPM_BUILD_ROOT%{_bindir}/gdk-pixbuf-query-loaders{,%{pqext}}
%endif
+%if %{with apidocs}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/doc/gdk-pixbuf $RPM_BUILD_ROOT%{_gtkdocdir}
+%endif
+
touch $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/%{abiver}/loaders.cache
%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr at ije,sr at ijekavian}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gdk-pixbuf2.git/commitdiff/37abca6305a50752475c32cdd57366c31c093dcb
More information about the pld-cvs-commit
mailing list