[libspatialite] Initial check-in
Volker Fröhlich
volter at fedoraproject.org
Tue Dec 7 13:22:02 UTC 2010
commit 9f24d689cc4a4bea53970df95ffccc02e275df9d
Author: Volker Fröhlich <volker27 at gmx.at>
Date: Tue Dec 7 14:21:47 2010 +0100
Initial check-in
.gitignore | 1 +
libspatialite.spec | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e11d954 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libspatialite-2.4.0.tar.gz
diff --git a/libspatialite.spec b/libspatialite.spec
new file mode 100644
index 0000000..9e746e5
--- /dev/null
+++ b/libspatialite.spec
@@ -0,0 +1,90 @@
+Name: libspatialite
+Version: 2.4.0
+Release: 0.4.RC4%{?dist}
+Summary: Enables SQLite to support spatial data
+Group: System Environment/Libraries
+License: MPLv1.1
+URL: http://www.gaia-gis.it/spatialite
+Source0: http://www.gaia-gis.it/spatialite-2.4.0-4/%{name}-%{version}.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires: proj-devel geos-devel sqlite-devel
+
+%description
+SpatiaLite extension enables SQLite to support spatial data, in
+a way conformant to OpenGIS specifications. It implements
+spatial indices, spatial functions and supports metadata.
+
+%package devel
+Summary: Development Libraries for the SpatiaLite extension
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+# Geocallbacks work with SQLite 3.7.3, available in F15, but not in RHEL yet.
+%if (0%{?fedora} < 14 || 0%{?rhel})
+%configure \
+ --disable-static \
+ --disable-geocallbacks
+%else
+%configure --disable-static
+%endif
+
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+
+make install DESTDIR=%{buildroot}
+
+# Delete undesired libtool archives
+rm -f %{buildroot}/%{_libdir}/%{name}.la
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING AUTHORS
+%{_libdir}/%{name}.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/spatialite.h
+%{_includedir}/spatialite/*
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/spatialite.pc
+
+
+%changelog
+* Sun Dec 5 2010 Volker Fröhlich <volker27 at gmx.at> 2.4.0-0.4.RC4
+- Refined configure condition to support RHEL
+
+* Fri Dec 3 2010 Volker Fröhlich <volker27 at gmx.at> 2.4.0-0.3.RC4
+- Added buildroot
+- Added doc files
+
+* Wed Dec 1 2010 Volker Fröhlich <volker27 at gmx.at> 2.4.0-0.2.RC4
+- Added description of devel package
+- Switched to disable-static flag
+
+* Sun Nov 28 2010 Volker Fröhlich <volker27 at gmx.at> 2.4.0-0.1.RC4
+- Initial packaging for Fedora
diff --git a/sources b/sources
index e69de29..2389093 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+976c087dc2d02f745d718f73f91a561e libspatialite-2.4.0.tar.gz
More information about the scm-commits
mailing list