upgrade 1.6.6

This commit is contained in:
dillon_chen 2022-04-21 15:22:02 +08:00
parent ed065968e6
commit 4b65e4470a
3 changed files with 24 additions and 18 deletions

Binary file not shown.

BIN
json-glib-1.6.6.tar.xz Normal file

Binary file not shown.

View File

@ -1,5 +1,7 @@
%define glib2_version 2.54.0
Name: json-glib Name: json-glib
Version: 1.6.2 Version: 1.6.6
Release: 2 Release: 2
Summary: Library for lightweight data-interchange format Summary: Library for lightweight data-interchange format
@ -7,11 +9,11 @@ License: LGPLv2+
URL: https://wiki.gnome.org/Projects/JsonGlib URL: https://wiki.gnome.org/Projects/JsonGlib
Source0: https://download.gnome.org/sources/%{name}/1.6/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/1.6/%{name}-%{version}.tar.xz
BuildRequires: docbook-style-xsl gettext glib2-devel gtk-doc BuildRequires: docbook-style-xsl gettext gi-docgen
BuildRequires: gobject-introspection-devel meson libxslt /usr/bin/xsltproc BuildRequires: gobject-introspection-devel meson libxslt
BuildRequires: python3-colorama BuildRequires: glib2-devel >= %{glib2_version}
Requires: glib2 Requires: glib2%{?_isa} >= %{glib2_version}
%description %description
JSON-GLib is a library providing serialization and deserialization support JSON-GLib is a library providing serialization and deserialization support
@ -21,7 +23,7 @@ for the JavaScript Object Notation (JSON) format described by RFC 4627.
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Provides: %{name}-tests Provides: %{name}-tests
Obsoletes: %{name}-tests Obsoletes: %{name}-tests < %{version}-%{release}
%description devel %description devel
%{name}-devel contains the header files for developing %{name}-devel contains the header files for developing
@ -33,40 +35,44 @@ applications that want to make use of %{name}.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%meson -Ddocs=true -Dman=true %meson -Dgtk_doc=enabled -Dman=true
%meson_build %meson_build
%install %install
%meson_install %meson_install
%ldconfig_scriptlets %ldconfig_scriptlets
%find_lang json-glib-1.0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%license COPYING %license COPYING
%{_libdir}/lib%{name}-1.0.so.* %{_libdir}/libjson-glib-1.0.so.0*
%{_libdir}/girepository-1.0/Json-1.0.typelib %{_libdir}/girepository-1.0/Json-1.0.typelib
%{_datadir}/locale/* %{_datadir}/locale/*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/%{name}-format %{_bindir}/json-glib-format
%{_bindir}/%{name}-validate %{_bindir}/json-glib-validate
%{_libdir}/lib%{name}-1.0.so %{_libdir}/libjson-glib-1.0.so
%{_libdir}/pkgconfig/%{name}-1.0.pc %{_libdir}/pkgconfig/json-glib-1.0.pc
%{_includedir}/%{name}-1.0/%{name}/*.h %{_includedir}/json-glib-1.0/
%{_datadir}/gir-1.0/Json-1.0.gir %{_datadir}/gir-1.0/Json-1.0.gir
%{_datadir}/installed-tests/%{name}-1.0/* %{_libexecdir}/installed-tests/
%{_libexecdir}/installed-tests/%{name}-1.0/* %{_datadir}/installed-tests/
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%doc NEWS %doc NEWS
%{_mandir}/man1/%{name}-format.1.gz %{_mandir}/man1/json-glib-format.1*
%{_mandir}/man1/%{name}-validate.1.gz %{_mandir}/man1/json-glib-validate.1*
%{_datadir}/gtk-doc/html/%{name}/* %{_datadir}/doc/json-glib-1.0/
%changelog %changelog
* Thu Apr 21 2022 dillon chen <dillon.chen@gmail.com> - 1.6.6-1
- Update to 1.6.6
* Wed Jun 30 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.6.2-2 * Wed Jun 30 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.6.2-2
- Recover provides virtual subpackage json-glib-tests - Recover provides virtual subpackage json-glib-tests