upgrade 1.6.6
This commit is contained in:
parent
ed065968e6
commit
4b65e4470a
Binary file not shown.
BIN
json-glib-1.6.6.tar.xz
Normal file
BIN
json-glib-1.6.6.tar.xz
Normal file
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
%define glib2_version 2.54.0
|
||||
|
||||
Name: json-glib
|
||||
Version: 1.6.2
|
||||
Version: 1.6.6
|
||||
Release: 2
|
||||
Summary: Library for lightweight data-interchange format
|
||||
|
||||
@ -7,11 +9,11 @@ License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/JsonGlib
|
||||
Source0: https://download.gnome.org/sources/%{name}/1.6/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: docbook-style-xsl gettext glib2-devel gtk-doc
|
||||
BuildRequires: gobject-introspection-devel meson libxslt /usr/bin/xsltproc
|
||||
BuildRequires: python3-colorama
|
||||
BuildRequires: docbook-style-xsl gettext gi-docgen
|
||||
BuildRequires: gobject-introspection-devel meson libxslt
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
|
||||
Requires: glib2
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
|
||||
%description
|
||||
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}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: %{name}-tests
|
||||
Obsoletes: %{name}-tests
|
||||
Obsoletes: %{name}-tests < %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{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
|
||||
|
||||
%build
|
||||
%meson -Ddocs=true -Dman=true
|
||||
%meson -Dgtk_doc=enabled -Dman=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%find_lang json-glib-1.0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%{_libdir}/lib%{name}-1.0.so.*
|
||||
%{_libdir}/libjson-glib-1.0.so.0*
|
||||
%{_libdir}/girepository-1.0/Json-1.0.typelib
|
||||
%{_datadir}/locale/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{name}-format
|
||||
%{_bindir}/%{name}-validate
|
||||
%{_libdir}/lib%{name}-1.0.so
|
||||
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
||||
%{_includedir}/%{name}-1.0/%{name}/*.h
|
||||
%{_bindir}/json-glib-format
|
||||
%{_bindir}/json-glib-validate
|
||||
%{_libdir}/libjson-glib-1.0.so
|
||||
%{_libdir}/pkgconfig/json-glib-1.0.pc
|
||||
%{_includedir}/json-glib-1.0/
|
||||
%{_datadir}/gir-1.0/Json-1.0.gir
|
||||
%{_datadir}/installed-tests/%{name}-1.0/*
|
||||
%{_libexecdir}/installed-tests/%{name}-1.0/*
|
||||
%{_libexecdir}/installed-tests/
|
||||
%{_datadir}/installed-tests/
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS
|
||||
%{_mandir}/man1/%{name}-format.1.gz
|
||||
%{_mandir}/man1/%{name}-validate.1.gz
|
||||
%{_datadir}/gtk-doc/html/%{name}/*
|
||||
%{_mandir}/man1/json-glib-format.1*
|
||||
%{_mandir}/man1/json-glib-validate.1*
|
||||
%{_datadir}/doc/json-glib-1.0/
|
||||
|
||||
%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
|
||||
- Recover provides virtual subpackage json-glib-tests
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user