[packages/geocode-glib] - updated to 0.99.2; GeoIP code has been moved to geoclue - added link patch (fixes shared library l
qboosh
qboosh at pld-linux.org
Thu Aug 22 17:16:45 CEST 2013
commit 4055f097609a980e4e08d175590362c024603349
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Aug 22 17:16:04 2013 +0200
- updated to 0.99.2; GeoIP code has been moved to geoclue
- added link patch (fixes shared library linking, needs libm)
geocode-glib-link.patch | 11 +++++++++++
geocode-glib.spec | 8 ++++----
2 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/geocode-glib.spec b/geocode-glib.spec
index 4e39abe..30b8157 100644
--- a/geocode-glib.spec
+++ b/geocode-glib.spec
@@ -6,13 +6,13 @@
Summary: GLib geocoding library that uses the Yahoo! Place Finder service
Summary(pl.UTF-8): Biblioteka GLib do geokodowania wykorzystująca serwis Yahoo! Place Finder
Name: geocode-glib
-Version: 0.99.1
+Version: 0.99.2
Release: 1
License: LGPL v2+
Group: Libraries
Source0: http://download.gnome.org/sources/geocode-glib/0.99/%{name}-%{version}.tar.xz
-# Source0-md5: 12ebb262dd3fac80826bcca653347b62
-BuildRequires: GeoIP-devel
+# Source0-md5: a71ac46ef71ac97867d73552b10522ff
+Patch0: %{name}-link.patch
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
BuildRequires: gettext-devel >= 0.17
@@ -80,6 +80,7 @@ Dokumentacja API biblioteki geocode-glib.
%prep
%setup -q
+%patch0 -p1
%build
%{__intltoolize}
@@ -110,7 +111,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/geoip-update
%attr(755,root,root) %{_libdir}/libgeocode-glib.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgeocode-glib.so.0
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
diff --git a/geocode-glib-link.patch b/geocode-glib-link.patch
new file mode 100644
index 0000000..81e723a
--- /dev/null
+++ b/geocode-glib-link.patch
@@ -0,0 +1,11 @@
+--- geocode-glib-0.99.2/geocode-glib/Makefile.am.orig 2013-08-15 17:24:18.000000000 +0200
++++ geocode-glib-0.99.2/geocode-glib/Makefile.am 2013-08-22 15:47:18.094343732 +0200
+@@ -19,7 +19,7 @@
+ $(libgeocode_glib_la_PUBLICSOURCES) \
+ geocode-glib-private.h
+
+-libgeocode_glib_la_LIBADD = $(GEOCODE_LIBS) $(LIBS)
++libgeocode_glib_la_LIBADD = $(GEOCODE_LIBS) $(LIBS) -lm
+
+ libgeocode_glib_la_LDFLAGS = \
+ -version-info $(GCLIB_LT_VERSION) \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/geocode-glib.git/commitdiff/4055f097609a980e4e08d175590362c024603349
More information about the pld-cvs-commit
mailing list