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

Update to 1.31.6

OBS-URL: https://build.opensuse.org/request/show/97406
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=56
This commit is contained in:
Vincent Untz 2011-12-21 05:05:24 +00:00 committed by Git OBS Bridge
parent 8f542b9868
commit 2f146bd0ed
4 changed files with 30 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cbf1f2bcbf5315a42e9f2b67bda8eedb7046c743f373713505bf769789e40939
size 545185

3
gjs-1.31.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4a3628c651675f98dc2f2121cdf113611cc1f8ba0c326b3c7c8063240ba61b4
size 454072

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Dec 20 20:34:37 UTC 2011 - vuntz@opensuse.org
- Update to version 1.31.6:
+ Require mozjs185.
+ Add a common way to grab a GType for an object
+ Some work to improve support for ParamSpec.
+ lang:
- Add new "Class" framework adapted from MooTools
- Improve prototype property descriptors
- Introduce abstract classes
- Fix for reentrant calls
+ console: Fix ARGV when using -c to specify program
+ Several overrides improvements.
+ Various other code changes.
- Remove %build_with_xulrunner define: only building against
mozjs185 is supported now.
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
-------------------------------------------------------------------
Fri Oct 28 07:55:21 UTC 2011 - dimstar@opensuse.org

View File

@ -15,35 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Set to 1 to build with xulrunner, else we build with js
%define build_with_xulrunner 0
%define xulrunner_ver 20
Name: gjs
Version: 1.31.0
Release: 1
Version: 1.31.6
Release: 0
# FIXME: find out if tapsets should really be in devel package or in main package
License: MIT License (or similar)
Summary: JavaScript bindings based on gobject-introspection and Mozilla
License: MIT
Group: Development/Libraries/GNOME
Url: http://live.gnome.org/Gjs
Source: http://download.gnome.org/sources/gjs/1.31/%{name}-%{version}.tar.bz2
Source: http://download.gnome.org/sources/gjs/1.31/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++
%if %{build_with_xulrunner}
BuildRequires: mozilla-xulrunner%{xulrunner_ver}-devel
%endif
BuildRequires: python
BuildRequires: readline-devel
BuildRequires: systemtap-sdt-devel
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29.16
%if ! %{build_with_xulrunner}
BuildRequires: pkgconfig(mozjs185)
%endif
Requires: libgjs0 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -52,14 +43,7 @@ This module contains JavaScript bindings based on gobject-introspection and the
Mozilla SpiderMonkey JavaScript engine.
%package -n libgjs0
License: MIT License (or similar)
Summary: JavaScript bindings based on gobject-introspection and Mozilla
Group: Development/Libraries/GNOME
%if %{build_with_xulrunner}
# Explicitly requires the xulrunner version we need, instead of hoping we'll
# get the right one with the libmozjs.so Requires.
Requires: mozilla-xulrunner%{xulrunner_ver}
%endif
Provides: libgjs-0 = %{version}
Obsoletes: libgjs-0 < %{version}
@ -68,13 +52,8 @@ This module contains JavaScript bindings based on gobject-introspection and the
Mozilla SpiderMonkey JavaScript engine.
%package -n libgjs-devel
License: MIT License (or similar)
Summary: JavaScript bindings based on gobject-introspection and Mozilla
Group: Development/Libraries/GNOME
Requires: libgjs0 = %{version}
%if %{build_with_xulrunner}
Requires: mozilla-xulrunner%{xulrunner_ver}-devel
%endif
# Just a helper provides
Provides: gjs-devel = %{version}