Compare commits
10 Commits
819d360592
...
9fe68032ec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fe68032ec | ||
|
|
5d0d4f66ea | ||
|
|
2b24631fc8 | ||
|
|
5fd764adf2 | ||
|
|
502fd9e871 | ||
|
|
5295507663 | ||
|
|
6b5ffc1c2a | ||
|
|
6d25a1a09e | ||
|
|
8e382f71af | ||
|
|
bbfb67f3f1 |
Binary file not shown.
BIN
gjs-1.71.1.tar.xz
Normal file
BIN
gjs-1.71.1.tar.xz
Normal file
Binary file not shown.
73
gjs.spec
73
gjs.spec
@ -1,50 +1,57 @@
|
||||
%global glib2_version 2.58.0
|
||||
%global gobject_introspection_version 1.61.2
|
||||
%global gtk3_version 3.20
|
||||
%global mozjs91_version 91.6.0-1
|
||||
|
||||
Name: gjs
|
||||
Version: 1.54.1
|
||||
Release: 5
|
||||
Version: 1.71.1
|
||||
Release: 2
|
||||
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
|
||||
URL: https://wiki.gnome.org/Projects/Gjs
|
||||
Source0: https://download.gnome.org/sources/%{name}/1.71/%{name}-%{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: readline-devel dbus-glib-devel gcc-c++ gettext pkgconfig dbus-daemon
|
||||
BuildRequires: cairo-gobject-devel dbus-daemon dbus-glib-devel gcc-c++
|
||||
BuildRequires: meson cmake gettext pkgconfig readline-devel sysprof-devel
|
||||
BuildRequires: gtk3-devel >= %{gtk3_version}
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: mozjs91-devel >= %{mozjs91_version}
|
||||
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
||||
|
||||
Requires: glib2 >= 2.54.0 gobject-introspection >= 1.41.4 gtk3 >= 3.20 mozjs60 >= 60.2.2
|
||||
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
Requires: mozjs91%{?_isa} >= %{mozjs91_version}
|
||||
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
|
||||
|
||||
# Filter provides for private libraries
|
||||
%global __provides_exclude_from ^%{_libdir}/gjs/
|
||||
|
||||
%description
|
||||
Gjs is a Javascript binding for GNOME. It's mainly based on Spidermonkey javascript
|
||||
engine and the GObject introspection framework.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for gjs
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
Provides: %{name}-tests = %{version}-%{release}
|
||||
Obsoletes: %{name}-tests < %{version}-%{release}
|
||||
Summary: Development files for gjs
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Provides: %{name}-tests = %{version}-%{release}
|
||||
Obsoletes: %{name}-tests < %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
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 +63,28 @@ 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
|
||||
* Mon Feb 19 2024 hanhuihui <hanhuihui5@huawei.com> - 1.71.1-2
|
||||
- rebuild for glib2 without sysprof
|
||||
|
||||
* Wed Apr 06 2022 wangkai <wangkai385@huawei.com> - 1.71.1-1
|
||||
- Update to 1.71.1
|
||||
|
||||
* Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.66.2-1
|
||||
- Upgrade to 1.66.2
|
||||
|
||||
* Fri Nov 13 2020 chengguipeng <chengguipeng1@huawei.com> - 1.66.1-1
|
||||
- update to 1.66.1
|
||||
|
||||
* Fri Oct 9 2020 jinzhimin <jinzhimin2@huawei.com> - 1.65.4-1
|
||||
- update to 1.65.4
|
||||
|
||||
* Mon Jan 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.54.1-5
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user