jsonrpc-glib/jsonrpc-glib.spec

67 lines
2.0 KiB
RPMSpec
Raw Normal View History

2021-07-13 14:27:01 +08:00
Name: jsonrpc-glib
2022-04-21 15:14:23 +08:00
Version: 3.42.0
2022-06-20 12:09:43 +08:00
Release: 2
2021-07-13 14:27:01 +08:00
Summary: A library to communicate with JSON. can use GVariant serialization format instead of JSON
License: LGPLv2+
URL: https://git.gnome.org/browse/jsonrpc-glib/
2022-04-21 15:14:23 +08:00
Source0: https://download.gnome.org/sources/%{name}/3.42/%{name}-%{version}.tar.xz
2021-07-13 14:27:01 +08:00
Patch1: jsonrpc-glib-skip-test-stress.patch
2022-04-21 15:14:23 +08:00
BuildRequires: gi-docgen meson vala pkgconfig(glib-2.0) pkgconfig(gobject-introspection-1.0)
2021-07-13 14:27:01 +08:00
BuildRequires: pkgconfig(json-glib-1.0)
%description
Jsonrpc-GLib is a library to communicate with JSON-RPC based peers in either a synchronous or asynchronous fashion.
It also allows communicating using the GVariant serialization format instead of JSON when both peers support it.
You might want that when communicating on a single host to avoid parser overhead and memory-allocator fragmentation.
%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}.
%prep
%autosetup -p1
%build
%meson -D enable_gtk_doc=true
%meson_build
%install
%meson_install
%check
%meson_test
%files
%license COPYING
2022-04-21 15:14:23 +08:00
%doc AUTHORS NEWS README.md
2021-07-13 14:27:01 +08:00
%{_libdir}/libjsonrpc-glib-1.0.so.*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Jsonrpc-1.0.typelib
%files devel
%doc CONTRIBUTING.md
2022-04-21 15:14:23 +08:00
%doc %{_pkgdocdir}
2021-07-13 14:27:01 +08:00
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Jsonrpc-1.0.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/jsonrpc-glib-1.0.*
2022-04-21 15:14:23 +08:00
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/jsonrpc-glib-1.0.pc
2021-07-13 14:27:01 +08:00
%changelog
2022-06-20 12:09:43 +08:00
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.42.0-2
- add jsonrpm-glib.yaml
2022-04-21 15:14:23 +08:00
* Thu Apr 21 2022 dillon chen <dillon.chen@gmail.com> - 3.42.0-1
- Update to 3.42.0
2021-07-13 14:27:01 +08:00
* Wed Jun 30 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
- Package init with 3.38.0