Commit fdeb8bf3 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add gjs

parent 2afd1151
......@@ -40,7 +40,7 @@ PACKAGES = \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
gtk2 gnome-themes-standard libproxy gsettings-desktop-schemas glib-networking libsoup \
dconf gvfs desktop-file-utils json-glib libnotify vte mozjs24 \
dconf gvfs desktop-file-utils json-glib libnotify vte mozjs24 gjs \
Name: gjs
Version: 1.42.0
Release: 1%{?dist}
Summary: Javascript Bindings for GNOME
Group: System Environment/Libraries
# The following files contain code from Mozilla which
# is triple licensed under MPL1.1/LGPLv2+/GPLv2+:
# The console module (modules/console.c)
# Stack printer (gjs/stack.c)
License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+)
#VCS: git://
BuildRequires: gnome-sdk-base
BuildRequires: mozjs24-devel
BuildRequires: cairo-gobject-devel
BuildRequires: gobject-introspection-devel
BuildRequires: dbus-glib-devel
BuildRequires: gtk3-devel
BuildRequires: gnome-common
Requires: gobject-introspection%{?_isa}
Gjs allows using GNOME libraries from Javascript. It's based on the
Spidermonkey Javascript engine from Mozilla and the GObject introspection
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Files for development with %{name}.
%setup -q
(if ! test -x configure; then NOCONFIGURE=1 ./; fi;
%configure --disable-static)
make %{?_smp_mflags} V=1
make install DESTDIR=%{buildroot}
#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'
#make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files devel
%doc examples/*
* Wed Nov 26 2014 Alexander Larsson <> - 1.42.0-1
- Initial version, based on F21
......@@ -29,6 +29,7 @@ Requires: desktop-file-utils
Requires: json-glib
Requires: libnotify
Requires: vte
Requires: gjs
Meta package for Gnome SDK dependencies
......@@ -25,6 +25,7 @@ BuildRequires: desktop-file-utils
BuildRequires: json-glib
BuildRequires: libnotify-devel
BuildRequires: vte-devel
BuildRequires: gjs-devel
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
......@@ -80,6 +81,7 @@ Requires: dconf-devel
Requires: libsoup-devel
Requires: libproxy-devel
Requires: gsettings-desktop-schemas
Requires: gjs-devel mozjs24-devel
Meta package for Gnome SDK dependencies
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment