diff --git a/gjs.changes b/gjs.changes index 253f145..dfdedcc 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 24 14:09:35 UTC 2011 - vuntz@opensuse.org + +- Split typelib file into typelib-1_0-GjsDBus-1_0 subpackage. +- Add typelib-1_0-GjsDBus-1_0 Requires to devel subpackage. + ------------------------------------------------------------------- Tue Dec 20 20:34:37 UTC 2011 - vuntz@opensuse.org diff --git a/gjs.spec b/gjs.spec index 8c0a52a..e698706 100644 --- a/gjs.spec +++ b/gjs.spec @@ -44,6 +44,7 @@ Mozilla SpiderMonkey JavaScript engine. %package -n libgjs0 Summary: JavaScript bindings based on gobject-introspection and Mozilla +Group: Development/Libraries/GNOME Provides: libgjs-0 = %{version} Obsoletes: libgjs-0 < %{version} @@ -51,9 +52,19 @@ Obsoletes: libgjs-0 < %{version} This module contains JavaScript bindings based on gobject-introspection and the Mozilla SpiderMonkey JavaScript engine. +%package -n typelib-1_0-GjsDBus-1_0 +Summary: GJS DBus utility library -- Introspection bindings +Group: Development/Libraries/GNOME + +%description -n typelib-1_0-GjsDBus-1_0 +This module contains JavaScript bindings based on gobject-introspection and the +Mozilla SpiderMonkey JavaScript engine. + %package -n libgjs-devel Summary: JavaScript bindings based on gobject-introspection and Mozilla +Group: Development/Libraries/GNOME Requires: libgjs0 = %{version} +Requires: typelib-1_0-GjsDBus-1_0 # Just a helper provides Provides: gjs-devel = %{version} @@ -94,9 +105,12 @@ rm -rf %{buildroot} %{_datadir}/gjs-1.0/ %{_libdir}/*.so.* %dir %{_libdir}/gjs -%{_libdir}/gjs/GjsDBus-1.0.typelib %{_libdir}/gjs-1.0/ +%files -n typelib-1_0-GjsDBus-1_0 +%defattr(-,root,root) +%{_libdir}/gjs/GjsDBus-1.0.typelib + %files -n libgjs-devel %defattr(-,root,root) %{_includedir}/*