Update to 1.3.2
- Switch to the meson build system
This commit is contained in:
parent
2409967d1a
commit
54acad6e15
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,3 +18,4 @@ json-glib-0.10.4.tar.bz2
|
||||
/json-glib-1.2.2.tar.xz
|
||||
/json-glib-1.2.6.tar.xz
|
||||
/json-glib-1.2.8.tar.xz
|
||||
/json-glib-1.3.2.tar.xz
|
||||
|
@ -1,21 +1,22 @@
|
||||
%define glib_ver 2.37.6
|
||||
%define glib_ver 2.44.0
|
||||
|
||||
Name: json-glib
|
||||
Version: 1.2.8
|
||||
Version: 1.3.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Library for JavaScript Object Notation format
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/JsonGlib
|
||||
#VCS: git:git://git.gnome.org/json-glib
|
||||
Source0: http://download.gnome.org/sources/%{name}/1.2/%{name}-%{version}.tar.xz
|
||||
Source0: http://download.gnome.org/sources/%{name}/1.3/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: gettext
|
||||
BuildRequires: glib2-devel >= %{glib_ver}
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson
|
||||
BuildRequires: /usr/bin/xsltproc
|
||||
|
||||
|
||||
%description
|
||||
%{name} is a library providing serialization and deserialization support
|
||||
for the JavaScript Object Notation (JSON) format.
|
||||
@ -29,6 +30,7 @@ Requires: %{name}%{_isa} = %{version}-%{release}
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%package tests
|
||||
Summary: Tests for the json-glib package
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
@ -37,23 +39,23 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
The json-glib-tests package contains tests that can be used to verify
|
||||
the functionality of the installed json-glib package.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%configure --enable-static=no --enable-installed-tests
|
||||
make %{?_smp_mflags} V=1
|
||||
%meson -Denable-gtk-doc=true -Denable-man=true
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
%meson_install
|
||||
|
||||
%find_lang json-glib-1.0
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
@ -79,7 +81,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
%{_libexecdir}/installed-tests/
|
||||
%{_datadir}/installed-tests/
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 18 2017 Kalev Lember <klember@redhat.com> - 1.3.2-1
|
||||
- Update to 1.3.2
|
||||
- Switch to the meson build system
|
||||
|
||||
* Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 1.2.8-1
|
||||
- Update to 1.2.8
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (json-glib-1.2.8.tar.xz) = 85d8ad431363b8698d71684927b8aa38749d99ea7236334ec09fd81482489f1ab9cb12dabcbe13f6b6ffd7e5d70ade47a36b511e275915d4aa858af647db90ba
|
||||
SHA512 (json-glib-1.3.2.tar.xz) = 72b186b1c3e56f3514950eada8cf2a3a3906854125392f65c70cd3f7b29b8af1dd4257fa87fe2d5376830ad116c60225d270f9541275d296086af3bb321a38c4
|
||||
|
Loading…
Reference in New Issue
Block a user