6 Commits

View File

@ -1,28 +1,22 @@
Name: geocode-glib
Version: 3.24.0
Version: 3.26.4
Release: 1mamba
Summary: A convenience library for the geocoding and reverse geocoding
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://git.gnome.org/browse/geocode-glib/
Source: https://git.gnome.org/browse/geocode-glib/snapshot/geocode-glib-%{version}.tar.gz
URL: https://gitlab.gnome.org/GNOME/geocode-glib/
Source: https://gitlab.gnome.org/GNOME/geocode-glib.git/%{version}/geocode-glib-%{version}.tar.bz2
#Source: https://git.gnome.org/browse/geocode-glib/snapshot/geocode-glib-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: liblzma-devel
BuildRequires: libselinux-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libsoup2-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
@ -30,6 +24,7 @@ geocode-glib is a convenience library for the geocoding (finding longitude, and
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
This package contains shared libraries for %{name}.
@ -49,13 +44,13 @@ This package contains libraries and header files for developing applications tha
%setup -q
%build
./autogen.sh
%configure
%make
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
%find_lang %{name} || touch %{name}.lang
@ -65,11 +60,18 @@ This package contains libraries and header files for developing applications tha
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_datadir}/icons/hicolor/scalable/places/*.svg
%dir %{_datadir}/installed-tests/geocode-glib
%{_datadir}/installed-tests/geocode-glib/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
%{_libdir}/libgeocode-glib.so.*
%{_datadir}/icons/gnome/scalable/places/poi-*.svg
%dir %{_libexecdir}/geocode-glib
%{_libexecdir}/geocode-glib/*
%doc AUTHORS COPYING.LIB
%files -n lib%{name}-devel
@ -77,13 +79,32 @@ This package contains libraries and header files for developing applications tha
%dir %{_includedir}/geocode-glib-1.0
%dir %{_includedir}/geocode-glib-1.0/geocode-glib
%{_includedir}/geocode-glib-1.0/geocode-glib/*.h
%{_libdir}/libgeocode-glib.la
%{_libdir}/libgeocode-glib.so
%{_libdir}/pkgconfig/geocode-glib-1.0.pc
%{_datadir}/gir-1.0/GeocodeGlib-1.0.gir
%dir %{_datadir}/gtk-doc/html/geocode-glib
%{_datadir}/gtk-doc/html/geocode-glib/*
#%doc NEWS README TODO
%changelog
* Wed Aug 10 2022 Automatic Build System <autodist@mambasoft.it> 3.26.4-1mamba
- automatic version update by autodist
* Thu Jul 07 2022 Automatic Build System <autodist@mambasoft.it> 3.26.3-1mamba
- automatic version update by autodist
* Sat Mar 14 2020 Automatic Build System <autodist@mambasoft.it> 3.26.2-1mamba
- automatic version update by autodist
* Sat Mar 30 2019 Automatic Build System <autodist@mambasoft.it> 3.26.1-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.26.0-1mamba
- update to 3.26.0
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 3.25.4.1-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 3.24.0-1mamba
- automatic version update by autodist