Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
gnome-sdk-images
Commits
fdeb8bf3
Commit
fdeb8bf3
authored
Nov 26, 2014
by
Alexander Larsson
Browse files
Add gjs
parent
2afd1151
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
fdeb8bf3
...
...
@@ -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
\
$(NULL)
ALL_SPECS
=
$
(
PACKAGES:%
=
$(SPECS)
/%.spec
)
...
...
packages/SPECS/gjs.spec
0 → 100644
View file @
fdeb8bf3
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+)
URL: http://live.gnome.org/Gjs/
#VCS: git://git.gnome.org/gjs
Source0: http://download.gnome.org/sources/%{name}/1.42/%{name}-%{version}.tar.xz
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}
%description
Gjs allows using GNOME libraries from Javascript. It's based on the
Spidermonkey Javascript engine from Mozilla and the GObject introspection
framework.
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Files for development with %{name}.
%prep
%setup -q
%build
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
%configure --disable-static)
make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot}
#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%check
#make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING NEWS README
%{_bindir}/gjs
%{_bindir}/gjs-console
%{_libdir}/*.so.*
%{_libdir}/gjs
%files devel
%doc examples/*
%{_includedir}/gjs-1.0
%{_libdir}/pkgconfig/gjs-1.0.pc
%{_libdir}/pkgconfig/gjs-internals-1.0.pc
%{_libdir}/*.so
%changelog
* Wed Nov 26 2014 Alexander Larsson <alexl@redhat.com> - 1.42.0-1
- Initial version, based on F21
packages/SPECS/gnome-platform.spec
View file @
fdeb8bf3
...
...
@@ -29,6 +29,7 @@ Requires: desktop-file-utils
Requires: json-glib
Requires: libnotify
Requires: vte
Requires: gjs
%description
Meta package for Gnome SDK dependencies
...
...
packages/SPECS/gnome-sdk.spec
View file @
fdeb8bf3
...
...
@@ -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
%description
Meta package for Gnome SDK dependencies
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment