ca264f
%global json_glib_version 0.99.2
ca264f
ca264f
Name:           geocode-glib
e18716
Version:        3.26.0
cba3e0
Release:        3%{?dist}
ca264f
Summary:        Geocoding helper library
ca264f
ca264f
License:        LGPLv2+
ca264f
URL:            http://www.gnome.org/
e18716
Source0:        http://download.gnome.org/sources/%{name}/3.25/%{name}-%{version}.tar.xz
ca264f
cba3e0
BuildRequires:  git
e18716
BuildRequires:  gettext
e18716
BuildRequires:  gtk-doc
e18716
BuildRequires:  meson
5e9a57
BuildRequires:  pkgconfig(gio-2.0)
5e9a57
BuildRequires:  pkgconfig(gobject-introspection-1.0)
5e9a57
BuildRequires:  pkgconfig(json-glib-1.0) >= %{json_glib_version}
5e9a57
BuildRequires:  pkgconfig(libsoup-2.4)
ca264f
ca264f
Requires:       json-glib%{?_isa} >= %{json_glib_version}
ca264f
cba3e0
# https://bugzilla.redhat.com/show_bug.cgi?id=1767438
cba3e0
Patch0: type-change.patch
cba3e0
Patch1: place_rank-crasher.patch
cba3e0
ca264f
%description
ca264f
geocode-glib is a convenience library for the geocoding (finding longitude,
ca264f
and latitude from an address) and reverse geocoding (finding an address from
ca264f
coordinates). It uses Nominatim service to achieve that. It also caches
ca264f
(reverse-)geocoding requests for faster results and to avoid unnecessary server
ca264f
load.
ca264f
ca264f
ca264f
%package        devel
ca264f
Summary:        Development files for %{name}
ca264f
Requires:       %{name}%{?_isa} = %{version}-%{release}
ca264f
ca264f
%description    devel
ca264f
The %{name}-devel package contains libraries and header files for
ca264f
developing applications that use %{name}.
ca264f
ca264f
ca264f
%prep
cba3e0
%autosetup -S git
ca264f
ca264f
ca264f
%build
e18716
LANG=en_US.utf8 %meson -Denable-installed-tests=false
e18716
LANG=en_US.utf8 %meson_build
ca264f
ca264f
ca264f
%install
e18716
LANG=en_US.utf8 %meson_install
ca264f
e18716
# multilib work around for https://gitlab.gnome.org/GNOME/gtk-doc/issues/49
e18716
find $RPM_BUILD_ROOT -name '*.html' -exec sed -i -e s,G_MAXINT,G_MAXLONG,g \{\} \;
ca264f
ca264f
%post -p /sbin/ldconfig
ca264f
ca264f
%postun -p /sbin/ldconfig
ca264f
ca264f
ca264f
%files
5e9a57
%license COPYING.LIB
5e9a57
%doc AUTHORS NEWS README
ca264f
%{_libdir}/libgeocode-glib.so.*
ca264f
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
ca264f
%{_datadir}/icons/gnome/scalable/places/*.svg
ca264f
ca264f
%files devel
ca264f
%{_includedir}/geocode-glib-1.0/
ca264f
%{_libdir}/libgeocode-glib.so
ca264f
%{_libdir}/pkgconfig/geocode-glib-1.0.pc
ca264f
%{_datadir}/gir-1.0/GeocodeGlib-1.0.gir
ca264f
%doc %{_datadir}/gtk-doc/
ca264f
ca264f
ca264f
%changelog
cba3e0
* Thu Apr 16 2020 Bastien Nocera <bnocera@redhat.com> - 3.26.0-3
cba3e0
+ geocode-glib-3.26.0-3
cba3e0
- Fix crasher due to Nominatim server changes
cba3e0
- Resolves: #1767438
cba3e0
e18716
* Fri Sep 21 2018 Bastien Nocera <bnocera@redhat.com> - 3.26.0-2
e18716
+ geocode-glib-3.26.0-2
e18716
- Work-around multilib gtk-doc bug
e18716
- Resolves: #1624451
e18716
e18716
* Tue Jun 05 2018 Bastien Nocera <bnocera@redhat.com> - 3.26.0-1
e18716
+ geocode-glib-3.26.0-1
e18716
- Update to 3.26.0
e18716
- Resolves: #1567313
e18716
e18716
* Mon Jul 31 2017 Kalev Lember <klember@redhat.com> - 3.25.4.1-1
e18716
- Update to 3.25.4.1
e18716
- Switch to the meson build system
e18716
- Resolves: #1567313
e18716
5e9a57
* Wed Apr 13 2016 Kalev Lember <klember@redhat.com> - 3.20.1-1
5e9a57
- Update to 3.20.1
5e9a57
- Resolves: #1386868
5e9a57
ca264f
* Fri Jul 24 2015 Zeeshan Ali <zeenix@redhat.com> - 3.14.0-2
ca264f
- Use HTTPS to connect to Nominatim (related: #1233636).
ca264f
ca264f
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
ca264f
- Update to 3.14.0
ca264f
ca264f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.3-3
ca264f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ca264f
ca264f
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-2
ca264f
- Rebuilt for gobject-introspection 1.41.4
ca264f
ca264f
* Wed Jun 25 2014 Richard Hughes <rhughes@redhat.com> - 3.13.3-1
ca264f
- Update to 3.13.3
ca264f
ca264f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.2-2
ca264f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ca264f
ca264f
* Thu May 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.2-1
ca264f
- Update to 3.12.2
ca264f
ca264f
* Wed May 07 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.0-2
ca264f
- Ship icons in the main package, instead of -devel
ca264f
ca264f
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
ca264f
- Update to 3.12.0
ca264f
ca264f
* Wed Mar 19 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92.2-1
ca264f
- Update to 3.11.92.2
ca264f
ca264f
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
ca264f
- Update to 3.11.92
ca264f
ca264f
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
ca264f
- Update to 3.11.91
ca264f
ca264f
* Wed Feb 05 2014 Richard Hughes <rhughes@redhat.com> - 3.11.5-1
ca264f
- Update to 3.11.5
ca264f
ca264f
* Wed Jan 15 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4.1-1
ca264f
- Update to 3.11.4.1
ca264f
ca264f
* Tue Sep 24 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
ca264f
- Update to 3.10.0
ca264f
- Specify minimum json-glib version
ca264f
ca264f
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.4-1
ca264f
- Update to 0.99.4
ca264f
ca264f
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.3-1
ca264f
- Update to 0.99.3
ca264f
ca264f
* Sat Aug 31 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.2-2
ca264f
- Move the pkgconfig file to -devel
ca264f
ca264f
* Fri Aug 23 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.2-1
ca264f
- Initial Fedora packaging