[packages/librasterlite] - fix missing link libs - rel 5

baggins baggins at pld-linux.org
Sun Jul 19 09:26:56 CEST 2015


commit 40842c5db021b7e891efcd1c669a71c4bdade318
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jul 19 07:26:39 2015 +0000

    - fix missing link libs
    - rel 5

 librasterlite.spec |  8 +++++++-
 link.patch         | 20 ++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/librasterlite.spec b/librasterlite.spec
index e6de866..8d8e22f 100644
--- a/librasterlite.spec
+++ b/librasterlite.spec
@@ -2,11 +2,12 @@ Summary:	Spatial SQL database engine based on SQLite
 Summary(pl.UTF-8):	Silnik przestrzennej bazy danych SQL oparty na SQLite
 Name:		librasterlite
 Version:	1.1g
-Release:	4
+Release:	5
 License:	MPL v1.1 or GPL v2+ or LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.gaia-gis.it/gaia-sins/librasterlite-sources/%{name}-%{version}.tar.gz
 # Source0-md5:	6c6e8f83ac8a06c78f3fdcee63dc5e3e
+Patch0:		link.patch
 URL:		https://www.gaia-gis.it/fossil/librasterlite
 BuildRequires:	libgeotiff-devel >= 1.2.5
 BuildRequires:	libjpeg-devel
@@ -15,6 +16,7 @@ BuildRequires:	libspatialite-devel
 BuildRequires:	libtiff-devel
 BuildRequires:	pkgconfig
 BuildRequires:	proj-devel
+BuildRequires:	sqlite3-devel
 BuildRequires:	zlib-devel
 Requires:	libgeotiff >= 1.2.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -58,8 +60,12 @@ Statyczna biblioteka rasterlite.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__automake}
+%{__autoconf}
 %configure
 
 %{__make}
diff --git a/link.patch b/link.patch
new file mode 100644
index 0000000..da0914f
--- /dev/null
+++ b/link.patch
@@ -0,0 +1,20 @@
+--- librasterlite-1.1g/lib/Makefile.am~	2015-07-19 07:22:05.000000000 +0000
++++ librasterlite-1.1g/lib/Makefile.am	2015-07-19 07:23:31.244687648 +0000
+@@ -21,6 +21,6 @@
+ librasterlite_la_LDFLAGS = -version-info 2:0:0 -no-undefined
+ 
+ librasterlite_la_LIBADD = @LIBSPATIALITE_LIBS@ @LIBPNG_LIBS@ \
+-	-lgeotiff -ltiff -ljpeg -lspatialite -lproj
++	-lgeotiff -ltiff -ljpeg -lspatialite -lproj -lsqlite3 -lm
+ 
+ MOSTLYCLEANFILES = *.gcna *.gcno *.gcda
+--- librasterlite-1.1g/src/Makefile.am~	2013-05-05 10:45:41.000000000 +0000
++++ librasterlite-1.1g/src/Makefile.am	2015-07-19 07:23:57.981308867 +0000
+@@ -16,6 +16,6 @@
+ 
+ LDADD = ../lib/.libs/librasterlite.a \
+ 	@LIBSPATIALITE_LIBS@ @LIBPNG_LIBS@ \
+-        -lgeotiff -ltiff -ljpeg -lspatialite -lproj
++        -lgeotiff -ltiff -ljpeg -lspatialite -lproj -lsqlite3
+ 
+ MOSTLYCLEANFILES = *.gcna *.gcno *.gcda
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librasterlite.git/commitdiff/40842c5db021b7e891efcd1c669a71c4bdade318



More information about the pld-cvs-commit mailing list