!7 Update to 1.6.2

From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-10-31 08:43:48 +00:00 committed by Gitee
commit 31bf323de3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 35 additions and 13 deletions

Binary file not shown.

BIN
libhandy-1.6.2.tar.xz Normal file

Binary file not shown.

View File

@ -1,39 +1,57 @@
%global majmin %(echo %{version} | cut -d . -f -2)
Name: libhandy Name: libhandy
Version: 1.2.0 Version: 1.6.2
Release: 1 Release: 1
Summary: Library with GTK+ widgets for mobile phones Summary: Library with GTK+ widgets for mobile phones
License: LGPLv2+ License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libhandy URL: https://gitlab.gnome.org/GNOME/libhandy
Source0: https://download.gnome.org/sources/libhandy/1.2/libhandy-%{version}.tar.xz Source0: https://download.gnome.org/sources/libhandy/%{majmin}/libhandy-%{version}.tar.xz
BuildRequires: gcc gtk-doc meson pkgconfig(gio-2.0) pkgconfig(gladeui-2.0) pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0) BuildRequires: gcc gtk-doc meson vala gi-docgen
BuildRequires: vala BuildRequires: pkgconfig(gio-2.0) pkgconfig(gladeui-2.0) pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gmodule-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0) >= 3.24.1
BuildRequires: xorg-x11-server-Xvfb
Conflicts: libhandy1 < 1.1.90-2
Provides: libhandy1 = %{version}-%{release}
Provides: libhandy1%{?_isa} = %{version}-%{release}
%description %description
libhandy provides GTK+ widgets and GObjects to ease developing libhandy provides GTK+ widgets and GObjects to ease developing
applications for mobile phones. applications for mobile phones.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel Conflicts: libhandy1-devel < 1.1.90-2
Provides: libhandy1-devel = %{version}-%{release}
Provides: libhandy1-devel%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%autosetup -n libhandy-%{version} %autosetup -n libhandy-%{version}
%build %build
%meson -Dgtk_doc=true -Dexamples=false %meson -Dgtk_doc=true -Dexamples=false \
-Dtests=true
%meson_build %meson_build
%install %install
%meson_install %meson_install
%find_lang libhandy libhandy.lang %find_lang libhandy
%files -f libhandy.lang %check
# No parallel test runs to try to avoid overwhellming Xvfb on some platforms
%define _smp_build_ncpus 1
%{shrink:xvfb-run -w 10 -d %meson_test}
%files -f libhandy.lang
%license COPYING %license COPYING
%doc README.md %doc AUTHORS HACKING.md NEWS README.md
%{_libdir}/girepository-1.0/ %{_libdir}/girepository-1.0/
%{_libdir}/libhandy-1.so.0 %{_libdir}/libhandy-1.so.0
@ -44,10 +62,14 @@ developing applications that use %{name}.
%{_libdir}/pkgconfig/libhandy-1.pc %{_libdir}/pkgconfig/libhandy-1.pc
%{_datadir}/gir-1.0/ %{_datadir}/gir-1.0/
%{_datadir}/glade/ %{_datadir}/glade/
%{_datadir}/gtk-doc/ %doc %{_datadir}/doc/libhandy-1/
%{_datadir}/vala/ %{_datadir}/vala/
%changelog %changelog
* Mon Oct 31 2022 yaoxin <yaoxin30@h-partners.com> - 1.6.2-1
- Update to 1.6.2
* Fri May 28 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.2.0-1 * Fri May 28 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.2.0-1
- Upgrade to 1.2.0 - Upgrade to 1.2.0
- Update Version, URL, Source0. delete Patch0. update stage 'prep' - Update Version, URL, Source0. delete Patch0. update stage 'prep'

View File

@ -1,4 +1,4 @@
version_control: gitlab.gnome version_control: gitlab.gnome
src_repo: libhandy src_repo: libhandy
tag_prefix: "" tag_prefix: ""
seperator: "." separator: "."