automatic version update by autodist [release 3.9.0-1mamba;Sun Feb 07 2021]
This commit is contained in:
parent
67f9f17eef
commit
9fbe4aaef8
53
libgeos.spec
53
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
|
Name: libgeos
|
||||||
Version: 3.8.1
|
Version: 3.9.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS)
|
Summary: GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://trac.osgeo.org/geos/
|
URL: https://trac.osgeo.org/geos/
|
||||||
Source: http://download.osgeo.org/geos/geos-%{version}.tar.bz2
|
Source: http://download.osgeo.org/geos/geos-%{version}.tar.bz2
|
||||||
Patch0: libgeos-3.2.1-gcc43.patch
|
Patch0: libgeos-3.2.1-gcc43.patch
|
||||||
Patch1: libgeos-3.2.1-swig.patch
|
Patch1: libgeos-3.2.1-swig.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
BuildRequires: doxygen
|
|
||||||
BuildRequires: libtool
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
%if %with_python
|
|
||||||
BuildRequires: libpython-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
%if %with_ruby
|
|
||||||
BuildRequires: ruby-devel
|
|
||||||
%endif
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -42,7 +31,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
|
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.
|
This package contains static libraries and headers need for development.
|
||||||
|
|
||||||
%package -n python-geos
|
%package -n python-geos
|
||||||
@ -53,7 +41,6 @@ Requires: python
|
|||||||
|
|
||||||
%description -n python-geos
|
%description -n python-geos
|
||||||
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
|
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.
|
This package contains Python module to build applications using GEOS and Python.
|
||||||
|
|
||||||
%package -n ruby-geos
|
%package -n ruby-geos
|
||||||
@ -64,9 +51,10 @@ Requires: ruby
|
|||||||
|
|
||||||
%description -n ruby-geos
|
%description -n ruby-geos
|
||||||
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
|
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.
|
This package contains Ruby module to build applications using GEOS and Ruby.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n geos-%{version}
|
%setup -q -n geos-%{version}
|
||||||
#%patch0 -p0 -b .gcc43
|
#%patch0 -p0 -b .gcc43
|
||||||
@ -78,16 +66,10 @@ done
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
%if %with_python
|
|
||||||
--enable-python \
|
|
||||||
%endif
|
|
||||||
%if %with_ruby
|
|
||||||
--enable-ruby \
|
|
||||||
%endif
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking
|
||||||
|
|
||||||
%make RUBY_SO_NAME=ruby
|
%make
|
||||||
|
|
||||||
cd doc
|
cd doc
|
||||||
make doxygen-html
|
make doxygen-html
|
||||||
@ -123,25 +105,14 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|||||||
%{_includedir}/geos/*
|
%{_includedir}/geos/*
|
||||||
%{_libdir}/libgeos.so
|
%{_libdir}/libgeos.so
|
||||||
%{_libdir}/libgeos_c.so
|
%{_libdir}/libgeos_c.so
|
||||||
|
%{_libdir}/pkgconfig/geos.pc
|
||||||
%doc doc/doxygen_docs
|
%doc doc/doxygen_docs
|
||||||
%doc ChangeLog NEWS
|
%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
|
%changelog
|
||||||
|
* Sun Feb 07 2021 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Sep 13 2020 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
* Sun Sep 13 2020 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user