From f89c91db4f282b7ed90b2c7f3aba41743bdf4870 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:23:29 +0000 Subject: import gjs-1.46.0-1.el7 --- diff --git a/.gitignore b/.gitignore index 3d32547..94b26d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gjs-1.42.0.tar.xz +SOURCES/gjs-1.46.0.tar.xz diff --git a/.gjs.metadata b/.gjs.metadata index 269e0b6..5df8e58 100644 --- a/.gjs.metadata +++ b/.gjs.metadata @@ -1 +1 @@ -5fb84b6be866e64280beb8089ae7b4856a8cbde2 SOURCES/gjs-1.42.0.tar.xz +7fcc71979563b5a587ab61f23f19ce258a9cf0eb SOURCES/gjs-1.46.0.tar.xz diff --git a/SPECS/gjs.spec b/SPECS/gjs.spec index 1aac51c..145fd4c 100644 --- a/SPECS/gjs.spec +++ b/SPECS/gjs.spec @@ -1,19 +1,18 @@ %global gobject_introspection_version 1.41.4 Name: gjs -Version: 1.42.0 +Version: 1.46.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/ +URL: https://wiki.gnome.org/Projects/Gjs #VCS: git://git.gnome.org/gjs -Source0: http://download.gnome.org/sources/%{name}/1.42/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/1.46/%{name}-%{version}.tar.xz BuildRequires: mozjs24-devel BuildRequires: cairo-gobject-devel @@ -35,23 +34,30 @@ framework. %package devel Summary: Development package for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files for development with %{name}. +%package tests +Summary: Tests for the gjs package +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +The gjs-tests package contains tests that can be used to verify +the functionality of the installed gjs package. + %prep %setup -q %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi; - %configure --disable-static) + %configure --disable-static --enable-installed-tests) make %{?_smp_mflags} V=1 %install -make install DESTDIR=%{buildroot} +%make_install #Remove libtool archives. find %{buildroot} -name '*.la' -exec rm -f {} ';' @@ -64,7 +70,8 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %postun -p /sbin/ldconfig %files -%doc COPYING NEWS README +%license COPYING +%doc NEWS README %{_bindir}/gjs %{_bindir}/gjs-console %{_libdir}/*.so.* @@ -77,7 +84,15 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/pkgconfig/gjs-internals-1.0.pc %{_libdir}/*.so +%files tests +%{_libexecdir}/gjs/installed-tests +%{_datadir}/installed-tests + %changelog +* Wed Sep 21 2016 Kalev Lember - 1.46.0-1 +- Update to 1.46.0 +- Resolves: #1386870 + * Thu Mar 19 2015 Richard Hughes - 1.42.0-1 - Update to 1.42.0 - Resolves: #1174518