2019-09-30 10:39:39 -04:00
|
|
|
Name: geocode-glib
|
2023-01-31 16:41:35 +08:00
|
|
|
Version: 3.26.4
|
|
|
|
|
Release: 1
|
2019-09-30 10:39:39 -04:00
|
|
|
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
|
|
|
|
|
|
2020-01-22 11:35:07 +08:00
|
|
|
BuildRequires: gettext gtk-doc glib2-devel gobject-introspection-devel
|
2023-01-31 16:41:35 +08:00
|
|
|
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}
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%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}
|
2023-01-31 16:41:35 +08:00
|
|
|
Provides: geocode-glib-devel geocode-glib2-devel
|
|
|
|
|
Provides: geocode-glib-devel%{?_isa} geocode-glib2-devel%{?_isa}
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains development files needed to develop with the %{name} library.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-07-30 22:39:03 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%build
|
2023-01-31 16:41:35 +08:00
|
|
|
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
|
|
|
|
|
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%install
|
2023-01-31 16:41:35 +08:00
|
|
|
%meson_install -C build-soup2
|
|
|
|
|
|
|
|
|
|
%meson_install -C build-soup3
|
|
|
|
|
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license COPYING.LIB
|
|
|
|
|
%doc AUTHORS
|
2023-01-31 16:41:35 +08:00
|
|
|
%{_libdir}/libgeocode-glib.so.0*
|
|
|
|
|
%{_libdir}/libgeocode-glib-2.so.0*
|
2019-09-30 10:39:39 -04:00
|
|
|
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
|
2023-01-31 16:41:35 +08:00
|
|
|
%{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib
|
|
|
|
|
%{_datadir}/icons/hicolor/scalable/places/*.svg
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_includedir}/geocode-glib-1.0/
|
2023-01-31 16:41:35 +08:00
|
|
|
%{_includedir}/geocode-glib-2.0/
|
|
|
|
|
%{_libdir}/libgeocode-glib.so
|
|
|
|
|
%{_libdir}/libgeocode-glib-2.so
|
2019-09-30 10:39:39 -04:00
|
|
|
%{_libdir}/pkgconfig/geocode-glib-1.0.pc
|
2023-01-31 16:41:35 +08:00
|
|
|
%{_libdir}/pkgconfig/geocode-glib-2.0.pc
|
2019-09-30 10:39:39 -04:00
|
|
|
%{_datadir}/gir-1.0/GeocodeGlib-1.0.gir
|
2023-01-31 16:41:35 +08:00
|
|
|
%{_datadir}/gir-1.0/GeocodeGlib-2.0.gir
|
|
|
|
|
%{_datadir}/installed-tests/geocode-glib
|
|
|
|
|
%{_libexecdir}/geocode-glib
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README NEWS
|
2023-01-31 16:41:35 +08:00
|
|
|
%doc %{_datadir}/gtk-doc/
|
2019-09-30 10:39:39 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2023-01-31 16:41:35 +08:00
|
|
|
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 3.26.4-1
|
|
|
|
|
- Update to 3.26.4
|
|
|
|
|
|
2022-05-18 10:19:11 +08:00
|
|
|
* Wed May 18 2022 loong-C <liweiganga@uniontech.com> - 3.26.2-4
|
|
|
|
|
- fix spec changelog date
|
|
|
|
|
|
2021-07-30 22:39:03 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.26.2-3
|
|
|
|
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2022-05-18 10:19:11 +08:00
|
|
|
* Tue Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 3.26.2-2
|
2021-07-20 16:04:41 +08:00
|
|
|
- delete gdb in buildrequires
|
|
|
|
|
|
2021-01-29 17:07:43 +08:00
|
|
|
* Fri Jan 29 2021 yanglu <yanglu60@huawei.com> - 3.26.2-1
|
|
|
|
|
- version update
|
|
|
|
|
|
2020-03-20 11:11:27 +08:00
|
|
|
* Fri Mar 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.26.1-4
|
|
|
|
|
- add gdb in buildrequires
|
|
|
|
|
|
2020-01-22 11:35:07 +08:00
|
|
|
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.26.1-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add git in buildrequires
|
|
|
|
|
|
2019-12-31 18:50:33 +08:00
|
|
|
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.26.1-2
|
|
|
|
|
- Type:NA
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update tarball
|
|
|
|
|
|
2019-09-30 10:39:39 -04:00
|
|
|
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.26.1-1
|
|
|
|
|
- Package init
|