2013-07-31 15:16:05 +02:00
|
|
|
#
|
2013-09-07 15:16:02 +02:00
|
|
|
# spec file for package gnome-maps
|
2013-07-31 15:16:05 +02:00
|
|
|
#
|
2022-02-09 10:03:32 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2013-07-31 15:16:05 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-09-26 18:44:53 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-31 15:16:05 +02:00
|
|
|
#
|
|
|
|
|
2013-09-07 15:16:02 +02:00
|
|
|
|
2013-07-31 15:16:05 +02:00
|
|
|
Name: gnome-maps
|
2022-10-24 09:15:41 +02:00
|
|
|
Version: 43.1
|
2013-07-31 15:16:05 +02:00
|
|
|
Release: 0
|
2016-12-23 12:37:49 +01:00
|
|
|
Summary: Maps Application for GNOME
|
2018-03-13 09:22:22 +01:00
|
|
|
License: GPL-2.0-or-later
|
2017-10-03 13:16:34 +02:00
|
|
|
Group: System/GUI/GNOME
|
2018-03-09 10:58:19 +01:00
|
|
|
URL: https://wiki.gnome.org/Apps/Maps
|
2022-09-13 09:34:06 +02:00
|
|
|
Source0: https://download.gnome.org/sources/gnome-maps/43/%{name}-%{version}.tar.xz
|
2022-09-19 18:20:19 +02:00
|
|
|
# PATCH-FIX-UPSTREAM gnome-maps-fix-dependency.patch -- Fix upstream dodo when setting dependency for libshumate
|
|
|
|
Patch0: gnome-maps-fix-dependency.patch
|
2022-10-31 09:21:57 +01:00
|
|
|
# PATCH-FIX-UPSTREAM gnome-maps-icu72.patch mgorse@suse.com -- fix comparisons in time tests.
|
|
|
|
Patch1: gnome-maps-icu72.patch
|
2019-04-18 15:33:38 +02:00
|
|
|
|
2022-09-19 18:20:19 +02:00
|
|
|
BuildRequires: appstream-glib
|
|
|
|
BuildRequires: desktop-file-utils
|
2014-09-25 09:50:52 +02:00
|
|
|
# Needed for typelib() Requires
|
|
|
|
BuildRequires: gobject-introspection
|
2021-01-11 14:55:36 +01:00
|
|
|
#
|
2013-07-31 15:16:05 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: intltool >= 0.40.0
|
2018-09-24 09:19:27 +02:00
|
|
|
BuildRequires: meson
|
2018-03-09 10:58:19 +01:00
|
|
|
BuildRequires: pkgconfig
|
2015-03-19 15:29:30 +01:00
|
|
|
BuildRequires: pkgconfig(folks) >= 0.10.0
|
|
|
|
BuildRequires: pkgconfig(gee-0.8) >= 0.16.0
|
|
|
|
BuildRequires: pkgconfig(geoclue-2.0) >= 0.12.99
|
2022-09-13 09:34:06 +02:00
|
|
|
BuildRequires: pkgconfig(geocode-glib-2.0) >= 3.15.2
|
2017-11-02 14:53:22 +01:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
|
2022-09-13 09:34:06 +02:00
|
|
|
BuildRequires: pkgconfig(gjs-1.0) >= 1.69.2
|
2014-04-03 22:41:58 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1
|
2022-09-13 09:34:06 +02:00
|
|
|
BuildRequires: pkgconfig(gtk4) >= 3.22.0
|
2021-01-11 14:55:36 +01:00
|
|
|
# Needed for test run
|
2022-04-27 14:07:44 +02:00
|
|
|
BuildRequires: pkgconfig(gweather4) >= 3.90.0
|
2021-01-11 14:55:36 +01:00
|
|
|
#
|
2022-09-13 09:34:06 +02:00
|
|
|
BuildRequires: pkgconfig(libadwaita-1)
|
2016-02-19 15:36:18 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2022-09-13 09:34:06 +02:00
|
|
|
BuildRequires: pkgconfig(rest-1.0) >= 0.7.90
|
2022-09-19 18:20:19 +02:00
|
|
|
BuildRequires: pkgconfig(shumate-1.0) >= 1.0.0
|
2018-03-09 10:58:19 +01:00
|
|
|
Recommends: dbus(org.freedesktop.GeoClue2)
|
2022-09-13 09:34:06 +02:00
|
|
|
# gnome-maps 43 found a new way to specify typelib deps, which are not (yet) understood by gi-dep-scanner
|
|
|
|
Requires: typelib(GtkClutter) = 1.0
|
|
|
|
Requires: typelib(GeocodeGlib) = 1.0
|
2013-07-31 15:16:05 +02:00
|
|
|
|
|
|
|
%description
|
2017-02-08 16:28:39 +01:00
|
|
|
Maps is a maps application for GNOME 3. It allows viewing street maps from
|
|
|
|
OpenStreetMaps and satellite imagery from Mapbox. You can also get directions
|
|
|
|
for your journeys, whether on foot, by bike, or by car.
|
2013-07-31 15:16:05 +02:00
|
|
|
|
|
|
|
%lang_package
|
2017-12-27 09:35:56 +01:00
|
|
|
|
2013-07-31 15:16:05 +02:00
|
|
|
%prep
|
2017-12-27 09:35:56 +01:00
|
|
|
%autosetup -p1
|
2013-07-31 15:16:05 +02:00
|
|
|
|
|
|
|
%build
|
2018-09-24 09:19:27 +02:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2013-07-31 15:16:05 +02:00
|
|
|
|
2021-01-11 14:55:36 +01:00
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
2013-07-31 15:16:05 +02:00
|
|
|
%install
|
2018-09-24 09:19:27 +02:00
|
|
|
%meson_install
|
2013-07-31 15:16:05 +02:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2021-01-11 14:55:36 +01:00
|
|
|
# There is no devel package, so at this moment also no need to keep gir and so files
|
2018-09-24 09:19:27 +02:00
|
|
|
rm %{buildroot}%{_datadir}/gnome-maps/gir-1.0/GnomeMaps-1.0.gir
|
2021-01-11 14:55:36 +01:00
|
|
|
rm %{buildroot}%{_libdir}/%{name}/libgnome-maps.so
|
2013-07-31 15:16:05 +02:00
|
|
|
|
|
|
|
%files
|
2018-03-09 10:58:19 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
2013-07-31 15:16:05 +02:00
|
|
|
%{_bindir}/%{name}
|
2018-03-09 10:58:19 +01:00
|
|
|
%dir %{_datadir}/metainfo
|
|
|
|
%{_datadir}/metainfo/org.gnome.Maps.appdata.xml
|
2014-08-23 13:53:58 +02:00
|
|
|
%{_datadir}/applications/org.gnome.Maps.desktop
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Maps.service
|
2013-07-31 15:16:05 +02:00
|
|
|
%{_datadir}/%{name}/
|
2016-02-19 15:36:18 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Maps*
|
2015-03-19 15:29:30 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Maps.gschema.xml
|
2021-01-11 14:55:36 +01:00
|
|
|
%{_libdir}/%{name}/libgnome-maps.so.0*
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/girepository-1.0
|
|
|
|
%{_libdir}/%{name}/girepository-1.0/GnomeMaps-1.0.typelib
|
2013-07-31 15:16:05 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|