gjs/gjs.spec
2020-10-09 16:06:42 +08:00

74 lines
1.9 KiB
RPMSpec

Name: gjs
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.65/gjs-%{version}.tar.xz
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.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
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}
%description devel
Development files for gjs.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%files
%defattr(-,root,root)
%doc NEWS README.md
%license COPYING
%{_bindir}/gjs*
%{_libdir}/*.so.*
%{_libdir}/gjs
%files devel
%defattr(-,root,root)
%doc examples/*
%{_includedir}/gjs-1.0
%{_libdir}/pkgconfig/gjs-1.0.pc
%{_libdir}/*.so
%{_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 <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
- SUG:NA
- DESC:add dbus-daemon in buildrequires
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.54.1-4
- change the path of files
* Wed Sep 11 2019 Lijin Yang <yanglijin@huawei.com> - 1.54.1-3
- Package init