%define glib2_version 2.72.0 Name: json-glib Version: 1.10.0 Release: 2%{?dist} Summary: Library for JavaScript Object Notation format License: LGPL-2.1-or-later URL: https://wiki.gnome.org/Projects/JsonGlib Source0: https://download.gnome.org/sources/%{name}/1.10/%{name}-%{version}.tar.xz BuildRequires: docbook-style-xsl BuildRequires: gettext BuildRequires: gi-docgen BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} BuildRequires: gobject-introspection-devel BuildRequires: meson BuildRequires: /usr/bin/rst2man BuildRequires: /usr/bin/rst2html5 BuildRequires: python3-docutils Requires: glib2%{?_isa} >= %{glib2_version} %description %{name} is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format. %package devel Summary: Development files for %{name} Requires: %{name}%{_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package tests Summary: Tests for the json-glib package 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 %meson -Ddocumentation=enabled -Dman=true %meson_build %install %meson_install %find_lang json-glib-1.0 %files -f json-glib-1.0.lang %doc NEWS README.md %license LICENSES/LGPL-2.1-or-later.txt %{_libdir}/libjson-glib-1.0.so.0* %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/Json-1.0.typelib %files devel %{_includedir}/json-glib-1.0/ %{_libdir}/libjson-glib-1.0.so %{_libdir}/pkgconfig/json-glib-1.0.pc %{_datadir}/doc/json-glib-1.0/ %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/Json-1.0.gir %{_bindir}/json-glib-format %{_bindir}/json-glib-validate %{_mandir}/man1/json-glib-format.1* %{_mandir}/man1/json-glib-validate.1* %files tests %{_libexecdir}/installed-tests/ %{_datadir}/installed-tests/ %changelog * Fri Sep 13 2024 Timothée Ravier - 1.10.0-2 - Point to license file and not symlink (fedora#2297094) * Sun Sep 01 2024 David King - 1.10.0-1 - Update to 1.10.0 * Thu Jul 18 2024 Fedora Release Engineering - 1.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jul 04 2024 Nieves Montero - 1.9.2-1 - Update to 1.9.2 * Wed Jan 24 2024 Fedora Release Engineering - 1.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Sep 16 2023 Kalev Lember - 1.8.0-1 - Update to 1.8.0 * Thu Jul 20 2023 Fedora Release Engineering - 1.6.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.6.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.6.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 24 2021 Kalev Lember - 1.6.6-1 - Update to 1.6.6 * Wed Aug 18 2021 Kalev Lember - 1.6.4-1 - Update to 1.6.4 - Switch to gi-docgen for generating docs - Tighten soname globs * Thu Jul 22 2021 Fedora Release Engineering - 1.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Feb 09 2021 Richard Hughes - 1.6.2-1 - Update to 1.6.2 * Tue Jan 26 2021 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Sep 11 2020 Kalev Lember - 1.6.0-1 - Update to 1.6.0 * Mon Aug 24 2020 Kalev Lember - 1.5.2-1 - Update to 1.5.2 * Sat Aug 01 2020 Fedora Release Engineering - 1.4.4-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.4.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Sep 18 2018 Kalev Lember - 1.4.4-1 - Update to 1.4.4 * Fri Jul 13 2018 Fedora Release Engineering - 1.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Feb 02 2018 Igor Gnatenko - 1.4.2-2 - Switch to %%ldconfig_scriptlets * Wed Sep 13 2017 Kalev Lember - 1.4.2-1 - Update to 1.4.2 * Thu Aug 03 2017 Fedora Release Engineering - 1.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jul 18 2017 Kalev Lember - 1.3.2-1 - Update to 1.3.2 - Switch to the meson build system * Tue Mar 21 2017 Kalev Lember - 1.2.8-1 - Update to 1.2.8 * Mon Mar 13 2017 Kalev Lember - 1.2.6-1 - Update to 1.2.6 * Fri Feb 10 2017 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Aug 01 2016 Kalev Lember - 1.2.2-1 - Update to 1.2.2 - Use make_install macro * Tue Mar 22 2016 Kalev Lember - 1.2.0-1 - Update to 1.2.0 * Tue Mar 01 2016 Richard Hughes - 1.1.2-1 - Update to 1.1.2 * Thu Feb 04 2016 Fedora Release Engineering - 1.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Mar 15 2015 Kalev Lember - 1.0.4-1 - Update to 1.0.4 - Use %%license macro for the COPYING file * Thu Sep 4 2014 Vadim Rutkovsky - 1.0.2-5 - Build installed tests * Sat Aug 16 2014 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jul 22 2014 Kalev Lember - 1.0.2-3 - Rebuilt for gobject-introspection 1.41.4 * Sun Jun 08 2014 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 30 2014 Kalev Lember - 1.0.2-1 - Update to 1.0.2 - Avoid duplicating -devel deps that rpmbuild autogenerates - Tighten -devel deps with %%_isa * Tue Mar 25 2014 Kalev Lember - 1.0.0-1 - Update to 1.0.0 - Build the man pages * Tue Feb 04 2014 Richard Hughes - 0.99.2-1 - Update to 0.99.2 * Sat Sep 21 2013 Kalev Lember - 0.16.2-1 - Update to 0.16.2 * Sat Aug 03 2013 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Apr 16 2013 Kalev Lember - 0.16.0-1 - Update to 0.16.0 - Don't depend on gtk-doc (#604377) * Thu Feb 14 2013 Fedora Release Engineering - 0.15.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jul 17 2012 Richard Hughes - 0.15.2-1 - Update to 0.15.2 * Fri Jan 13 2012 Fedora Release Engineering - 0.14.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 2 2011 Matthias Clasen - 0.14.2-1 - Update to 0.14.2 * Mon Sep 19 2011 Matthias Clasen - 0.14.0-1 - Update to 0.14.0 * Wed Sep 7 2011 Owen Taylor - 0.13.90-1 - Update to 0.13.90 * Thu Jun 16 2011 Alex Hudson - 0.12.6-1 - Update to 0.12.6 - Remove gtk-doc dependency for bug 604377 * Wed Feb 09 2011 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Nov 29 2010 Owen Taylor - 0.12-1 - Update to 0.12.0 * Wed Sep 29 2010 jkeating - 0.11.3-0.2.git19b0b87 - Rebuilt for gcc bug 634757 * Wed Sep 22 2010 Matthias Clasen - 0.11.3-0.1.git19b0b87 - git snapshot * Tue Sep 21 2010 Matthias Clasen - 0.10.4-4 - Rebuild with newer gobject-introspection * Thu Jul 15 2010 Colin Walters - 0.10.4-3 - Rebuild with new gobject-introspection * Thu Jul 1 2010 Mamoru Tasaka - 0.10.4-2 - Rebuild for "Incompatible version 1.0 (supported: 1.1)" for introspection file * Fri Mar 19 2010 Brian Pepple - 0.10.4-1 - Update to 0.10.4. * Wed Jan 27 2010 Peter Robinson - 0.10.0-3 - Require the gobject-introspection-devel package, not the library * Wed Jan 27 2010 Peter Robinson - 0.10.0-2 - Enable gobject-introspection support * Tue Dec 29 2009 Brian Pepple - 0.10.0-1 - Update to 0.10.0. * Mon Nov 16 2009 Brian Pepple - 0.8.2-1 - Update to 0.8.2. * Tue Sep 29 2009 Brian Pepple - 0.8.0-1 - Update to 0.8.0. - Update source url. * Fri Jul 24 2009 Fedora Release Engineering - 0.6.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Brian Pepple - 0.6.2-3 - Disable tests for now. * Wed Feb 25 2009 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat May 31 2008 Brian Pepple - 0.6.2-1 - Update to 0.6.2. - Enable tests. * Mon May 19 2008 Brian Pepple - 0.6.0-1 - Update 0.6.0. - Disable tests for now. - Add requires on gtk-doc. * Sun Apr 20 2008 Brian Pepple - 0.4.0-1 - Initial Fedora spec.