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-02-12 20:27:10 +01:00
|
|
|
Version: 41.4
|
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
|
2021-09-27 08:24:18 +02:00
|
|
|
Source0: https://download.gnome.org/sources/gnome-maps/41/%{name}-%{version}.tar.xz
|
2019-04-18 15:33:38 +02:00
|
|
|
|
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
|
2013-07-31 15:16:05 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2018-03-09 10:58:19 +01:00
|
|
|
BuildRequires: pkgconfig(champlain-0.12) >= 0.12.14
|
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
|
|
|
|
BuildRequires: pkgconfig(geocode-glib-1.0) >= 3.15.2
|
2017-11-02 14:53:22 +01:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
|
2018-03-09 10:58:19 +01:00
|
|
|
BuildRequires: pkgconfig(gjs-1.0) >= 1.50.0
|
2014-04-03 22:41:58 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1
|
2017-02-22 21:38:03 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
|
2021-01-11 14:55:36 +01:00
|
|
|
# Needed for test run
|
|
|
|
BuildRequires: pkgconfig(gweather-3.0)
|
|
|
|
#
|
2021-03-24 17:34:49 +01:00
|
|
|
BuildRequires: pkgconfig(libhandy-1)
|
2016-02-19 15:36:18 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2017-05-27 00:37:53 +02:00
|
|
|
BuildRequires: pkgconfig(rest-0.7) >= 0.7.90
|
2018-03-09 10:58:19 +01:00
|
|
|
Recommends: dbus(org.freedesktop.GeoClue2)
|
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}
|
2014-08-23 13:53:58 +02:00
|
|
|
%suse_update_desktop_file -G "Maps Application" org.gnome.Maps DesktopUtility
|
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
|