## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global json_glib_version 0.99.2 Name: geocode-glib Version: 3.26.4 Release: %autorelease Summary: Geocoding helper library License: LGPLv2+ URL: http://www.gnome.org/ Source0: http://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz BuildRequires: gettext BuildRequires: gtk-doc BuildRequires: meson BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version} BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libsoup-3.0) Requires: json-glib%{?_isa} >= %{json_glib_version} Requires: %{name}-data = %{version}-%{release} %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 data Summary: Icon files for %{name} %description data The %{name}-devel package contains icon files for applications that use %{name}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n geocode-glib2 Summary: Development files for %{name} Requires: json-glib%{?_isa} >= %{json_glib_version} Requires: %{name}-data = %{version}-%{release} %description -n geocode-glib2 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. This package contains version 2 of the API, which uses libsoup3 internally. %package -n geocode-glib2-devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description -n geocode-glib2-devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %define _vpath_builddir %{_vendor}-%{_target_os}-build-soup2 %meson -Denable-installed-tests=false %meson_build %define _vpath_builddir %{_vendor}-%{_target_os}-build-soup3 %meson -Denable-installed-tests=false -Dsoup2=false %meson_build %install %define _vpath_builddir %{_vendor}-%{_target_os}-build-soup2 %meson_install %define _vpath_builddir %{_vendor}-%{_target_os}-build-soup3 %meson_install %files %license COPYING.LIB %doc AUTHORS NEWS README %{_libdir}/libgeocode-glib.so.0* %{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib %files data %{_datadir}/icons/hicolor/scalable/places/*.svg %files devel %{_includedir}/geocode-glib-1.0/ %{_libdir}/libgeocode-glib.so %{_libdir}/pkgconfig/geocode-glib-1.0.pc %{_datadir}/gir-1.0/GeocodeGlib-1.0.gir %doc %{_datadir}/gtk-doc/ %files -n geocode-glib2 %license COPYING.LIB %doc AUTHORS NEWS README %{_libdir}/libgeocode-glib-2.so.0* %{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib %files -n geocode-glib2-devel %{_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/ %changelog * Mon Aug 08 2022 Bastien Nocera 3.26.4-1 - local build * Thu Jul 21 2022 Fedora Release Engineering 3.26.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 18 2022 Michael Catanzaro 3.26.3-5 - No unexpected soname bumps * Mon Jul 18 2022 Michael Catanzaro 3.26.3-4 - Use meson macros for libsoup 3 build/install * Thu Jan 20 2022 Fedora Release Engineering - 3.26.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 3.26.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.26.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.26.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Mar 09 2020 Bastien Nocera - 3.26.2-1 + geocode-glib-3.26.2-1 - Update to 3.26.2 * Tue Jan 28 2020 Fedora Release Engineering - 3.26.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 3.26.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 16 2019 Adam Williamson - 3.26.1-2 - Rebuild with Meson fix for #1699099 * Thu Mar 14 2019 Kalev Lember - 3.26.1-1 - Update to 3.26.1 * Thu Jan 31 2019 Fedora Release Engineering - 3.26.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 3.26.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 26 2018 Kalev Lember - 3.26.0-1 - Update to 3.26.0 * Wed Feb 07 2018 Fedora Release Engineering - 3.25.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 3.25.4.1-2 - Switch to %%ldconfig_scriptlets * Mon Jul 31 2017 Kalev Lember - 3.25.4.1-1 - Update to 3.25.4.1 - Switch to the meson build system * Wed Jul 26 2017 Fedora Release Engineering - 3.23.90-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 13 2017 Richard Hughes - 3.23.90-1 - Update to 3.23.90 * Fri Feb 10 2017 Fedora Release Engineering - 3.20.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Apr 13 2016 Kalev Lember - 3.20.1-1 - Update to 3.20.1 * Tue Mar 22 2016 Kalev Lember - 3.20.0-1 - Update to 3.20.0 * Mon Feb 15 2016 David King - 3.19.90-1 - Update to 3.19.90 - Use pkgconfig for BuildRequires * Wed Feb 03 2016 Fedora Release Engineering - 3.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Sep 20 2015 Kalev Lember - 3.18.0-1 - Update to 3.18.0 * Mon Sep 14 2015 Kalev Lember - 3.17.92-1 - Update to 3.17.92 * Sun Aug 16 2015 Kalev Lember - 3.17.90-1 - Update to 3.17.90 * Wed Jun 17 2015 Fedora Release Engineering - 3.17.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 12 2015 Kalev Lember - 3.17.1-2 - Use license macro for COPYING.LIB * Fri May 01 2015 Kalev Lember - 3.17.1-1 - Update to 3.17.1 * Mon Mar 23 2015 Kalev Lember - 3.16.0-1 - Update to 3.16.0 * Mon Jan 19 2015 Richard Hughes - 3.15.4-1 - Update to 3.15.4 * Thu Dec 18 2014 Richard Hughes - 3.15.3.1-1 - Update to 3.15.3.1 * Tue Nov 25 2014 Kalev Lember - 3.15.2-1 - Update to 3.15.2 * Tue Sep 23 2014 Kalev Lember - 3.14.0-1 - Update to 3.14.0 * Sat Aug 16 2014 Fedora Release Engineering - 3.13.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jul 22 2014 Kalev Lember - 3.13.3-2 - Rebuilt for gobject-introspection 1.41.4 * Wed Jun 25 2014 Richard Hughes - 3.13.3-1 - Update to 3.13.3 * Sat Jun 07 2014 Fedora Release Engineering - 3.12.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 15 2014 Kalev Lember - 3.12.2-1 - Update to 3.12.2 * Wed May 07 2014 Kalev Lember - 3.12.0-2 - Ship icons in the main package, instead of -devel * Mon Mar 24 2014 Richard Hughes - 3.12.0-1 - Update to 3.12.0 * Wed Mar 19 2014 Richard Hughes - 3.11.92.2-1 - Update to 3.11.92.2 * Tue Mar 18 2014 Richard Hughes - 3.11.92-1 - Update to 3.11.92 * Tue Mar 04 2014 Richard Hughes - 3.11.91-1 - Update to 3.11.91 * Wed Feb 05 2014 Richard Hughes - 3.11.5-1 - Update to 3.11.5 * Wed Jan 15 2014 Richard Hughes - 3.11.4.1-1 - Update to 3.11.4.1 * Tue Sep 24 2013 Kalev Lember - 3.10.0-1 - Update to 3.10.0 - Specify minimum json-glib version * Wed Sep 18 2013 Kalev Lember - 0.99.4-1 - Update to 0.99.4 * Tue Sep 03 2013 Kalev Lember - 0.99.3-1 - Update to 0.99.3 * Sat Aug 31 2013 Kalev Lember - 0.99.2-2 - Move the pkgconfig file to -devel * Fri Aug 23 2013 Kalev Lember - 0.99.2-1 - Initial Fedora packaging