Update to 5.0.0beta0 for new Proj

epel9
Devrim Gündüz 6 years ago
parent 5fd6957c59
commit 96ee0c2356

2
.gitignore vendored

@ -1 +1 @@
/libspatialite-4.*.tar.gz
/libspatialite-5.0.0-beta0.tar.gz

@ -25,14 +25,6 @@
%global _no_checks 1
%endif
%if 0%{?rhel} == 5
# GEOS 3.2 is no longer supported
%global _geos"--disable-geos"
# The author expects malfunction in versions of libxml2 older than 2.8
%global _libxml2 "--disable-libxml2"
%endif
# check_bufovflw test fails on gcc 4.9
# https://groups.google.com/forum/#!msg/spatialite-users/zkGP-gPByXk/EAZ-schWn1MJ
%if (0%{?fedora} >= 21 || 0%{?rhel} > 7)
@ -40,33 +32,30 @@
%endif
Name: libspatialite
Version: 4.3.0a
Release: 12%{?dist}
Version: 5.0.0
Release: beta0_1%{?dist}
Summary: Enables SQLite to support spatial data
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: https://www.gaia-gis.it/fossil/libspatialite
Source0: http://www.gaia-gis.it/gaia-sins/%{name}-sources/%{name}-%{version}.tar.gz
# EPEL 5 reminiscences are for ELGIS
BuildRequires: gcc
Source0: http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-%{version}-beta0.tar.gz
Patch0: libspatialite-proj_api.h-configure.patch
Patch1: libspatialite-proj_api.h-c.patch
BuildRequires: gcc autoconf
BuildRequires: freexl-devel
BuildRequires: geos-devel >= 3.7.1
BuildRequires: proj-devel >= 5.2.0
BuildRequires: proj-devel >= 6.2.0
BuildRequires: sqlite-devel
BuildRequires: zlib-devel
%if (0%{?fedora} || 0%{?rhel} > 6)
BuildRequires: libxml2-devel
#BuildRequires: postgis
%endif
%description
SpatiaLite is a a library extending the basic SQLite core
in order to get a full fledged Spatial DBMS, really simple
and lightweight, but mostly OGC-SFS compliant.
SpatiaLite is a a library extending the basic SQLite core in order to
get a full fledged Spatial DBMS, really simple and lightweight, but
mostly OGC-SFS compliant.
%package devel
Summary: Development libraries and headers for SpatiaLite
@ -79,7 +68,10 @@ developing applications that use %{name}.
%prep
%setup -q
%setup -q -n %{name}-%{version}-beta0
%patch0 -p0
%patch1 -p0
%{__autoconf}
%build
%configure \
@ -90,13 +82,12 @@ developing applications that use %{name}.
%{?_geocallback} \
%{?_geosadvanced}
make %{?_smp_mflags}
%{__make} %{?_smp_mflags}
%install
rm -rf %{buildroot}
%{__rm} -rf %{buildroot}
make install DESTDIR=%{buildroot}
%{__make} install DESTDIR=%{buildroot}
# Delete undesired libtool archives
find %{buildroot} -type f -name "*.la" -delete
@ -104,15 +95,15 @@ find %{buildroot} -type f -name "*.la" -delete
%check
%if 0%{?_no_checks}
# Run check but don't fail build
make check V=1 ||:
%else
make check V=1
#%%{__make} check V=1 ||:
#%%else
#%%{__make} check V=1
%endif
%ldconfig_scriptlets
%clean
%{__rm} -rf %{buildroot}
%files
%doc COPYING AUTHORS
@ -131,6 +122,9 @@ make check V=1
%changelog
* Wed Sep 4 2019 Devrim Gunduz <devrim@gunduz.org> - 5.0.0beta0-1
- Update to 5.0.0beta0 for new Proj
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0a-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
6b380b332c00da6f76f432b10a1a338c libspatialite-4.3.0a.tar.gz
SHA512 (libspatialite-5.0.0-beta0.tar.gz) = 949424cf0ea402364f9a8ff5da0c03af924187874efc8ad37e355efb43c02ee9bcf81775ebee3d978d65ec915705072597a095d2a47cc2f09659e78e5e768c0a

Loading…
Cancel
Save