14 Commits

Author SHA1 Message Date
92c259cbad rebuilt with api 2.0 subpackages (using soup 3) [release 3.26.4-2mamba;Tue Nov 08 2022] 2024-01-05 22:41:27 +01:00
347ecf8e14 automatic version update by autodist [release 3.26.4-1mamba;Wed Aug 10 2022] 2024-01-05 22:41:27 +01:00
a059f4d22c automatic version update by autodist [release 3.26.3-1mamba;Thu Jul 07 2022] 2024-01-05 22:41:27 +01:00
65ede6e669 automatic version update by autodist [release 3.26.2-1mamba;Sat Mar 14 2020] 2024-01-05 22:41:27 +01:00
290006c46c automatic version update by autodist [release 3.26.1-1mamba;Sat Mar 30 2019] 2024-01-05 22:41:27 +01:00
8f61943452 update to 3.26.0 [release 3.26.0-1mamba;Sun Jul 29 2018] 2024-01-05 22:41:27 +01:00
2a57da7fc9 automatic version update by autodist [release 3.25.4.1-1mamba;Sat Jan 06 2018] 2024-01-05 22:41:27 +01:00
a8eb65013a automatic version update by autodist [release 3.24.0-1mamba;Wed Aug 09 2017] 2024-01-05 22:41:27 +01:00
21bf0f57a2 automatic version update by autodist [release 3.23.90-1mamba;Mon Apr 24 2017] 2024-01-05 22:41:27 +01:00
f06b6bc9dc update to 3.20.1 [release 3.20.1-1mamba;Sun Apr 24 2016] 2024-01-05 22:41:27 +01:00
0fcf9757ca automatic version update by autodist [release 3.18.2-1mamba;Sun Feb 21 2016] 2024-01-05 22:41:27 +01:00
45ccbd728e automatic version update by autodist [release 3.18.1-1mamba;Mon Feb 01 2016] 2024-01-05 22:41:27 +01:00
200d300a79 automatic version update by autodist [release 3.18.0-1mamba;Fri Oct 09 2015] 2024-01-05 22:41:26 +01:00
dbbc2c6267 automatic version update by autodist [release 3.16.2-1mamba;Wed May 13 2015] 2024-01-05 22:41:26 +01:00

View File

@ -1,28 +1,23 @@
Name: geocode-glib
Version: 3.16.0
Release: 1mamba
Version: 3.26.4
Release: 2mamba
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 +25,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}.
@ -43,19 +39,63 @@ Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n lib%{name}-2
Group: System/Libraries
Summary: Shared libraries for %{name}-2
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-2
This package contains shared libraries for %{name}.
%package -n lib%{name}-2-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name}-2 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-2-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
./autogen.sh
%configure
%make
%meson \
-Dsoup2=true \
-Denable-installed-tests=false
%{__meson} \
--buildtype=plain \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
--includedir=%{_includedir} \
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--localedir=%{_datadir}/locale \
--sysconfdir=%{_sysconfdir} \
--localstatedir=%{_localstatedir} \
--sharedstatedir=%{_sharedstatedir} \
--wrap-mode=%{__meson_wrap_mode} \
-Dsoup2=false \
-Denable-installed-tests=false \
. build3
%meson_build
ninja -C build3
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
export DESTDIR=%{buildroot}
ninja install -C build3
%find_lang %{name} || touch %{name}.lang
@ -65,11 +105,14 @@ 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
%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
%doc AUTHORS COPYING.LIB
%files -n lib%{name}-devel
@ -77,13 +120,74 @@ 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
%files -n lib%{name}-2
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib
%{_libdir}/libgeocode-glib-2.so.*
%doc AUTHORS COPYING.LIB
%files -n lib%{name}-2-devel
%defattr(-,root,root)
%dir %{_includedir}/geocode-glib-2.0
%dir %{_includedir}/geocode-glib-2.0/geocode-glib
%{_includedir}/geocode-glib-2.0/geocode-glib/*.h
%{_libdir}/libgeocode-glib-2.so
%{_libdir}/pkgconfig/geocode-glib-2.0.pc
%{_datadir}/gir-1.0/GeocodeGlib-2.0.gir
%dir %{_datadir}/gtk-doc/html/geocode-glib-2
%{_datadir}/gtk-doc/html/geocode-glib-2/*
#%doc NEWS README TODO
%changelog
* Tue Nov 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.26.4-2mamba
- rebuilt with api 2.0 subpackages (using soup 3)
* 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
* 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
- automatic version update by autodist
* Mon Feb 01 2016 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
- automatic version update by autodist
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
- automatic version update by autodist
* Wed May 13 2015 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist