Compare commits

..

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

@ -0,0 +1 @@
0510841658bbfb503295e6687befa0611cfc7954 SOURCES/geos-3.13.0.tar.bz2

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/geos-3.13.0.tar.bz2

@ -1,21 +0,0 @@
# Makefile for source rpm: geos
# $Id$
NAME := geos
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

@ -1,17 +1,34 @@
# mingw is x86_64 only on EL9
%if 0%{?rhel} >= 9
%ifarch x86_64
%bcond_without mingw
%else
%bcond_with mingw
%endif
%else
%bcond_without mingw
%endif
Name: geos Name: geos
Version: 3.10.1 Version: 3.13.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: GEOS is a C++ port of the Java Topology Suite Summary: GEOS is a C++ port of the Java Topology Suite
License: LGPLv2 License: LGPL-2.1-only
URL: https://libgeos.org/ URL: http://trac.osgeo.org/geos/
Source0: http://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2 Source0: http://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: cmake BuildRequires: cmake
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make
%if %{with mingw}
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw32-gcc-c++
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc-c++
%endif
%description %description
@ -37,43 +54,178 @@ This package contains the development files to build applications that
use GEOS. use GEOS.
%if %{with mingw}
%package -n mingw32-%{name}
Summary: MinGW Windows GEOS library
BuildArch: noarch
%description -n mingw32-%{name}
MinGW Windows GEOS library.
%package -n mingw64-%{name}
Summary: MinGW Windows GEOS library
BuildArch: noarch
%description -n mingw64-%{name}
MinGW Windows GEOS library.
%{?mingw_debug_package}
%endif
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
# Native build
%cmake -DDISABLE_GEOS_INLINE=ON -DBUILD_DOCUMENTATION=ON %cmake -DDISABLE_GEOS_INLINE=ON -DBUILD_DOCUMENTATION=ON
%cmake_build %cmake_build
%if %{with mingw}
# MinGW build
%mingw_cmake -DDISABLE_GEOS_INLINE=ON -DVERSION_MINGW_SHARED_LIBS=ON
%mingw_make_build
%endif
%install %install
%cmake_install %cmake_install
make docs -C %{__cmake_builddir} make docs -C %{__cmake_builddir}
%if %{with mingw}
%mingw_make_install
%endif
# Drop cross-compiled geos-config which is not useful
rm -f %{buildroot}%{mingw32_bindir}/geos-config
rm -f %{buildroot}%{mingw64_bindir}/geos-config
%if %{with mingw}
%mingw_debug_install_post
%endif
%check %check
%ifnarch s390x
%ctest %ctest
%endif
%files %files
%doc AUTHORS NEWS README.md %doc AUTHORS NEWS.md README.md
%license COPYING %license COPYING
%{_bindir}/geosop %{_bindir}/geosop
%{_libdir}/libgeos.so.3.10.1 %{_libdir}/libgeos.so.3.13.0
%{_libdir}/libgeos_c.so.1* %{_libdir}/libgeos_c.so.1*
%files devel %files devel
%doc %{__cmake_builddir}/doc/doxygen_docs %doc %{__cmake_builddir}/doxygen/doxygen_docs
%{_bindir}/geos-config %{_bindir}/geos-config
%{_includedir}/geos/ %{_includedir}/geos/
%{_includedir}/geos_c.h %{_includedir}/geos_c.h
%{_includedir}/geos.h
%{_libdir}/libgeos_c.so %{_libdir}/libgeos_c.so
%{_libdir}/libgeos.so %{_libdir}/libgeos.so
%{_libdir}/cmake/GEOS/ %{_libdir}/cmake/GEOS/
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%if %{with mingw}
%files -n mingw32-%{name}
%license COPYING
%{mingw32_bindir}/geosop.exe
%{mingw32_bindir}/libgeos-3.13.0.dll
%{mingw32_bindir}/libgeos_c-1.dll
%{mingw32_includedir}/geos/
%{mingw32_includedir}/geos_c.h
%{mingw32_includedir}/geos.h
%{mingw32_libdir}/libgeos.dll.a
%{mingw32_libdir}/libgeos_c.dll.a
%{mingw32_libdir}/cmake/GEOS/
%{mingw32_libdir}/pkgconfig/%{name}.pc
%files -n mingw64-%{name}
%license COPYING
%{mingw64_bindir}/geosop.exe
%{mingw64_bindir}/libgeos-3.13.0.dll
%{mingw64_bindir}/libgeos_c-1.dll
%{mingw64_includedir}/geos/
%{mingw64_includedir}/geos_c.h
%{mingw64_includedir}/geos.h
%{mingw64_libdir}/libgeos.dll.a
%{mingw64_libdir}/libgeos_c.dll.a
%{mingw64_libdir}/cmake/GEOS/
%{mingw64_libdir}/pkgconfig/%{name}.pc
%endif
%changelog %changelog
* Tue Dec 24 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 3.13.0-1
- Rebuilt for MSVSphere 10
* Mon Sep 09 2024 Sandro Mani <manisandro@gmail.com> - 3.13.0-1
- Update to 3.13.0
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jun 06 2024 Sandro Mani <manisandro@gmail.com> - 3.12.2-1
- Update to 3.12.2
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Nov 12 2023 Sandro Mani <manisandro@gmail.com> - 3.12.1-1
- Update to 3.12.1
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jul 06 2023 Sandro Mani <manisandro@gmail.com> - 3.12.1-1
- Update to 3.12.1
* Sun Mar 19 2023 Sandro Mani <manisandro@gmail.com> - 3.11.2-1
- Update to 3.11.2
* Tue Jan 24 2023 Sandro Mani <manisandro@gmail.com> - 3.11.1-3
- Add geos_gcc13.patch
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Nov 14 2022 Sandro Mani <manisandro@gmail.com> - 3.11.1-1
- Update to 3.11.1
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 01 2022 Sandro Mani <manisandro@gmail.com> - 3.11.0-1
- Update to 3.11.0
* Mon Jun 06 2022 Sandro Mani <manisandro@gmail.com> - 3.10.3-1
- Update to 3.10.3
* Fri Mar 25 2022 Sandro Mani <manisandro@gmail.com> - 3.10.2-5
- Rebuild with mingw-gcc-12
* Thu Feb 24 2022 Sandro Mani <manisandro@gmail.com> - 3.10.2-4
- Make mingw subpackages noarch
* Thu Feb 24 2022 Sandro Mani <manisandro@gmail.com> - 3.10.2-3
- Add mingw subpackages
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 17 2022 Sandro Mani <manisandro@gmail.com> - 3.10.2-1
- Update to 3.10.2
* Tue Nov 02 2021 Sandro Mani <manisandro@gmail.com> - 3.10.1-1 * Tue Nov 02 2021 Sandro Mani <manisandro@gmail.com> - 3.10.1-1
- Update to 3.10.1 - Update to 3.10.1

@ -1 +0,0 @@
SHA512 (geos-3.10.1.tar.bz2) = 1ba3af5e07bad40bae584b24ed7750a96f2974b974fbc7ccbaaa756fa6d98ed2ef6c0346e122c9c140307164084c436708bdaec86c0469f665cb1a19d0bdd0c9
Loading…
Cancel
Save