- updated to 0.99.2; GeoIP code has been moved to geoclue
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 22 Aug 2013 15:16:04 +0000 (17:16 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 22 Aug 2013 15:16:04 +0000 (17:16 +0200)
- added link patch (fixes shared library linking, needs libm)

geocode-glib-link.patch [new file with mode: 0644]
geocode-glib.spec

diff --git a/geocode-glib-link.patch b/geocode-glib-link.patch
new file mode 100644 (file)
index 0000000..81e723a
--- /dev/null
@@ -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)               \
index 4e39abe..30b8157 100644 (file)
@@ -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
This page took 0.367335 seconds and 4 git commands to generate.