!16 Upgrade to version 0.3.9

From: @zhang__3125 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-02-03 08:32:42 +00:00 committed by Gitee
commit a1852cdcca
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 33 additions and 7 deletions

View File

@ -0,0 +1,21 @@
From 9e6a3086b0cdcd4a76374fc70bad84f1545a09d2 Mon Sep 17 00:00:00 2001
From: "Eduardo Lima (Etrunko)" <etrunko@redhat.com>
Date: Mon, 22 Aug 2022 15:08:46 -0300
Subject: [PATCH] Fix i18n generation
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
---
po/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/po/meson.build b/po/meson.build
index 86f82f9..e983464 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,2 +1,2 @@
i18n = import('i18n')
-i18n.gettext('govirt-1.0', preset : 'glib')
+i18n.gettext('libgovirt', preset : 'glib')
--
2.37.2

Binary file not shown.

BIN
libgovirt-0.3.9.tar.xz Normal file

Binary file not shown.

View File

@ -1,13 +1,15 @@
Name: libgovirt
Version: 0.3.8
Version: 0.3.9
Release: 1
Summary: A GObject-based library to access oVirt REST API
License: LGPLv2+
URL: http://people.freedesktop.org/~teuf/govirt/
URL: https://gitlab.gnome.org/GNOME/libgovirt
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgovirt/0.3/%{name}-%{version}.tar.xz
Patch1: 0001-Fix-i18n-generation.patch
BuildRequires: glib2-devel intltool rest-devel >= 0.7.92
BuildRequires: glib2-devel intltool rest-devel >= 0.9.1
BuildRequires: gobject-introspection-devel glib-networking dconf gnupg2
BuildRequires: meson
%description
GoVirt is a GObject wrapper for the oVirt REST API [1]. It will
@ -28,16 +30,16 @@ that use libgovirt.
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-introspection=yes
%make_build
%meson
%meson_build
%install
%make_install
%meson_install
%delete_la_and_a
%find_lang %{name} --with-gnome
%check
make check
%meson_test
%post
/sbin/ldconfig
@ -59,6 +61,9 @@ make check
%{_datadir}/gir-1.0/GoVirt-1.0.gir
%changelog
* Fri Dec 2 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.3.9-1
- Upgrade to version 0.3.9
* Thu Jun 16 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.3.8-1
- Upgrade to version 0.3.8