2014-09-23 13:20:12 +00:00
|
|
|
%global json_glib_version 0.99.2
|
2013-09-24 21:52:12 +00:00
|
|
|
|
2013-08-23 14:56:42 +00:00
|
|
|
Name: geocode-glib
|
2022-08-08 12:41:41 +00:00
|
|
|
Version: 3.26.4
|
2022-07-18 16:09:04 +00:00
|
|
|
Release: %autorelease
|
2013-08-23 14:56:42 +00:00
|
|
|
Summary: Geocoding helper library
|
|
|
|
|
2024-01-03 06:02:15 +00:00
|
|
|
# icons/maki/* are BSD-3-Clause
|
|
|
|
License: LGPL-2.0-or-later AND BSD-3-Clause
|
2013-08-23 14:56:42 +00:00
|
|
|
URL: http://www.gnome.org/
|
2018-06-26 15:33:14 +00:00
|
|
|
Source0: http://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz
|
2013-08-23 14:56:42 +00:00
|
|
|
|
2017-07-31 12:17:58 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: meson
|
2016-02-15 09:36:19 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
|
2022-06-30 14:13:38 +00:00
|
|
|
BuildRequires: pkgconfig(libsoup-3.0)
|
2013-08-23 14:56:42 +00:00
|
|
|
|
2013-09-24 21:52:12 +00:00
|
|
|
Requires: json-glib%{?_isa} >= %{json_glib_version}
|
2023-08-13 14:59:21 +00:00
|
|
|
|
|
|
|
# Renamed/Obsoleted in F39
|
|
|
|
Obsoletes: geocode-glib-data < %{version}-%{release}
|
|
|
|
Obsoletes: geocode-glib2 < %{version}-%{release}
|
2023-08-13 16:50:20 +00:00
|
|
|
Provides: geocode-glib2 = %{version}-%{release}
|
|
|
|
Provides: geocode-glib2%{?_isa} = %{version}-%{release}
|
2013-09-24 21:52:12 +00:00
|
|
|
|
2013-08-23 14:56:42 +00:00
|
|
|
%description
|
|
|
|
geocode-glib is a convenience library for the geocoding (finding longitude,
|
|
|
|
and latitude from an address) and reverse geocoding (finding an address from
|
|
|
|
coordinates). It uses Nominatim service to achieve that. It also caches
|
|
|
|
(reverse-)geocoding requests for faster results and to avoid unnecessary server
|
|
|
|
load.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2023-08-13 14:59:21 +00:00
|
|
|
# Renamed/Obsoleted in F39
|
|
|
|
Obsoletes: geocode-glib2-devel < %{version}-%{release}
|
2023-08-13 16:50:20 +00:00
|
|
|
Provides: geocode-glib2-devel = %{version}-%{release}
|
2013-08-23 14:56:42 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2022-07-18 16:09:11 +00:00
|
|
|
%meson -Denable-installed-tests=false -Dsoup2=false
|
|
|
|
%meson_build
|
|
|
|
|
2013-08-23 14:56:42 +00:00
|
|
|
%install
|
2017-07-31 12:17:58 +00:00
|
|
|
%meson_install
|
2013-08-23 14:56:42 +00:00
|
|
|
|
2023-08-13 14:59:21 +00:00
|
|
|
%files
|
2022-06-30 14:13:38 +00:00
|
|
|
%license COPYING.LIB
|
|
|
|
%doc AUTHORS NEWS README
|
2022-07-18 19:42:24 +00:00
|
|
|
%{_libdir}/libgeocode-glib-2.so.0*
|
2022-06-30 14:13:38 +00:00
|
|
|
%{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib
|
2023-08-13 14:59:21 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/places/*.svg
|
2022-06-30 14:13:38 +00:00
|
|
|
|
2023-08-13 14:59:21 +00:00
|
|
|
%files devel
|
2022-06-30 14:13:38 +00:00
|
|
|
%{_includedir}/geocode-glib-2.0/
|
|
|
|
%{_libdir}/libgeocode-glib-2.so
|
|
|
|
%{_libdir}/pkgconfig/geocode-glib-2.0.pc
|
|
|
|
%{_datadir}/gir-1.0/GeocodeGlib-2.0.gir
|
|
|
|
%doc %{_datadir}/gtk-doc/
|
2014-05-07 13:48:07 +00:00
|
|
|
|
2013-08-23 14:56:42 +00:00
|
|
|
%changelog
|
2022-07-18 16:09:04 +00:00
|
|
|
%autochangelog
|