2015-02-03 12:24:59 +00:00
|
|
|
#
|
|
|
|
# spec file for package geos
|
|
|
|
#
|
Accepting request 861541 from home:bruno_friedmann:branches:Application:Geo
- Update to version 3.9.0
+ New things
- OverlayNG engine from JTS, now the default (Martin Davis, Paul Ramsey)
- MaximumInscribedCircle and LargestEmptyCircle (JTS-530, Paul Ramsey)
- CAPI: Fixed precision overlay operations (Sandro Santilli)
- CAPI: GEOSPreparedNearestPoints (#1007, Sandro Santilli)
- CAPI: GEOSPreparedDistance (#1066, Sandro Santilli)
- CAPI: GEOSGeom_setPrecision uses OverlayNG (Paul Ramsey)
- SimpleSTRTree spatial index implementation (Paul Ramsey)
- Add support for pkg-config for GEOS C API (#1073, Mike Taves)
+ Improvements:
- Stack allocate segments in OverlapUnion (Paul Ramsey)
- Improve performance of GEOSisValid (Dan Baston)
- Update geos-config tool for consistency
and escape paths (https://git.osgeo.org/gitea/geos/geos/pulls/99)
changes mostly affect CMake MSVC builds (#1015, Mike Taves)
- Testing on Rasberry Pi 32-bit (berrie) (#1017, Bruce Rindahl, Regina Obe)
- Replace ttmath with JTS DD double-double implementation (Paul Ramsey)
- Fix bug in DistanceOp for geometries with empty components (#1026, Paul Ramsey)
- Remove undefined behaviour in CAPI (#1021, Greg Troxel)
- Fix buffering issue (#1022, JTS-525, Paul Ramsey)
- MinimumBoundingCircle.getMaximumDiameter fix (JTS-533, Paul Ramsey)
+ Changes:
- Drop SWIG bindings, including for Ruby and Python (#1076, Mike Taves)
- Packaging:
+ Remove ruby related package and related patch libruby.patch
+ spec-clean mini (copyright year)
OBS-URL: https://build.opensuse.org/request/show/861541
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=36
2021-01-08 08:40:42 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-02-03 12:24:59 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
Accepting request 677266 from home:bruno_friedmann:branches:Application:Geo
- Packaging:
+ refresh patch libruby with upstream debian for 3.7.1
+ remove python as state upstream this not supported since
version 3 (use Shapely or libgeos_c)
- Update to version 3.7.1
+ Bug fixes / improvements
* Fix crash in GEOSCoordSeq_isCCW with empty coordseq
(#927, Sergey Fedoseev)
* Fix crash in GEOSInterpolate with empty LineString
(#926, Sergey Fedoseev)
* Fix crash in GEOSUnaryUnion with empty LineString
(#928, Sergey Fedoseev)
* Fix memory leak in SIRtree::insert (#919, Dan Baston)
* Reduce required autoconf to 2.63
(#56, John Harvey)
* Fix incorrect return values on error from GEOSLength
GEOSisValidDetail (#941, Dan Baston)
- Changes in 3.7.0
+ New things:
* CAPI: GEOSDistanceIndexed (#795, Dan Baston)
* CAPI: GEOSCoordSeq_isCCW (#870, Dan Baston)
* CAPI: GEOSGeom_getXMin, GEOSGeom_getXMax,
GEOSGeom_getYMin, GEOSGeom_getYMax (#871, Dan Baston)
* CAPI: GEOSFrechetDistance (#797, Shinichi SUGIYAMA)
* CAPI: GEOSReverse (#872, Dan Baston)
* CAPI: GEOSGeomGetZ (#581, J Smith)
+ Improvements
* Interruptible snap operation (Paul Ramsey)
* Numerous packaging, doc, and build changes
(Debian group: Bas Couwenberg, Francesco Paolo Lovergine)
OBS-URL: https://build.opensuse.org/request/show/677266
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=28
2019-02-19 07:59:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-02-03 12:24:59 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-02-24 07:33:03 +00:00
|
|
|
%define uver 3_9_1
|
2015-02-03 12:24:59 +00:00
|
|
|
Name: geos
|
2021-02-24 07:33:03 +00:00
|
|
|
Version: 3.9.1
|
2015-02-03 12:24:59 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Geometry Engine - Open Source
|
2018-03-08 12:08:41 +00:00
|
|
|
License: LGPL-2.1-only
|
2015-02-03 12:24:59 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-05-10 06:14:36 +00:00
|
|
|
URL: https://trac.osgeo.org/geos/
|
|
|
|
Source0: https://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2
|
2015-02-03 12:24:59 +00:00
|
|
|
Source1: %{name}-config.1
|
2018-03-08 12:08:41 +00:00
|
|
|
BuildRequires: fdupes
|
2015-02-03 12:24:59 +00:00
|
|
|
BuildRequires: gcc-c++
|
2017-05-30 09:40:15 +00:00
|
|
|
BuildRequires: pkgconfig
|
2015-02-03 12:24:59 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology
|
|
|
|
Suite (JTS). As such, it aims to contain the complete functionality of JTS
|
|
|
|
in C++. This includes all the OpenGIS "Simple Features for SQL" spatial
|
|
|
|
predicate functions and spatial operators, as well as specific JTS topology
|
|
|
|
functions such as IsValid().
|
|
|
|
|
2015-11-09 15:09:41 +00:00
|
|
|
%package -n libgeos-%{uver}
|
2015-11-09 15:05:53 +00:00
|
|
|
Summary: Geometry Engine library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-11-09 15:09:41 +00:00
|
|
|
%description -n libgeos-%{uver}
|
2015-11-09 15:05:53 +00:00
|
|
|
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology
|
|
|
|
Suite (JTS). As such, it aims to contain the complete functionality of JTS
|
|
|
|
in C++. This includes all the OpenGIS "Simple Features for SQL" spatial
|
|
|
|
predicate functions and spatial operators, as well as specific JTS topology
|
|
|
|
functions such as IsValid().
|
|
|
|
|
|
|
|
%package -n libgeos_c1
|
|
|
|
Summary: C language interface for the GEOS library
|
|
|
|
Group: System/Libraries
|
2015-11-09 15:09:41 +00:00
|
|
|
Provides: geos = %{version}-%{release}
|
|
|
|
Obsoletes: geos < %{version}-%{release}
|
2015-11-09 15:05:53 +00:00
|
|
|
|
|
|
|
%description -n libgeos_c1
|
|
|
|
This subpackage contains a shared library providing a C linkage
|
|
|
|
interface for the (C++) GEOS library.
|
|
|
|
|
2015-02-03 12:24:59 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for GEOS
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-11-09 15:09:41 +00:00
|
|
|
Requires: libgeos-%{uver} = %{version}
|
2015-11-09 15:05:53 +00:00
|
|
|
Requires: libgeos_c1 = %{version}
|
2015-02-03 12:24:59 +00:00
|
|
|
Provides: lib%{name}-devel = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology
|
|
|
|
Suite (JTS). As such, it aims to contain the complete functionality of
|
|
|
|
JTS in C++. This includes all the OpenGIS "Simple Features for SQL" spatial
|
|
|
|
predicate functions and spatial operators, as well as specific JTS topology
|
|
|
|
functions such as IsValid()
|
|
|
|
|
|
|
|
This package contains the development files to build applications that
|
|
|
|
use GEOS.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
Accepting request 861541 from home:bruno_friedmann:branches:Application:Geo
- Update to version 3.9.0
+ New things
- OverlayNG engine from JTS, now the default (Martin Davis, Paul Ramsey)
- MaximumInscribedCircle and LargestEmptyCircle (JTS-530, Paul Ramsey)
- CAPI: Fixed precision overlay operations (Sandro Santilli)
- CAPI: GEOSPreparedNearestPoints (#1007, Sandro Santilli)
- CAPI: GEOSPreparedDistance (#1066, Sandro Santilli)
- CAPI: GEOSGeom_setPrecision uses OverlayNG (Paul Ramsey)
- SimpleSTRTree spatial index implementation (Paul Ramsey)
- Add support for pkg-config for GEOS C API (#1073, Mike Taves)
+ Improvements:
- Stack allocate segments in OverlapUnion (Paul Ramsey)
- Improve performance of GEOSisValid (Dan Baston)
- Update geos-config tool for consistency
and escape paths (https://git.osgeo.org/gitea/geos/geos/pulls/99)
changes mostly affect CMake MSVC builds (#1015, Mike Taves)
- Testing on Rasberry Pi 32-bit (berrie) (#1017, Bruce Rindahl, Regina Obe)
- Replace ttmath with JTS DD double-double implementation (Paul Ramsey)
- Fix bug in DistanceOp for geometries with empty components (#1026, Paul Ramsey)
- Remove undefined behaviour in CAPI (#1021, Greg Troxel)
- Fix buffering issue (#1022, JTS-525, Paul Ramsey)
- MinimumBoundingCircle.getMaximumDiameter fix (JTS-533, Paul Ramsey)
+ Changes:
- Drop SWIG bindings, including for Ruby and Python (#1076, Mike Taves)
- Packaging:
+ Remove ruby related package and related patch libruby.patch
+ spec-clean mini (copyright year)
OBS-URL: https://build.opensuse.org/request/show/861541
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=36
2021-01-08 08:40:42 +00:00
|
|
|
%configure --disable-static
|
2015-02-03 12:24:59 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2015-05-16 08:53:20 +00:00
|
|
|
# tests fail with older releases and non-intel architectures
|
2015-05-08 07:50:00 +00:00
|
|
|
# while this was reported to upstream, there has been no reply
|
2017-05-30 09:40:45 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2015-02-03 12:24:59 +00:00
|
|
|
%check
|
|
|
|
make %{?_smp_mflags} check
|
2017-05-30 09:42:31 +00:00
|
|
|
%endif
|
2015-02-03 12:24:59 +00:00
|
|
|
|
|
|
|
%install
|
2017-05-30 09:40:15 +00:00
|
|
|
%make_install
|
|
|
|
install -Dpm 0644 %{SOURCE1} \
|
|
|
|
%{buildroot}%{_mandir}/man1/geos-config.1
|
2015-05-16 08:53:20 +00:00
|
|
|
# do not ship static libraries or la files
|
2017-05-30 09:40:15 +00:00
|
|
|
find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
|
2018-03-08 12:08:41 +00:00
|
|
|
%fdupes %{buildroot}%{python_sitelib}
|
2015-02-03 12:24:59 +00:00
|
|
|
|
2015-11-09 15:09:41 +00:00
|
|
|
%post -n libgeos-%{uver} -p /sbin/ldconfig
|
|
|
|
%postun -n libgeos-%{uver} -p /sbin/ldconfig
|
2015-11-09 15:05:53 +00:00
|
|
|
%post -n libgeos_c1 -p /sbin/ldconfig
|
|
|
|
%postun -n libgeos_c1 -p /sbin/ldconfig
|
2015-02-03 12:24:59 +00:00
|
|
|
|
2015-11-09 15:09:41 +00:00
|
|
|
%files -n libgeos-%{uver}
|
2018-03-08 12:08:41 +00:00
|
|
|
%license COPYING
|
2017-06-02 08:47:13 +00:00
|
|
|
%{_libdir}/libgeos-%{version}.so
|
2015-02-03 12:24:59 +00:00
|
|
|
|
2015-11-09 15:05:53 +00:00
|
|
|
%files -n libgeos_c1
|
2018-03-08 12:08:41 +00:00
|
|
|
%license COPYING
|
2017-06-02 08:47:13 +00:00
|
|
|
%{_libdir}/libgeos_c.so.*
|
2015-02-03 12:24:59 +00:00
|
|
|
|
2015-11-09 15:05:53 +00:00
|
|
|
%files devel
|
2018-03-08 12:08:41 +00:00
|
|
|
%license COPYING
|
2020-02-03 09:56:44 +00:00
|
|
|
%doc AUTHORS NEWS README.md ChangeLog
|
2016-06-24 09:28:49 +00:00
|
|
|
%{_mandir}/man1/%{name}-config.1%{ext_man}
|
2015-02-03 12:24:59 +00:00
|
|
|
%{_bindir}/%{name}-config
|
|
|
|
%{_includedir}/*
|
Accepting request 861541 from home:bruno_friedmann:branches:Application:Geo
- Update to version 3.9.0
+ New things
- OverlayNG engine from JTS, now the default (Martin Davis, Paul Ramsey)
- MaximumInscribedCircle and LargestEmptyCircle (JTS-530, Paul Ramsey)
- CAPI: Fixed precision overlay operations (Sandro Santilli)
- CAPI: GEOSPreparedNearestPoints (#1007, Sandro Santilli)
- CAPI: GEOSPreparedDistance (#1066, Sandro Santilli)
- CAPI: GEOSGeom_setPrecision uses OverlayNG (Paul Ramsey)
- SimpleSTRTree spatial index implementation (Paul Ramsey)
- Add support for pkg-config for GEOS C API (#1073, Mike Taves)
+ Improvements:
- Stack allocate segments in OverlapUnion (Paul Ramsey)
- Improve performance of GEOSisValid (Dan Baston)
- Update geos-config tool for consistency
and escape paths (https://git.osgeo.org/gitea/geos/geos/pulls/99)
changes mostly affect CMake MSVC builds (#1015, Mike Taves)
- Testing on Rasberry Pi 32-bit (berrie) (#1017, Bruce Rindahl, Regina Obe)
- Replace ttmath with JTS DD double-double implementation (Paul Ramsey)
- Fix bug in DistanceOp for geometries with empty components (#1026, Paul Ramsey)
- Remove undefined behaviour in CAPI (#1021, Greg Troxel)
- Fix buffering issue (#1022, JTS-525, Paul Ramsey)
- MinimumBoundingCircle.getMaximumDiameter fix (JTS-533, Paul Ramsey)
+ Changes:
- Drop SWIG bindings, including for Ruby and Python (#1076, Mike Taves)
- Packaging:
+ Remove ruby related package and related patch libruby.patch
+ spec-clean mini (copyright year)
OBS-URL: https://build.opensuse.org/request/show/861541
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=36
2021-01-08 08:40:42 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2015-02-03 12:24:59 +00:00
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_libdir}/lib%{name}_c.so
|
|
|
|
|
|
|
|
%changelog
|