[libspatialite] New upstream release 4.1.0
Volker Fröhlich
volter at fedoraproject.org
Tue Jun 4 22:39:04 UTC 2013
commit f4cfc1e3bf788778372bfb6ab61dfc0fd1012d33
Author: Volker Fröhlich <volker27 at gmx.at>
Date: Wed Jun 5 00:38:29 2013 +0200
New upstream release 4.1.0
.gitignore | 1 +
libspatialite.spec | 28 ++++++++++++++++++++++++----
sources | 2 +-
3 files changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b355e56..488f052 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/libspatialite-2.4.0.tar.gz
/libspatialite-3.1.0-RC2.tar.gz
/libspatialite-4.0.0.tar.gz
+/libspatialite-4.1.0.tar.gz
diff --git a/libspatialite.spec b/libspatialite.spec
index 062a42e..c6ed748 100644
--- a/libspatialite.spec
+++ b/libspatialite.spec
@@ -9,9 +9,15 @@
# Geocallbacks work with SQLite 3.7.3 and up, available in Fedora,
# but not in EL, including 6; are off by default
%if 0%{?fedora}
+%global _libxml2 "--enable-libxml2=yes"
%global _geocallback "--enable-geocallbacks"
%endif
+%if 0%{?fedora} > 18
+# The author expects malfunction in older versions of libxml2 than 2.8
+%global _lwgeom "--enable-lwgeom=yes"
+%endif
+
# GEOS 3.3 is only available in Fedora and from EL6 on and up
# Older versions don't allow for "geosadvanced"
%if 0%{?rhel} == 5
@@ -29,8 +35,8 @@
%endif
Name: libspatialite
-Version: 4.0.0
-Release: 3%{?dist}
+Version: 4.1.0
+Release: 1%{?dist}
Summary: Enables SQLite to support spatial data
Group: System Environment/Libraries
License: MPLv1.1 or GPLv2+ or LGPLv2+
@@ -41,10 +47,19 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# EPEL 5 reminiscences are for ELGIS
-BuildRequires: proj-devel
BuildRequires: freexl-devel
-BuildRequires: sqlite-devel
BuildRequires: geos-devel
+BuildRequires: proj-devel
+BuildRequires: sqlite-devel
+BuildRequires: zlib-devel
+
+%if 0%{?fedora}
+BuildRequires: libxml2-devel
+%endif
+
+%if 0%{?fedora} > 18
+BuildRequires: postgis
+%endif
%description
SpatiaLite is a a library extending the basic SQLite core
@@ -76,6 +91,8 @@ developing applications that use %{name}.
%build
%configure \
--disable-static \
+ %{?_lwgeom} \
+ %{?_libxml2} \
%{?_geocallback} \
%{?_geosadvanced}
@@ -119,6 +136,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jun 4 2013 Volker Fröhlich <volker27 at gmx.at> - 4.1.0-1
+- New upstream release
+
* Mon Apr 8 2013 Volker Fröhlich <volker27 at gmx.at> - 4.0.0-3
- Disable hexgrid22 test on 32 bit systems
- Disable tests on ARM
diff --git a/sources b/sources
index 98c63a1..6e640cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8040ce4e39913e7d284675c0f15d270d libspatialite-4.0.0.tar.gz
+8701f34e5ee1f018fa2d9744f50f637c libspatialite-4.1.0.tar.gz
More information about the scm-commits
mailing list