Compare commits

..

No commits in common. "9b59267d50cadffea9878c5b6d953b90a8cd0c1d" and "6e6afb1e20cac6f71eff76c3750c839336334a57" have entirely different histories.

3 changed files with 18 additions and 38 deletions

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

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,16 @@
%define glib2_version 2.54.0
Name: json-glib Name: json-glib
Version: 1.8.0 Version: 1.6.0
Release: 1 Release: 1
Summary: Library for lightweight data-interchange format Summary: Library for lightweight data-interchange format
License: LGPLv2+ 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.4/%{name}-%{version}.tar.xz
BuildRequires: docbook-style-xsl gettext gi-docgen BuildRequires: docbook-style-xsl gettext glib2-devel gtk-doc
BuildRequires: gobject-introspection-devel meson libxslt BuildRequires: gobject-introspection-devel meson libxslt /usr/bin/xsltproc
BuildRequires: glib2-devel >= %{glib2_version}
Requires: glib2%{?_isa} >= %{glib2_version} Requires: glib2
%description %description
JSON-GLib is a library providing serialization and deserialization support JSON-GLib is a library providing serialization and deserialization support
@ -23,7 +20,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 < %{version}-%{release} Obsoletes: %{name}-tests
%description devel %description devel
%{name}-devel contains the header files for developing %{name}-devel contains the header files for developing
@ -35,57 +32,40 @@ applications that want to make use of %{name}.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%meson -Dgtk_doc=enabled -Dman=true %meson -Ddocs=true -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}/libjson-glib-1.0.so.0* %{_libdir}/lib%{name}-1.0.so.*
%{_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}/json-glib-format %{_bindir}/%{name}-format
%{_bindir}/json-glib-validate %{_bindir}/%{name}-validate
%{_libdir}/libjson-glib-1.0.so %{_libdir}/lib%{name}-1.0.so
%{_libdir}/pkgconfig/json-glib-1.0.pc %{_libdir}/pkgconfig/%{name}-1.0.pc
%{_includedir}/json-glib-1.0/ %{_includedir}/%{name}-1.0/%{name}/*.h
%{_datadir}/gir-1.0/Json-1.0.gir %{_datadir}/gir-1.0/Json-1.0.gir
%{_libexecdir}/installed-tests/ %{_datadir}/installed-tests/%{name}-1.0/*
%{_datadir}/installed-tests/ %{_libexecdir}/installed-tests/%{name}-1.0/*
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%doc NEWS %doc NEWS
%{_mandir}/man1/json-glib-format.1* %{_mandir}/man1/%{name}-format.1.gz
%{_mandir}/man1/json-glib-validate.1* %{_mandir}/man1/%{name}-validate.1.gz
%{_datadir}/doc/json-glib-1.0/ %{_datadir}/gtk-doc/html/%{name}/*
%changelog %changelog
* Fri Nov 24 2023 Vicoloa <lvkun@uniontech.com> - 1.8.0-1
- Update to 1.8.0
* Thu May 04 2023 zhangpan <zhangpan103@h-partners.com> - 1.6.6-3
- fix changelog error
* Thu Apr 21 2022 dillon chen <dillon.chen@gmail.com> - 1.6.6-2
- 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
* Mon May 24 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.6.2-1
- Upgrade to 1.6.2
- Update Version, Source0, BuildRequires, Obsoletes, Provides
* Thu Jan 28 2021 zhanzhimin <zhanzhimin@huawei.com> - 1.6.0-1 * Thu Jan 28 2021 zhanzhimin <zhanzhimin@huawei.com> - 1.6.0-1
- update to 1.6.0 - update to 1.6.0