diff --git a/gtk2.changes b/gtk2.changes index 42baf1f..60e27c8 100644 --- a/gtk2.changes +++ b/gtk2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 8 22:11:26 UTC 2011 - dimstar@opensuse.org + +- Split typelib files in subpackage typelib-1_0-Gtk-2_0. + ------------------------------------------------------------------- Tue Nov 15 11:10:55 UTC 2011 - vuntz@opensuse.org diff --git a/gtk2.spec b/gtk2.spec index 375eb4d..80e136c 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -112,6 +112,15 @@ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. +%package -n typelib-1_0-Gtk-2_0 +Summary: The GTK+ toolkit library (version 2) +Group: System/Libraries + +%description -n typelib-1_0-Gtk-2_0 +GTK+ is a multi-platform toolkit for creating graphical user interfaces. +Offering a complete set of widgets, GTK+ is suitable for projects +ranging from small one-off projects to complete application suites. + %package immodule-amharic License: LGPLv2.1+ Summary: The GTK+ toolkit library (version 2) -- Amharic Input Method @@ -274,6 +283,7 @@ License: LGPLv2.1+ Summary: The GTK+ toolkit library (version 2) -- Development Files Group: Development/Libraries/X11 Requires: libgtk-2_0-0 = %{version} +Requires: typelib-1_0-Gtk-2_0 = %{version} # gtk-builder-convert needs this. Requires: python-xml # gail is part of gtk+ as of 2.13.x @@ -496,6 +506,9 @@ fi %{_libdir}/libgailutil.so.* %{_libdir}/libgdk-x11-2.0.so.* %{_libdir}/libgtk-x11-2.0.so.* + +%files -n typelib-1_0-Gtk-2_0 +%defattr(-,root,root) %{_libdir}/girepository-1.0/Gdk-2.0.typelib %{_libdir}/girepository-1.0/GdkX11-2.0.typelib %{_libdir}/girepository-1.0/Gtk-2.0.typelib