From 4f4fc1f29a665816350d2731145109dbbe5fe950 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 23 Aug 2013 16:56:42 +0200 Subject: [PATCH] Initial import (#1000361) --- .gitignore | 1 + geocode-glib.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 geocode-glib.spec diff --git a/.gitignore b/.gitignore index e69de29..74e7d99 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/geocode-glib-0.99.2.tar.xz diff --git a/geocode-glib.spec b/geocode-glib.spec new file mode 100644 index 0000000..8ff8e18 --- /dev/null +++ b/geocode-glib.spec @@ -0,0 +1,67 @@ +Name: geocode-glib +Version: 0.99.2 +Release: 1%{?dist} +Summary: Geocoding helper library + +License: LGPLv2+ +URL: http://www.gnome.org/ +Source0: http://download.gnome.org/sources/geocode-glib/0.99/geocode-glib-%{version}.tar.xz + +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: intltool +BuildRequires: json-glib-devel +BuildRequires: libsoup-devel + +%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 devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} V=1 + + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -delete + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc AUTHORS COPYING.LIB NEWS README +%{_libdir}/libgeocode-glib.so.* +%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib +%{_libdir}/pkgconfig/geocode-glib-1.0.pc + +%files devel +%{_includedir}/geocode-glib-1.0/ +%{_libdir}/libgeocode-glib.so +%{_datadir}/gir-1.0/GeocodeGlib-1.0.gir +%doc %{_datadir}/gtk-doc/ + + +%changelog +* Fri Aug 23 2013 Kalev Lember - 0.99.2-1 +- Initial Fedora packaging diff --git a/sources b/sources index e69de29..5abf19b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a71ac46ef71ac97867d73552b10522ff geocode-glib-0.99.2.tar.xz