Compare commits
10 Commits
6216faafd1
...
fcad796d39
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fcad796d39 | ||
|
|
f54fb2a55a | ||
|
|
c8f3bdafc1 | ||
|
|
9fa57821c9 | ||
|
|
af39f64d6f | ||
|
|
5227c4b5ab | ||
|
|
52f8b7a869 | ||
|
|
c2d6aaf477 | ||
|
|
3ae4897a71 | ||
|
|
93c2e9c0f3 |
10
disable_timeTest.patch
Normal file
10
disable_timeTest.patch
Normal 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
BIN
gnome-maps-44.5.tar.xz
Normal file
Binary file not shown.
89
gnome-maps.spec
Normal file
89
gnome-maps.spec
Normal 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
4
gnome-maps.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: gitlab.gnome
|
||||
src_repo: gnome-maps
|
||||
tag_prefix: ^v
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user