From fdda336c31d18675c98b500b4cc36d340f196414 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:45:39 +0000 Subject: import json-glib-1.2.6-1.el7 --- diff --git a/.gitignore b/.gitignore index b704112..897d4b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/json-glib-1.0.2.tar.xz +SOURCES/json-glib-1.2.6.tar.xz diff --git a/.json-glib.metadata b/.json-glib.metadata index a41afee..6b1884f 100644 --- a/.json-glib.metadata +++ b/.json-glib.metadata @@ -1 +1 @@ -17de45d0be56910dcaef62712e95626d7989ee52 SOURCES/json-glib-1.0.2.tar.xz +4a3f93ee8b29d38fd93c4862e200cf71a0cebc5f SOURCES/json-glib-1.2.6.tar.xz diff --git a/SPECS/json-glib.spec b/SPECS/json-glib.spec index e91fcb1..5c7fe95 100644 --- a/SPECS/json-glib.spec +++ b/SPECS/json-glib.spec @@ -1,7 +1,7 @@ %define glib_ver 2.37.6 Name: json-glib -Version: 1.0.2 +Version: 1.2.6 Release: 1%{?dist} Summary: Library for JavaScript Object Notation format @@ -9,7 +9,7 @@ Group: System Environment/Libraries License: LGPLv2+ URL: https://wiki.gnome.org/Projects/JsonGlib #VCS: git:git://git.gnome.org/json-glib -Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz +Source0: http://download.gnome.org/sources/%{name}/1.2/%{name}-%{version}.tar.xz BuildRequires: docbook-style-xsl BuildRequires: glib2-devel >= %{glib_ver} @@ -31,25 +31,28 @@ Requires: %{name}%{_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package tests +Summary: Tests for the json-glib package +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +The json-glib-tests package contains tests that can be used to verify +the functionality of the installed json-glib package. %prep %setup -q -n %{name}-%{version} %build -%configure --enable-static=no +%configure --enable-static=no --enable-installed-tests make %{?_smp_mflags} V=1 %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -# Copy the files from the tarball to avoid the IDs generated by gtk-doc being -# different on different builds -mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ -cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ - %find_lang json-glib-1.0 %post -p /sbin/ldconfig @@ -59,7 +62,8 @@ cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ %files -f json-glib-1.0.lang -%doc COPYING NEWS +%doc NEWS +%license COPYING %{_libdir}/lib%{name}*.so.* %{_libdir}/girepository-1.0/Json-1.0.typelib @@ -74,8 +78,19 @@ cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ %{_mandir}/man1/json-glib-format.1* %{_mandir}/man1/json-glib-validate.1* +%files tests +%{_libexecdir}/installed-tests/%{name} +%{_datadir}/installed-tests %changelog +* Mon Mar 13 2017 Kalev Lember - 1.2.6-1 +- Update to 1.2.6 +- Resolves: #1386996 + +* Mon Aug 01 2016 Kalev Lember - 1.2.2-1 +- Update to 1.2.2 +- Resolves: #1386996 + * Fri May 30 2014 Kalev Lember - 1.0.2-1 - Update to 1.0.2 - Resolves: #1174501