From 9b3c32e7e42bf9c71bc5380a5b7f6f48944c74e6 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 18 Nov 2018 13:31:47 +0100 Subject: [PATCH] Update to 0.10.9 - Switch to the meson build system --- .gitignore | 1 + libgexiv2.spec | 23 ++++++++++++++--------- sources | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index e974f72..8eae225 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ libgexiv2-0.1.90.tar.gz /gexiv2-0.10.6.tar.xz /gexiv2-0.10.7.tar.xz /gexiv2-0.10.8.tar.xz +/gexiv2-0.10.9.tar.xz diff --git a/libgexiv2.spec b/libgexiv2.spec index 3bebd90..cde15a6 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -1,16 +1,17 @@ Name: libgexiv2 -Version: 0.10.8 -Release: 4%{?dist} +Version: 0.10.9 +Release: 1%{?dist} Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library License: GPLv2+ URL: https://wiki.gnome.org/Projects/gexiv2 Source0: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz -BuildRequires: gcc-c++ BuildRequires: exiv2-devel +BuildRequires: gcc-c++ +BuildRequires: gtk-doc BuildRequires: gobject-introspection-devel -BuildRequires: libtool +BuildRequires: meson BuildRequires: python2-devel BuildRequires: python2-gobject-base BuildRequires: vala @@ -59,15 +60,14 @@ This package contains the python3 bindings for %{name} %setup -q -n gexiv2-%{version} %build -%configure --enable-introspection --enable-static=no --enable-shared=yes -%make_build +%meson -Denable-gtk-doc=true +%meson_build %install -%make_install -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +%meson_install %check -make check +%meson_test %ldconfig_scriptlets @@ -87,6 +87,7 @@ make check %{_datadir}/gtk-doc/html/gexiv2/ %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/gexiv2.deps %{_datadir}/vala/vapi/gexiv2.vapi %files -n python2-gexiv2 @@ -99,6 +100,10 @@ make check %endif %changelog +* Sun Nov 18 2018 Kalev Lember - 0.10.9-1 +- Update to 0.10.9 +- Switch to the meson build system + * Fri Jul 13 2018 Fedora Release Engineering - 0.10.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 0a7c100..df7310d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gexiv2-0.10.8.tar.xz) = 4c25cf6884495151947a70e62a096f3279223673bece4d4ff02720b2820aaad9e80c8715e02bf46c3f5598f582fdf07b4b3ddabd017d53001245e3381a4cc286 +SHA512 (gexiv2-0.10.9.tar.xz) = 40683ce341c5eb09ad67a4a25ad14a791247a5b5f459acba424815e98d5797b0a7fb338fb4d4f1c234147c9268abe34570698fd4259cb80f7f7af76af0f0fba3