diff --git a/gjs-1.54.1.tar.xz b/gjs-1.54.1.tar.xz deleted file mode 100644 index ff8e890..0000000 Binary files a/gjs-1.54.1.tar.xz and /dev/null differ diff --git a/gjs-1.65.4.tar.xz b/gjs-1.65.4.tar.xz new file mode 100644 index 0000000..3fa5755 Binary files /dev/null and b/gjs-1.65.4.tar.xz differ diff --git a/gjs.spec b/gjs.spec index afc8742..f90f0fc 100644 --- a/gjs.spec +++ b/gjs.spec @@ -1,16 +1,16 @@ Name: gjs -Version: 1.54.1 -Release: 5 +Version: 1.65.4 +Release: 1 Summary: using GNOME libraries from Javascript License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+) URL: https://wiki.gnome.org/Attic/Gjs -Source0: https://download.gnome.org/sources/gjs/1.54/gjs-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gjs/1.65/gjs-%{version}.tar.xz -BuildRequires: cairo-gobject-devel chrpath gobject-introspection-devel >= 1.41.4 -BuildRequires: glib2-devel >= 2.54.0 gtk3-devel >= 3.20 mozjs60-devel >= 60.2.2 +BuildRequires: cairo-gobject-devel chrpath gobject-introspection-devel >= 1.61.2 meson cmake sysprof-devel +BuildRequires: glib2-devel >= 2.58.0 gtk3-devel >= 3.20 mozjs68-devel >= 68.11.0 BuildRequires: readline-devel dbus-glib-devel gcc-c++ gettext pkgconfig dbus-daemon -Requires: glib2 >= 2.54.0 gobject-introspection >= 1.41.4 gtk3 >= 3.20 mozjs60 >= 60.2.2 +Requires: glib2 >= 2.58.0 gobject-introspection >= 1.61.2 gtk3 >= 3.20 mozjs68 >= 68.11.0 %description Gjs is a Javascript binding for GNOME. It's mainly based on Spidermonkey javascript @@ -27,24 +27,18 @@ Obsoletes: %{name}-tests < %{version}-%{release} Development files for gjs. %prep -%autosetup -n %{name}-%{version} -p1 +%autosetup -p1 %build -%configure --enable-installed-tests - -%make_build V=1 +%meson +%meson_build %install -%make_install - -chrpath --delete %{buildroot}%{_bindir}/gjs-console -chrpath --delete %{buildroot}%{_libexecdir}/gjs/installed-tests/minijasmine - -%delete_la +%meson_install %files %defattr(-,root,root) -%doc NEWS README +%doc NEWS README.md %license COPYING %{_bindir}/gjs* %{_libdir}/*.so.* @@ -56,12 +50,16 @@ chrpath --delete %{buildroot}%{_libexecdir}/gjs/installed-tests/minijasmine %{_includedir}/gjs-1.0 %{_libdir}/pkgconfig/gjs-1.0.pc %{_libdir}/*.so -%{_libexecdir}/gjs/installed-tests +%{_libexecdir}/installed-tests %{_datadir}/gjs-1.0/lsan/ %{_datadir}/gjs-1.0/valgrind/ %{_datadir}/installed-tests +%{_datadir}/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml %changelog +* Fri Oct 9 2020 jinzhimin - 1.65.4-1 +- update to 1.65.4 + * Mon Jan 20 2020 openEuler Buildteam - 1.54.1-5 - Type:bugfix - Id:NA