[packages/spatialite_gui] - fix linking with sqlite3 - rel 5
baggins
baggins at pld-linux.org
Sun Jul 19 11:00:29 CEST 2015
commit ce0f0e913d02e1a46a2e7bbff57305b97b2d49dc
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jul 19 09:00:11 2015 +0000
- fix linking with sqlite3
- rel 5
link.patch | 11 +++++++++++
spatialite_gui.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/spatialite_gui.spec b/spatialite_gui.spec
index 7668d6a..2eed286 100644
--- a/spatialite_gui.spec
+++ b/spatialite_gui.spec
@@ -2,12 +2,13 @@ Summary: Graphical User Interface tool supporting SpatiaLite
Summary(pl.UTF-8): Graficzny interfejs użytkownika obsługujący bazy SpatiaLite
Name: spatialite_gui
Version: 1.7.1
-Release: 4
+Release: 5
License: GPL v3+
Group: Applications/Databases
Source0: http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/%{name}-%{version}.tar.gz
# Source0-md5: c917f40810607784528b4db58cd36efb
Patch0: wxWidgets3.patch
+Patch1: link.patch
URL: https://www.gaia-gis.it/fossil/spatialite_gui
BuildRequires: freexl-devel
BuildRequires: geos-devel
@@ -17,6 +18,7 @@ BuildRequires: libstdc++-devel
BuildRequires: libxml2-devel >= 2.0
BuildRequires: pkgconfig
BuildRequires: proj-devel >= 4
+BuildRequires: sqlite3-devel
BuildRequires: wxGTK2-unicode-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,11 +31,14 @@ Graficzny interfejs użytkownika obsługujący bazy SpatiaLite.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
mkdir wx-bin
ln -sf /usr/bin/wx-gtk2-unicode-config wx-bin/wx-config
%build
+%{__aclocal} -I m4
+%{__automake}
%{__autoconf}
# configure refers to wx-config with no option to override
PATH=$(pwd)/wx-bin:$PATH
diff --git a/link.patch b/link.patch
new file mode 100644
index 0000000..4a5b4e1
--- /dev/null
+++ b/link.patch
@@ -0,0 +1,11 @@
+--- spatialite_gui-1.7.1/Makefile.am~ 2013-06-29 08:29:11.000000000 +0000
++++ spatialite_gui-1.7.1/Makefile.am 2015-07-19 08:55:38.773124523 +0000
+@@ -13,7 +13,7 @@
+ TextCsv.cpp Wfs.cpp
+
+ LDADD = @WX_LIBS@ @LIBGAIAGRAPHICS_LIBS@ @LIBSPATIALITE_LIBS@ \
+- @LIBFREEXL_LIBS@ @LIBXML2_LIBS@
++ @LIBFREEXL_LIBS@ @LIBXML2_LIBS@ -lsqlite3
+
+ EXTRA_DIST = Makefile-static-MinGW \
+ Makefile-static-Linux \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/spatialite_gui.git/commitdiff/ce0f0e913d02e1a46a2e7bbff57305b97b2d49dc
More information about the pld-cvs-commit
mailing list