Package init with 3.38.0
This commit is contained in:
parent
e14d0404ca
commit
6b9ebf0662
BIN
jsonrpc-glib-3.38.0.tar.xz
Normal file
BIN
jsonrpc-glib-3.38.0.tar.xz
Normal file
Binary file not shown.
12
jsonrpc-glib-skip-test-stress.patch
Normal file
12
jsonrpc-glib-skip-test-stress.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urN jsonrpc-glib-3.27.90/tests/meson.build jsonrpc-glib-3.27.90-skip-stress/tests/meson.build
|
||||||
|
--- jsonrpc-glib-3.27.90/tests/meson.build 2018-02-05 06:26:42.000000000 +0100
|
||||||
|
+++ jsonrpc-glib-3.27.90-skip-stress/tests/meson.build 2018-02-05 10:54:12.947199550 +0100
|
||||||
|
@@ -52,7 +52,7 @@
|
||||||
|
link_args: test_link_args,
|
||||||
|
dependencies: test_deps,
|
||||||
|
)
|
||||||
|
-test('test-stress', test_stress, env: test_env)
|
||||||
|
+#test('test-stress', test_stress, env: test_env)
|
||||||
|
|
||||||
|
test_gauntlet = executable('test-gauntlet', 'test-gauntlet.c',
|
||||||
|
c_args: test_cflags,
|
||||||
63
jsonrpc-glib.spec
Normal file
63
jsonrpc-glib.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
Name: jsonrpc-glib
|
||||||
|
Version: 3.38.0
|
||||||
|
Release: 1
|
||||||
|
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/
|
||||||
|
Source0: https://download.gnome.org/sources/%{name}/3.38/%{name}-%{version}.tar.xz
|
||||||
|
Patch1: jsonrpc-glib-skip-test-stress.patch
|
||||||
|
|
||||||
|
BuildRequires: gtk-doc meson vala pkgconfig(glib-2.0) pkgconfig(gobject-introspection-1.0)
|
||||||
|
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
|
||||||
|
%doc AUTHORS
|
||||||
|
%{_libdir}/libjsonrpc-glib-1.0.so.*
|
||||||
|
%dir %{_libdir}/girepository-1.0
|
||||||
|
%{_libdir}/girepository-1.0/Jsonrpc-1.0.typelib
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc CONTRIBUTING.md
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%dir %{_datadir}/gir-1.0
|
||||||
|
%{_datadir}/gir-1.0/Jsonrpc-1.0.gir
|
||||||
|
%dir %{_datadir}/gtk-doc
|
||||||
|
%dir %{_datadir}/gtk-doc/html
|
||||||
|
%{_datadir}/gtk-doc/html/jsonrpc-glib
|
||||||
|
%{_libdir}/pkgconfig/jsonrpc-glib-1.0.pc
|
||||||
|
%dir %{_datadir}/vala
|
||||||
|
%dir %{_datadir}/vala/vapi
|
||||||
|
%{_datadir}/vala/vapi/jsonrpc-glib-1.0.*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jun 30 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
|
||||||
|
- Package init with 3.38.0
|
||||||
Loading…
x
Reference in New Issue
Block a user