2022-04-13 18:57:06 +08:00
|
|
|
%global gjs_version 1.66.0
|
|
|
|
|
%global champlain_version 0.12.14
|
|
|
|
|
%global libhandy_version 1.5.0
|
2021-06-17 11:27:50 +08:00
|
|
|
|
|
|
|
|
Name: gnome-maps
|
2022-04-13 18:57:06 +08:00
|
|
|
Version: 42.2
|
2021-06-17 11:27:50 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: A map application for GNOME
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://wiki.gnome.org/Apps/Maps
|
2022-04-13 18:57:06 +08:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
|
2021-06-17 11:27:50 +08:00
|
|
|
|
2022-04-13 18:57:06 +08:00
|
|
|
BuildRequires: gcc gettext meson desktop-file-utils libappstream-glib glib2-devel
|
|
|
|
|
BuildRequires: pkgconfig(champlain-0.12) >= %{champlain_version}
|
|
|
|
|
BuildRequires: pkgconfig(folks)
|
|
|
|
|
BuildRequires: pkgconfig(gee-0.8)
|
|
|
|
|
BuildRequires: pkgconfig(geocode-glib-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(geoclue-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version}
|
|
|
|
|
BuildRequires: pkgconfig(libhandy-1) >= %{libhandy_version}
|
|
|
|
|
BuildRequires: pkgconfig(rest-0.7)
|
2021-06-17 11:27:50 +08:00
|
|
|
|
2022-04-13 18:57:06 +08:00
|
|
|
Requires: clutter%{?_isa}
|
|
|
|
|
Requires: clutter-gtk%{?_isa}
|
|
|
|
|
Requires: cogl%{?_isa}
|
|
|
|
|
Requires: dbus
|
|
|
|
|
Requires: gdk-pixbuf2%{?_isa}
|
|
|
|
|
Requires: geoclue2-libs%{?_isa}
|
|
|
|
|
Requires: gfbgraph%{?_isa}
|
|
|
|
|
Requires: gjs%{?_isa} >= %{gjs_version}
|
|
|
|
|
Requires: gobject-introspection%{?_isa}
|
|
|
|
|
Requires: gtk3%{?_isa}
|
|
|
|
|
Requires: libchamplain-gtk%{?_isa} >= %{champlain_version}
|
|
|
|
|
Requires: libhandy%{?_isa} >= %{libhandy_version}
|
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
|
|
|
|
|
|
|
|
|
|
%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
|
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
|