2024-01-06 04:22:21 +01:00
|
|
|
Name: libgeos
|
2024-01-06 04:22:22 +01:00
|
|
|
Version: 3.10.2
|
2024-01-06 04:22:21 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:22:22 +01:00
|
|
|
URL: https://trac.osgeo.org/geos/
|
2024-01-06 04:22:21 +01:00
|
|
|
Source: http://download.osgeo.org/geos/geos-%{version}.tar.bz2
|
|
|
|
Patch0: libgeos-3.2.1-gcc43.patch
|
|
|
|
Patch1: libgeos-3.2.1-swig.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 04:22:22 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libtool
|
2024-01-06 04:22:21 +01:00
|
|
|
BuildRequires: swig
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
|
2024-01-06 04:22:22 +01:00
|
|
|
This package contains static libraries and headers needed for development.
|
2024-01-06 04:22:21 +01:00
|
|
|
|
|
|
|
%package -n python-geos
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Summary: Python module for GEOS
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: python
|
|
|
|
|
|
|
|
%description -n python-geos
|
|
|
|
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
|
|
|
|
This package contains Python module to build applications using GEOS and Python.
|
|
|
|
|
|
|
|
%package -n ruby-geos
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Ruby module for Player
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: ruby
|
|
|
|
|
|
|
|
%description -n ruby-geos
|
|
|
|
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
|
|
|
|
This package contains Ruby module to build applications using GEOS and Ruby.
|
|
|
|
|
2024-01-06 04:22:22 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n geos-%{version}
|
2024-01-06 04:22:21 +01:00
|
|
|
#%patch0 -p0 -b .gcc43
|
2024-01-06 04:22:21 +01:00
|
|
|
#%patch1 -p1 -b .swig
|
|
|
|
|
|
|
|
for makefile in `find . -type f -name 'Makefile.in'`; do
|
|
|
|
sed -i 's|@LIBTOOL@|%{_bindir}/libtool|g' $makefile
|
|
|
|
done
|
|
|
|
|
|
|
|
%build
|
2024-01-06 04:22:22 +01:00
|
|
|
%cmake -d build
|
2024-01-06 04:22:21 +01:00
|
|
|
|
2024-01-06 04:22:22 +01:00
|
|
|
%make
|
2024-01-06 04:22:21 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 04:22:22 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 04:22:21 +01:00
|
|
|
|
|
|
|
%check
|
|
|
|
%make check || exit 0
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:22:22 +01:00
|
|
|
%{_libdir}/libgeos.so.*
|
2024-01-06 04:22:21 +01:00
|
|
|
%{_libdir}/libgeos_c.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:22:22 +01:00
|
|
|
%{_bindir}/geosop
|
2024-01-06 04:22:21 +01:00
|
|
|
%{_bindir}/geos-config
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%dir %{_includedir}/geos
|
|
|
|
%{_includedir}/geos/*
|
|
|
|
%{_libdir}/libgeos.so
|
|
|
|
%{_libdir}/libgeos_c.so
|
2024-01-06 04:22:22 +01:00
|
|
|
%{_libdir}/pkgconfig/geos.pc
|
2024-01-06 04:22:22 +01:00
|
|
|
%dir %{_libdir}/cmake/GEOS
|
|
|
|
%{_libdir}/cmake/GEOS/*.cmake
|
|
|
|
#%doc doc/doxygen_docs
|
|
|
|
#%doc ChangeLog NEWS
|
2024-01-06 04:22:21 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:22:22 +01:00
|
|
|
* Sun Jan 16 2022 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:22 +01:00
|
|
|
* Wed Nov 03 2021 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:22 +01:00
|
|
|
* Mon Oct 25 2021 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:22 +01:00
|
|
|
* Fri Feb 12 2021 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:22 +01:00
|
|
|
* Sun Feb 07 2021 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:22 +01:00
|
|
|
* Sun Sep 13 2020 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
* Wed Dec 11 2019 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
* Tue Jul 02 2019 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
* Tue Dec 04 2018 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
* Sun Oct 07 2018 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
* Mon Oct 19 2015 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:21 +01:00
|
|
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 3.3.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 24 2013 Automatic Build System <autodist@mambasoft.it> 3.3.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 20 2012 Automatic Build System <autodist@mambasoft.it> 3.3.6-1mamba
|
|
|
|
- update to 3.3.6
|
|
|
|
|
|
|
|
* Mon Aug 06 2012 Automatic Build System <autodist@mambasoft.it> 3.3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 17 2011 gil <puntogil@libero.it> 3.2.1-1mamba
|
|
|
|
- package created by autospec
|