Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
fcad796d39
!8 update to version 44.5
From: @lwg99 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-11-29 07:10:40 +00:00
lwg K
f54fb2a55a update to version 44.5 2023-11-23 14:42:41 +08:00
openeuler-ci-bot
c8f3bdafc1
!6 rebuild for libgweather(Issue:I6QR7B)
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2023-03-27 13:02:05 +00:00
丈青山
9fa57821c9 rebuild for libgweather(Issue:I6QR7B)
Signed-off-by: 丈青山 <lin.zhang@turbolinux.com.cn>
2023-03-27 20:46:16 +08:00
openeuler-ci-bot
af39f64d6f
!4 Update to 43.2
From: @dwl301 
Reviewed-by: @zhang__3125 
Signed-off-by: @zhang__3125
2023-02-17 06:52:07 +00:00
dwl301
5227c4b5ab Update to 43.2 2023-01-31 19:21:48 +08:00
openeuler-ci-bot
52f8b7a869
!3 Update to 42.2 and Add gnome-maps.yaml
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-20 05:25:08 +00:00
zhang__3125
c2d6aaf477 Update to 42.2 and Add gnome-maps.yaml 2022-06-08 15:23:00 +08:00
openeuler-ci-bot
3ae4897a71 !2 Package init with 3.38.4
From: @weijin-deng
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2021-06-29 06:40:16 +00:00
weijin-deng
93c2e9c0f3 Package init with 3.38.4 2021-06-17 11:27:50 +08:00
4 changed files with 103 additions and 0 deletions

10
disable_timeTest.patch Normal file
View File

@ -0,0 +1,10 @@
diff -up gnome-maps-43.2/tests/meson.build.BAK gnome-maps-43.2/tests/meson.build
--- gnome-maps-43.2/tests/meson.build.BAK 2023-01-10 19:31:32.201578965 +0800
+++ gnome-maps-43.2/tests/meson.build 2023-01-10 19:31:38.665578586 +0800
@@ -1,5 +1,5 @@
tests = ['addressTest', 'boundingBoxTest', 'colorTest', 'osmNamesTest',
- 'placeIconsTest', 'placeZoomTest', 'timeTest', 'translationsTest',
+ 'placeIconsTest', 'placeZoomTest', 'translationsTest',
'utilsTest', 'urisTest', 'wikipediaTest']
# suffix for source resources (so we get /org/gnome/Maps or

BIN
gnome-maps-44.5.tar.xz Normal file

Binary file not shown.

89
gnome-maps.spec Normal file
View File

@ -0,0 +1,89 @@
%global gjs_version 1.69.2
%global libshumate_version 1.0.0
%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so.*$
Name: gnome-maps
Version: 44.5
Release: 1
Summary: A map application for GNOME
License: GPLv2+
URL: https://wiki.gnome.org/Apps/Maps
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{version}.tar.xz
Patch0: disable_timeTest.patch
BuildRequires: gcc gettext meson desktop-file-utils libappstream-glib
BuildRequires: pkgconfig(geoclue-2.0)
BuildRequires: pkgconfig(geocode-glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version}
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gweather4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(rest-1.0)
BuildRequires: pkgconfig(shumate-1.0) >= %{libshumate_version}
Requires: dbus
Requires: gdk-pixbuf2%{?_isa}
Requires: geoclue2-libs%{?_isa}
Requires: geocode-glib2%{?_isa}
Requires: gjs%{?_isa} >= %{gjs_version}
Requires: gobject-introspection%{?_isa}
Requires: gtk4%{?_isa}
Requires: libadwaita%{?_isa}
Requires: libgweather%{?_isa}
Requires: libshumate%{?_isa} >= %{libshumate_version}
Requires: libsoup3%{?_isa}
%description
GNOME Maps is a simple map application for the GNOME desktop.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
rm %{buildroot}%{_libdir}/gnome-maps/libgnome-maps.so
%find_lang %{name}
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Maps.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Maps.desktop
%meson_test
%files -f %{name}.lang
%doc NEWS README
%license COPYING
%{_bindir}/%{name}
%{_datadir}/applications/org.gnome.Maps.desktop
%{_datadir}/dbus-1/services/org.gnome.Maps.service
%{_datadir}/glib-2.0/schemas/org.gnome.Maps.gschema.xml
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Maps.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Maps-symbolic.svg
%{_datadir}/metainfo/org.gnome.Maps.appdata.xml
%{_libdir}/%{name}/
%changelog
* Thu Nov 23 2023 lwg <liweiganga@uniontech.com> - 44.5-1
- update to version 44.5
* Mon Mar 27 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.2-2
- rebuild for libgweather(Issue:I6QR7B)
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.2-1
- Update to 43.2
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
- Update to 42.2 and Add gnome-maps.yaml
* Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.4-1
- Package init with 3.38.4

4
gnome-maps.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: gnome-maps
tag_prefix: ^v
separator: .