8 Commits

View File

@ -1,28 +1,22 @@
Name: geocode-glib Name: geocode-glib
Version: 3.18.2 Version: 3.26.3
Release: 1mamba Release: 1mamba
Summary: A convenience library for the geocoding and reverse geocoding Summary: A convenience library for the geocoding and reverse geocoding
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://git.gnome.org/browse/geocode-glib/ URL: https://gitlab.gnome.org/GNOME/geocode-glib/
Source: https://git.gnome.org/browse/geocode-glib/snapshot/geocode-glib-%{version}.tar.gz 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 License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel BuildRequires: libjson-glib-devel
BuildRequires: liblzma-devel BuildRequires: libsoup2-devel
BuildRequires: libselinux-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Shared libraries for %{name} Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name} %description -n lib%{name}
This package contains shared libraries for %{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 %setup -q
%build %build
./autogen.sh %meson
%configure
%make %meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %meson_install
%find_lang %{name} || touch %{name}.lang %find_lang %{name} || touch %{name}.lang
@ -65,11 +60,16 @@ This package contains libraries and header files for developing applications tha
%post -n lib%{name} -p /sbin/ldconfig %post -n lib%{name} -p /sbin/ldconfig
%postun -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} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib %{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
%{_libdir}/libgeocode-glib.so.* %{_libdir}/libgeocode-glib.so.*
%{_datadir}/icons/gnome/scalable/places/poi-*.svg
%doc AUTHORS COPYING.LIB %doc AUTHORS COPYING.LIB
%files -n lib%{name}-devel %files -n lib%{name}-devel
@ -77,13 +77,38 @@ This package contains libraries and header files for developing applications tha
%dir %{_includedir}/geocode-glib-1.0 %dir %{_includedir}/geocode-glib-1.0
%dir %{_includedir}/geocode-glib-1.0/geocode-glib %dir %{_includedir}/geocode-glib-1.0/geocode-glib
%{_includedir}/geocode-glib-1.0/geocode-glib/*.h %{_includedir}/geocode-glib-1.0/geocode-glib/*.h
%{_libdir}/libgeocode-glib.la
%{_libdir}/libgeocode-glib.so %{_libdir}/libgeocode-glib.so
%{_libdir}/pkgconfig/geocode-glib-1.0.pc %{_libdir}/pkgconfig/geocode-glib-1.0.pc
%{_datadir}/gir-1.0/GeocodeGlib-1.0.gir %{_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 #%doc NEWS README TODO
%changelog %changelog
* 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
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 3.23.90-1mamba
- automatic version update by autodist
* Sun Apr 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.20.1-1mamba
- update to 3.20.1
* Sun Feb 21 2016 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba * Sun Feb 21 2016 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
- automatic version update by autodist - automatic version update by autodist