2023-01-31 19:21:48 +08:00
|
|
|
%global gjs_version 1.69.2
|
|
|
|
|
%global libshumate_version 1.0.0
|
|
|
|
|
|
|
|
|
|
%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so.*$
|
2021-06-17 11:27:50 +08:00
|
|
|
|
|
|
|
|
Name: gnome-maps
|
2023-11-23 14:42:41 +08:00
|
|
|
Version: 44.5
|
|
|
|
|
Release: 1
|
2021-06-17 11:27:50 +08:00
|
|
|
Summary: A map application for GNOME
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://wiki.gnome.org/Apps/Maps
|
2023-11-23 14:42:41 +08:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{version}.tar.xz
|
2023-01-31 19:21:48 +08:00
|
|
|
Patch0: disable_timeTest.patch
|
2021-06-17 11:27:50 +08:00
|
|
|
|
2023-01-31 19:21:48 +08:00
|
|
|
BuildRequires: gcc gettext meson desktop-file-utils libappstream-glib
|
2022-04-13 18:57:06 +08:00
|
|
|
BuildRequires: pkgconfig(geoclue-2.0)
|
2023-01-31 19:21:48 +08:00
|
|
|
BuildRequires: pkgconfig(geocode-glib-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2022-04-13 18:57:06 +08:00
|
|
|
BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version}
|
2023-01-31 19:21:48 +08:00
|
|
|
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}
|
2021-06-17 11:27:50 +08:00
|
|
|
|
2022-04-13 18:57:06 +08:00
|
|
|
Requires: dbus
|
|
|
|
|
Requires: gdk-pixbuf2%{?_isa}
|
|
|
|
|
Requires: geoclue2-libs%{?_isa}
|
2023-01-31 19:21:48 +08:00
|
|
|
Requires: geocode-glib2%{?_isa}
|
2022-04-13 18:57:06 +08:00
|
|
|
Requires: gjs%{?_isa} >= %{gjs_version}
|
|
|
|
|
Requires: gobject-introspection%{?_isa}
|
2023-01-31 19:21:48 +08:00
|
|
|
Requires: gtk4%{?_isa}
|
|
|
|
|
Requires: libadwaita%{?_isa}
|
2023-03-27 12:34:28 +00:00
|
|
|
Requires: libgweather%{?_isa}
|
2023-01-31 19:21:48 +08:00
|
|
|
Requires: libshumate%{?_isa} >= %{libshumate_version}
|
|
|
|
|
Requires: libsoup3%{?_isa}
|
2021-06-17 11:27:50 +08:00
|
|
|
|
|
|
|
|
%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
|
2023-01-31 19:21:48 +08:00
|
|
|
%meson_test
|
2021-06-17 11:27:50 +08:00
|
|
|
|
|
|
|
|
%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}
|
2022-04-13 18:57:06 +08:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Maps.svg
|
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Maps-symbolic.svg
|
2021-06-17 11:27:50 +08:00
|
|
|
%{_datadir}/metainfo/org.gnome.Maps.appdata.xml
|
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-11-23 14:42:41 +08:00
|
|
|
* Thu Nov 23 2023 lwg <liweiganga@uniontech.com> - 44.5-1
|
|
|
|
|
- update to version 44.5
|
|
|
|
|
|
2023-03-27 12:34:28 +00:00
|
|
|
* Mon Mar 27 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.2-2
|
|
|
|
|
- rebuild for libgweather(Issue:I6QR7B)
|
|
|
|
|
|
2023-01-31 19:21:48 +08:00
|
|
|
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.2-1
|
|
|
|
|
- Update to 43.2
|
|
|
|
|
|
2022-04-13 18:57:06 +08:00
|
|
|
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
|
|
|
|
|
- Update to 42.2 and Add gnome-maps.yaml
|
|
|
|
|
|
2021-06-17 11:27:50 +08:00
|
|
|
* Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.4-1
|
|
|
|
|
- Package init with 3.38.4
|