Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > a43290f51673b32060923039c665c996 > files > 2

jsonrpc-glib-3.32.0-2.mga7.src.rpm

%global api 1.0
%global major 1
%define libname %mklibname jsonrpc_glib %{api} %{major}
%define girname %mklibname jsonrpc-gir %{api}
%define devname %mklibname -d jsonrpc_glib %{api}

%define url_ver	%(echo %{version}|cut -d. -f1,2)

Name:           jsonrpc-glib
Version:        3.32.0
Release:        %mkrel 2
Summary:        A JSON-RPC library for GLib
Group:		System/Libraries

License:        LGPLv2+
URL:            https://git.gnome.org/browse/jsonrpc-glib/
Source0:        https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz

BuildRequires:  gtk-doc
BuildRequires:  meson
BuildRequires:  vala
BuildRequires:  python-six python3-six

BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(json-glib-1.0)
BuildRequires:  pkgconfig(vapigen)



%description
Jsonrpc-GLib is a JSON-RPC library for GLib. It includes support for
communicating as both a JSON-RPC client and server. Additionally,
supports upgrading connections to use GVariant for less runtime overhead.

%package        -n %libname
Summary:        Development files for %{name}
Group:		System/Libraries
Obsoletes:	%{_lib}jsonrpc_glib0 < 3.26.1-2

%description    -n %libname
Jsonrpc-GLib is a JSON-RPC library for GLib. It includes support for
communicating as both a JSON-RPC client and server. Additionally,
supports upgrading connections to use GVariant for less runtime overhead.

%package	-n %girname
Summary:	GObject Introspection interface description for Jsonrpc
Group:		System/Libraries
Requires:	%{libname} = %{version}-%{release}
Conflicts:	%{_lib}jsonrpc-glib0 < 3.26.1-2

%description	-n %girname
GObject Introspection interface description for Jsonrpc.

%package        -n %devname
Summary:        Development files for %{name}
Requires:       %{libname} = %{version}-%{release}
Requires:	%{girname} = %{version}-%{release}
Group:		Development/C
Provides:	%{name}-devel = %{version}-%{release}
Provides:	%{name}%{api}-devel = %{version}-%{release}
Obsoletes:	%{_lib}jsonrpc_glib-devel < 3.26.1-2

%description    -n %devname
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 -n %libname
%license COPYING
%doc AUTHORS
%{_libdir}/libjsonrpc-glib-%{api}.so.%{major}{,.*}

%files -n %girname
%{_libdir}/girepository-1.0/Jsonrpc-%{api}.typelib

%files -n %devname
%doc CONTRIBUTING.md
%doc %{_datadir}/gtk-doc/html/jsonrpc-glib/
%{_datadir}/gir-1.0/Jsonrpc-%{api}.gir
%{_datadir}/vala/vapi/jsonrpc-glib-%{api}.*
%{_includedir}/jsonrpc-glib-%{api}/
%{_libdir}/libjsonrpc-glib-%{api}.so
%{_libdir}/pkgconfig/jsonrpc-glib-%{api}.pc


%changelog
* Wed Apr 17 2019 umeabot <umeabot> 3.32.0-2.mga7
+ Revision: 1392682
- Rebuild with meson 0.50.1

* Wed Mar 13 2019 ovitters <ovitters> 3.32.0-1.mga7
+ Revision: 1375174
- new version 3.32.0

* Thu Mar 07 2019 ovitters <ovitters> 3.31.91-1.mga7
+ Revision: 1372420
- new version 3.31.91

* Wed Oct 10 2018 ovitters <ovitters> 3.30.1-1.mga7
+ Revision: 1319403
- new version 3.30.1

* Wed Sep 05 2018 ovitters <ovitters> 3.30.0-1.mga7
+ Revision: 1257230
- new version 3.30.0

* Wed Aug 15 2018 ovitters <ovitters> 3.29.91-1.mga7
+ Revision: 1251813
- new version 3.29.91

* Wed Jul 18 2018 ovitters <ovitters> 3.29.4-1.mga7
+ Revision: 1244108
- new version 3.29.4

* Wed Jun 20 2018 ovitters <ovitters> 3.29.3-1.mga7
+ Revision: 1238446
- new version 3.29.3

* Tue Jun 19 2018 ovitters <ovitters> 3.28.1-1.mga7
+ Revision: 1237956
- new version 3.28.1

* Wed Mar 14 2018 ovitters <ovitters> 3.28.0-1.mga7
+ Revision: 1209127
- new version 3.28.0

* Tue Feb 27 2018 ovitters <ovitters> 3.27.91-1.mga7
+ Revision: 1205550
- new version 3.27.91
- bump major
- new version 3.27.90
- fix source url

* Sat Jan 13 2018 wally <wally> 3.26.1-2.mga7
+ Revision: 1192681
- split out gir typelib
- enable debug pkg
- fix lib and devel pkg names
- don't own system dirs
- tag docs as such

* Wed Oct 25 2017 tv <tv> 3.26.1-1.mga7
+ Revision: 1173598
- BR python-six & python3-six
- drop merged patches
- new release

* Wed Sep 20 2017 tv <tv> 3.26.0-2.mga7
+ Revision: 1156427
- BR pkgconfig(vapigen)
- imported package jsonrpc-glib


* Wed Sep 20 2017 Thierry Vignaud <tv@mageia.org> 3.26.0-1.mga7
- import from FC
- disable debuginfo b/c of debugsources issue

* Wed Sep 13 2017 Yanko Kaneti <yaneti@declera.com> - 3.26.0-2
- Some upstream fixes for different platforms
- Run tests, except test-stress

* Tue Sep 12 2017 Yanko Kaneti <yaneti@declera.com> - 3.26.0-1
- Update to 3.26.0

* Tue Sep  5 2017 Yanko Kaneti <yaneti@declera.com> - 3.25.92-1
- Update to 3.25.92

* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Mon Jun 19 2017 Yanko Kaneti <yaneti@declera.com> - 3.25.3-1
- Update to 3.25.3

* Fri Jun  9 2017 Yanko Kaneti <yaneti@declera.com> - 3.25.2-2
- Address some issues from the other review - -2
- Initial spec