|
@@ -10,9 +10,9 @@
|
|
|
|
|
|
Name: gdk-pixbuf2
|
|
Name: gdk-pixbuf2
|
|
Summary: An image loading library
|
|
Summary: An image loading library
|
|
-Version: 2.40.0
|
|
+Version: 2.42.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Group: System Environment/Libraries
|
|
+Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
@@ -26,7 +26,6 @@ BuildRequires: glib2-devel >= 2.36.0
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libjpeg-turbo-devel
|
|
BuildRequires: libjpeg-turbo-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libtiff-devel
|
|
-BuildRequires: libX11-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildConflicts: jasper-devel
|
|
BuildConflicts: jasper-devel
|
|
|
|
|
|
@@ -55,7 +54,7 @@ clutter.
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for gdk-pixbuf
|
|
Summary: Development files for gdk-pixbuf
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: glib2-devel
|
|
Requires: glib2-devel
|
|
Requires: gobject-introspection-devel
|
|
Requires: gobject-introspection-devel
|
|
@@ -73,8 +72,8 @@ for writing applications that are using gdk-pixbuf.
|
|
# compat32
|
|
# compat32
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: An image loading library
|
|
Summary: An image loading library
|
|
-Group: System Environment/Libraries
|
|
+Group: system,legacy
|
|
-Requires(post): compat32-glib2 >= %{glib2_version}
|
|
+Requires(post): compat32-glib2
|
|
# gdk-pixbuf was included in gtk2 until 2.21.2
|
|
# gdk-pixbuf was included in gtk2 until 2.21.2
|
|
Conflicts: compat32-gtk2 <= 2.21.2
|
|
Conflicts: compat32-gtk2 <= 2.21.2
|
|
|
|
|
|
@@ -85,7 +84,7 @@ clutter.
|
|
|
|
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Development files for gdk-pixbuf
|
|
Summary: Development files for gdk-pixbuf
|
|
-Group: Development/Libraries
|
|
+Group: programming,legacy
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: compat32-libpng-devel
|
|
Requires: compat32-libpng-devel
|
|
@@ -96,14 +95,17 @@ Conflicts: compat32-gtk2-devel <= 2.21.2
|
|
%description -n compat32-%{name}-devel
|
|
%description -n compat32-%{name}-devel
|
|
This package contains the libraries and header files that are needed
|
|
This package contains the libraries and header files that are needed
|
|
for writing applications that are using gdk-pixbuf.
|
|
for writing applications that are using gdk-pixbuf.
|
|
-
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q -n gdk-pixbuf-%{version}
|
|
%setup -q -n gdk-pixbuf-%{version}
|
|
## %patch0 -p1 -b .libpng-linking
|
|
## %patch0 -p1 -b .libpng-linking
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
%meson \
|
|
%meson \
|
|
-Dbuiltin_loaders=png \
|
|
-Dbuiltin_loaders=png \
|
|
@@ -124,26 +126,23 @@ touch %{buildroot}%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
|
|
|
|
|
%find_lang gdk-pixbuf
|
|
%find_lang gdk-pixbuf
|
|
|
|
|
|
-%post
|
|
+
|
|
-/sbin/ldconfig
|
|
+%ldconfig_scriptlets
|
|
|
|
+
|
|
|
|
+%transfiletriggerin -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
|
|
gdk-pixbuf-query-loaders --update-cache || : > /dev/null 2>&1
|
|
gdk-pixbuf-query-loaders --update-cache || : > /dev/null 2>&1
|
|
|
|
|
|
-%postun
|
|
+%transfiletriggerpostun -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
|
|
-/sbin/ldconfig
|
|
+gdk-pixbuf-query-loaders --update-cache || : > /dev/null 2>&1
|
|
-if [ $1 -gt 0 ]; then
|
|
|
|
- gdk-pixbuf-query-loaders --update-cache || : > /dev/null 2>&1
|
|
|
|
-fi
|
|
|
|
|
|
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
-%post -n compat32-%{name}
|
|
+%ldconfig_scriptlets -n compat32-%{name}
|
|
-/sbin/ldconfig
|
|
+
|
|
|
|
+%transfiletriggerin -n compat32-%{name} -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
|
|
gdk-pixbuf-query-loaders%{_query_suffix} --update-cache || : > /dev/null 2>&1
|
|
gdk-pixbuf-query-loaders%{_query_suffix} --update-cache || : > /dev/null 2>&1
|
|
|
|
|
|
-%postun -n compat32-%{name}
|
|
+%transfiletriggerpostun -n compat32-%{name} -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
|
|
-/sbin/ldconfig
|
|
+gdk-pixbuf-query-loaders%{_query_suffix} --update-cache || : > /dev/null 2>&1
|
|
-if [ $1 -gt 0 ]; then
|
|
|
|
- gdk-pixbuf-query-loaders%{_query_suffix} --update-cache || : > /dev/null 2>&1
|
|
|
|
-fi
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
@@ -154,7 +153,6 @@ fi
|
|
%{_bindir}/gdk-pixbuf-pixdata
|
|
%{_bindir}/gdk-pixbuf-pixdata
|
|
%{_bindir}/gdk-pixbuf-thumbnailer
|
|
%{_bindir}/gdk-pixbuf-thumbnailer
|
|
%{_libdir}/libgdk_pixbuf-2.0.so.*
|
|
%{_libdir}/libgdk_pixbuf-2.0.so.*
|
|
-%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0
|
|
%{_libdir}/girepository-1.0
|
|
%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
|
|
@@ -169,9 +167,7 @@ fi
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/gdk-pixbuf-2.0
|
|
%{_includedir}/gdk-pixbuf-2.0
|
|
%{_libdir}/libgdk_pixbuf-2.0.so
|
|
%{_libdir}/libgdk_pixbuf-2.0.so
|
|
-%{_libdir}/libgdk_pixbuf_xlib-2.0.so
|
|
|
|
%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
|
|
%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
|
|
-%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
|
|
|
|
%{_bindir}/gdk-pixbuf-csource
|
|
%{_bindir}/gdk-pixbuf-csource
|
|
%{_datadir}/gtk-doc/html/*
|
|
%{_datadir}/gtk-doc/html/*
|
|
%{_datadir}/gir-1.0
|
|
%{_datadir}/gir-1.0
|
|
@@ -181,7 +177,6 @@ fi
|
|
%files -n compat32-%{name}
|
|
%files -n compat32-%{name}
|
|
%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
|
|
@@ -192,11 +187,14 @@ fi
|
|
%files -n compat32-%{name}-devel
|
|
%files -n compat32-%{name}-devel
|
|
%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
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.42.2-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- updated %%post{,un} and trigger scripts.
|
|
|
|
+
|
|
* Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.40.0-1
|
|
* Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.40.0-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|