Name: geocode-glib Version: 3.26.4 Release: 2 Summary: %{name} is helpful for geocoding License: LGPLv2+ URL: http://www.gnome.org/ Source0: http://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz BuildRequires: gettext gtk-doc glib2-devel gobject-introspection-devel BuildRequires: json-glib-devel >= 0.99.2 libsoup-devel libxslt meson libsoup3-devel Requires: json-glib >= 0.99.2 Provides: %{name}-data = %{version}-%{release} Provides: geocode-glib geocode-glib2 Provides: geocode-glib%{?_isa} geocode-glib2%{?_isa} %description Geocode-glib provides geocoding and reverse geocoding. Geocoding is the process of translating an address ("123 High Street, SomeTown, SomeCountry") to a pair of latitude/longitude values. Reverse geocoding is the opposite process. %package devel Summary: Development files included in %{name} Requires: %{name} = %{version}-%{release} Provides: geocode-glib-devel geocode-glib2-devel Provides: geocode-glib-devel%{?_isa} geocode-glib2-devel%{?_isa} %description devel This package contains development files needed to develop with the %{name} library. %package_help %prep %autosetup -n %{name}-%{version} -p1 %build mkdir -p build-soup2 meson setup --prefix=/usr build-soup2 meson -Denable-installed-tests=false build-soup2 %meson_build -C build-soup2 mkdir -p build-soup3 meson setup --prefix=/usr build-soup3 meson --reconfigure -Denable-installed-tests=false -Dsoup2=false build-soup3 %meson_build -C build-soup3 %install %meson_install -C build-soup2 %meson_install -C build-soup3 %ldconfig_scriptlets %files %defattr(-,root,root) %license COPYING.LIB %doc AUTHORS %{_libdir}/libgeocode-glib.so.0* %{_libdir}/libgeocode-glib-2.so.0* %{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib %{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib %{_datadir}/icons/hicolor/scalable/places/*.svg %files devel %defattr(-,root,root) %{_includedir}/geocode-glib-1.0/ %{_includedir}/geocode-glib-2.0/ %{_libdir}/libgeocode-glib.so %{_libdir}/libgeocode-glib-2.so %{_libdir}/pkgconfig/geocode-glib-1.0.pc %{_libdir}/pkgconfig/geocode-glib-2.0.pc %{_datadir}/gir-1.0/GeocodeGlib-1.0.gir %{_datadir}/gir-1.0/GeocodeGlib-2.0.gir %files help %defattr(-,root,root) %doc README NEWS %doc %{_datadir}/gtk-doc/ %changelog * Tue Feb 20 2024 liweigang - 3.26.4-2 - fix compile fail * Mon Jan 2 2023 lin zhang - 3.26.4-1 - Update to 3.26.4 * Wed May 18 2022 loong-C - 3.26.2-4 - fix spec changelog date * Fri Jul 30 2021 chenyanpanHW - 3.26.2-3 - DESC: delete -S git from %autosetup, and delete BuildRequires git * Tue Jul 20 2021 liuyumeng - 3.26.2-2 - delete gdb in buildrequires * Fri Jan 29 2021 yanglu - 3.26.2-1 - version update * Fri Mar 20 2020 openEuler Buildteam - 3.26.1-4 - add gdb in buildrequires * Wed Jan 22 2020 openEuler Buildteam - 3.26.1-3 - Type:bugfix - Id:NA - SUG:NA - DESC:add git in buildrequires * Tue Dec 31 2019 openEuler Buildteam - 3.26.1-2 - Type:NA - Id:NA - SUG:NA - DESC:update tarball * Wed Aug 28 2019 openEuler Buildteam - 3.26.1-1 - Package init