diff --git a/libwnck.changes b/libwnck.changes index 6a4b6ef..98733b5 100644 --- a/libwnck.changes +++ b/libwnck.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 8 22:13:57 UTC 2011 - dimstar@opensuse.org + +- Split typelib file into typelib-1_0-Wnck-3_0 subpackage. +- Add typelib-1_0-Wnck-3_0 Requires to devel subpackage. + ------------------------------------------------------------------- Sun Oct 16 17:15:46 UTC 2011 - vuntz@opensuse.org diff --git a/libwnck.spec b/libwnck.spec index 0102943..e7c1ac6 100644 --- a/libwnck.spec +++ b/libwnck.spec @@ -15,16 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: libwnck Version: 3.2.1 -Release: 1 -License: LGPL-2.1+ +Release: 0 # WARNING: After changing versions please call Re or rpmbuild to auto-update spec file: #%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libwnck-1) %define libwnck-3_name 0 Summary: Window Navigator Construction Kit (Library Package) +License: LGPL-2.1+ Group: Development/Libraries/GNOME Source: http://download.gnome.org/sources/libwnck/3.2/%{name}-%{version}.tar.bz2 Source1: %{name}_spec-update.sh @@ -42,7 +40,6 @@ The Window Navigator Construction Kit is a library that can be used to write task lists, pagers, and similar GNOME programs. %package -n libwnck-3-0 -License: LGPL-2.1+ Summary: Window Navigator Construction Kit (Library Package) Group: Development/Libraries/GNOME Provides: %{name} = %{version} @@ -58,8 +55,17 @@ Obsoletes: libwnck-64bit The Window Navigator Construction Kit is a library that can be used to write task lists, pagers, and similar GNOME programs. +%package -n typelib-1_0-Wnck-3_0 +Summary: Window Navigator Construction Kit (Library Package) -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-Wnck-3_0 +The Window Navigator Construction Kit is a library that can be used to +write task lists, pagers, and similar GNOME programs. + +This package provides the GObject Introspection bindings for libwnck. + %package tools -License: LGPL-2.1+ Summary: Window Navigator Construction Kit -- Tools Group: Development/Libraries/GNOME @@ -70,10 +76,10 @@ write task lists, pagers, and similar GNOME programs. This package provides some utilities based on libwnck. %package devel -License: LGPL-2.1+ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/GNOME Requires: libwnck-3-0 = %{version} +Requires: typelib-1_0-Wnck-3_0 = %{version} # bug437293 %ifarch ppc64 Obsoletes: libwnck-devel-64bit @@ -123,6 +129,9 @@ rm -rf %{buildroot} %defattr(-,root,root) %doc AUTHORS COPYING README NEWS ChangeLog %{_libdir}/*.so.* + +%files -n typelib-1_0-Wnck-3_0 +%defattr(-,root,root) %{_libdir}/girepository-1.0/Wnck-3.0.typelib %files devel