Enable RTTOPO and GCP

epel9
Sandro Mani 4 years ago
parent 263b44c1a7
commit 6c6f8516f8

@ -25,6 +25,13 @@
%global _no_checks 1 %global _no_checks 1
%endif %endif
%if 0%{?fedora} >= 34
# librttopo available in F34+
%global _topo --enable-rttopo
%endif
%global _gcp --enable-gcp
# check_bufovflw test fails on gcc 4.9 # check_bufovflw test fails on gcc 4.9
# https://groups.google.com/forum/#!msg/spatialite-users/zkGP-gPByXk/EAZ-schWn1MJ # https://groups.google.com/forum/#!msg/spatialite-users/zkGP-gPByXk/EAZ-schWn1MJ
%if (0%{?fedora} >= 21 || 0%{?rhel} > 7) %if (0%{?fedora} >= 21 || 0%{?rhel} > 7)
@ -33,15 +40,21 @@
Name: libspatialite Name: libspatialite
Version: 5.0.0 Version: 5.0.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Enables SQLite to support spatial data Summary: Enables SQLite to support spatial data
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: https://www.gaia-gis.it/fossil/libspatialite URL: https://www.gaia-gis.it/fossil/libspatialite
Source0: http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-%{version}.tar.gz Source0: http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-%{version}.tar.gz
BuildRequires: gcc autoconf
BuildRequires: freexl-devel BuildRequires: autoconf
BuildRequires: geos-devel >= 3.7.1 proj-devel >= 6.2.0 BuildRequires: freexl-devel
BuildRequires: sqlite-devel zlib-devel minizip-devel BuildRequires: gcc
BuildRequires: geos-devel >= 3.7.1
BuildRequires: librttopo-devel
BuildRequires: minizip-devel
BuildRequires: proj-devel >= 6.2.0
BuildRequires: sqlite-devel
BuildRequires: zlib-devel
%if (0%{?fedora} || 0%{?rhel} > 6) %if (0%{?fedora} || 0%{?rhel} > 6)
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
@ -74,7 +87,9 @@ autoconf
%{?_libxml2} \ %{?_libxml2} \
%{?_geos} \ %{?_geos} \
%{?_geocallback} \ %{?_geocallback} \
%{?_geosadvanced} %{?_geosadvanced} \
%{?_topo} \
%{?_gcp}
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
@ -116,6 +131,9 @@ find %{buildroot} -type f -name "*.la" -delete
%changelog %changelog
* Fri Nov 13 2020 Sandro Mani <manisandro@gmail.com> - 5.0.0-3
- Enable RTTOPO and GCP
* Thu Nov 5 17:46:32 CET 2020 Sandro Mani <manisandro@gmail.com> - 5.0.0-2 * Thu Nov 5 17:46:32 CET 2020 Sandro Mani <manisandro@gmail.com> - 5.0.0-2
- Rebuild (proj) - Rebuild (proj)

Loading…
Cancel
Save