diff --git a/README.md b/README.md index 4f064ea..050c372 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # geocode-glib +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. + diff --git a/geocode-glib.spec b/geocode-glib.spec new file mode 100644 index 0000000..8d289fb --- /dev/null +++ b/geocode-glib.spec @@ -0,0 +1,90 @@ +Name: geocode-glib +Version: 3.10.0 +Release: 1mamba +Summary: A convenience library for the geocoding and reverse geocoding +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://git.gnome.org/browse/geocode-glib/ +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 +## 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. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib +%{_libdir}/libgeocode-glib.so.* +%doc AUTHORS COPYING.LIB + +%files -n lib%{name}-devel +%defattr(-,root,root) +%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 +%doc NEWS README TODO + +%changelog +* Mon Oct 28 2013 Automatic Build System 3.10.0-1mamba +- automatic version update by autodist + +* Sun Sep 01 2013 Silvan Calarco 0.99.2-1mamba +- package created by silvan using the webbuild interface