SHA256
1
0
forked from pool/gjs

Accepting request 98101 from home:vuntz:branches:GNOME:Factory

Split typelib out to fix build

OBS-URL: https://build.opensuse.org/request/show/98101
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=57
This commit is contained in:
Vincent Untz 2011-12-24 14:24:50 +00:00 committed by Git OBS Bridge
parent 2f146bd0ed
commit 0f341cd698
2 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -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}/*