Add gtk-query-immodules-2.0 file triggers
https://bugzilla.redhat.com/show_bug.cgi?id=1352823
This commit is contained in:
parent
cb05c1c277
commit
20878a156c
34
gtk2.spec
34
gtk2.spec
@ -17,7 +17,7 @@
|
|||||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||||
Name: gtk2
|
Name: gtk2
|
||||||
Version: 2.24.30
|
Version: 2.24.30
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
@ -75,11 +75,10 @@ Requires: gtk-update-icon-cache
|
|||||||
# required to support all the different image formats
|
# required to support all the different image formats
|
||||||
Requires: gdk-pixbuf2-modules%{?_isa}
|
Requires: gdk-pixbuf2-modules%{?_isa}
|
||||||
|
|
||||||
# We need to prereq these so we can run gtk-query-immodules-2.0
|
Requires: glib2 >= %{glib2_version}
|
||||||
Requires(post): glib2 >= %{glib2_version}
|
Requires: atk >= %{atk_version}
|
||||||
Requires(post): atk >= %{atk_version}
|
Requires: pango >= %{pango_version}
|
||||||
Requires(post): pango >= %{pango_version}
|
# We need to prereq these so we can run gdk-pixbuf-query-loaders
|
||||||
# and these for gdk-pixbuf-query-loaders
|
|
||||||
Requires(post): libtiff >= 3.6.1
|
Requires(post): libtiff >= 3.6.1
|
||||||
Requires: libXrandr >= %{xrandr_version}
|
Requires: libXrandr >= %{xrandr_version}
|
||||||
|
|
||||||
@ -251,27 +250,15 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/immodules
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{bin_version}/filesystems
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{bin_version}/filesystems
|
||||||
|
|
||||||
|
|
||||||
%post
|
%transfiletriggerin -- %{_libdir}/gtk-2.0/immodules/ %{_libdir}/gtk-2.0/%{bin_version}/immodules/
|
||||||
/sbin/ldconfig
|
|
||||||
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
||||||
|
|
||||||
%post immodules
|
%transfiletriggerpostun -- %{_libdir}/gtk-2.0/immodules/ %{_libdir}/gtk-2.0/%{bin_version}/immodules/
|
||||||
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
||||||
|
|
||||||
%post immodule-xim
|
%post -p /sbin/ldconfig
|
||||||
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
if [ $1 -gt 0 ]; then
|
|
||||||
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun immodules
|
|
||||||
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
|
||||||
|
|
||||||
%postun immodule-xim
|
|
||||||
gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
|
||||||
|
|
||||||
%files -f gtk20.lang
|
%files -f gtk20.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -337,6 +324,9 @@ gtk-query-immodules-2.0-%{__isa_bits} --update-cache
|
|||||||
%doc tmpdocs/examples
|
%doc tmpdocs/examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 5 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.24.30-2
|
||||||
|
- Add gtk-query-immodules-2.0 file triggers
|
||||||
|
|
||||||
* Mon Mar 07 2016 Kalev Lember <klember@redhat.com> - 2.24.30-1
|
* Mon Mar 07 2016 Kalev Lember <klember@redhat.com> - 2.24.30-1
|
||||||
- Update to 2.24.30
|
- Update to 2.24.30
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user