Compare commits

..

No commits in common. "4b44445a10c137d6bab6ec7a3cdc43f8b033b5ca" and "fabbbfdd4c94a21d673c184759bbfe4e4ed2dce3" have entirely different histories.

3 changed files with 12 additions and 49 deletions

BIN
geocode-glib-3.26.2.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,14 @@
Name: geocode-glib
Version: 3.26.4
Release: 2
Version: 3.26.2
Release: 1
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}
BuildRequires: json-glib-devel libsoup-devel libxslt git meson gdb
Requires: json-glib
%description
Geocode-glib provides geocoding and reverse geocoding. Geocoding is the process of translating
@ -21,8 +18,6 @@ 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.
@ -30,25 +25,14 @@ This package contains development files needed to develop with the %{name} libra
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -n %{name}-%{version} -p1 -S git
%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
%meson -Denable-installed-tests=false
%meson_build
%install
%meson_install -C build-soup2
%meson_install -C build-soup3
%meson_install
%ldconfig_scriptlets
@ -56,44 +40,23 @@ meson --reconfigure -Denable-installed-tests=false -Dsoup2=false build-soup3
%defattr(-,root,root)
%license COPYING.LIB
%doc AUTHORS
%{_libdir}/libgeocode-glib.so.0*
%{_libdir}/libgeocode-glib-2.so.0*
%{_libdir}/libgeocode-glib.so.*
%{_libdir}/libgeocode-glib.so
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
%{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib
%{_datadir}/icons/hicolor/scalable/places/*.svg
%{_datadir}/icons/gnome/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
%doc %{_datadir}/gtk-doc/html/geocode-glib/
%files help
%defattr(-,root,root)
%doc README NEWS
%doc %{_datadir}/gtk-doc/
%changelog
* Tue Feb 20 2024 liweigang <izmirvii@gmail.com> - 3.26.4-2
- fix compile fail
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 3.26.4-1
- Update to 3.26.4
* Wed May 18 2022 loong-C <liweiganga@uniontech.com> - 3.26.2-4
- fix spec changelog date
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.26.2-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 3.26.2-2
- delete gdb in buildrequires
* Fri Jan 29 2021 yanglu <yanglu60@huawei.com> - 3.26.2-1
- version update