diff --git a/libgeos.spec b/libgeos.spec index 901f49c..bef8fab 100644 --- a/libgeos.spec +++ b/libgeos.spec @@ -1,34 +1,23 @@ -%define with_python 1 -%define with_ruby 1 -%if %with_ruby -%define ruby_sitearchdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]') -%endif Name: libgeos -Version: 3.8.1 +Version: 3.9.0 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 -URL: http://trac.osgeo.org/geos/ +URL: https://trac.osgeo.org/geos/ 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 -BuildRequires: doxygen -BuildRequires: libtool ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc -%if %with_python -BuildRequires: libpython-devel -%endif BuildRequires: libstdc++6-devel -%if %with_ruby -BuildRequires: ruby-devel -%endif ## AUTOBUILDREQ-END +BuildRequires: doxygen +BuildRequires: libtool BuildRequires: swig BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -42,7 +31,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS). - This package contains static libraries and headers need for development. %package -n python-geos @@ -53,7 +41,6 @@ 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 @@ -64,9 +51,10 @@ 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. +%debug_package + %prep %setup -q -n geos-%{version} #%patch0 -p0 -b .gcc43 @@ -78,16 +66,10 @@ done %build %configure \ -%if %with_python - --enable-python \ -%endif -%if %with_ruby - --enable-ruby \ -%endif --disable-static \ - --disable-dependency-tracking \ + --disable-dependency-tracking -%make RUBY_SO_NAME=ruby +%make cd doc make doxygen-html @@ -123,25 +105,14 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' %{_includedir}/geos/* %{_libdir}/libgeos.so %{_libdir}/libgeos_c.so +%{_libdir}/pkgconfig/geos.pc %doc doc/doxygen_docs %doc ChangeLog NEWS -%if %with_python -%files -n python-geos -%defattr(-,root,root) -%{python_sitelib}/geos.pth -%dir %{python_sitelib}/geos -%{python_sitelib}/geos/geos.py* -%{python_sitearch}/geos/*.so -%endif - -%if %with_ruby -%files -n ruby-geos -%defattr(-,root,root) -%{ruby_sitearch}/geos.so -%endif - %changelog +* Sun Feb 07 2021 Automatic Build System 3.9.0-1mamba +- automatic version update by autodist + * Sun Sep 13 2020 Automatic Build System 3.8.1-1mamba - automatic update by autodist