|
|
|
@ -1,17 +1,34 @@
|
|
|
|
|
Name: geos
|
|
|
|
|
Version: 3.10.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: GEOS is a C++ port of the Java Topology Suite
|
|
|
|
|
|
|
|
|
|
License: LGPLv2
|
|
|
|
|
URL: https://libgeos.org/
|
|
|
|
|
Source0: http://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
# 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
|
|
|
|
|
Version: 3.13.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: GEOS is a C++ port of the Java Topology Suite
|
|
|
|
|
|
|
|
|
|
License: LGPL-2.1-only
|
|
|
|
|
URL: http://trac.osgeo.org/geos/
|
|
|
|
|
Source0: http://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
|
|
%if %{with mingw}
|
|
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
|
|
|
|
BuildRequires: mingw32-gcc-c++
|
|
|
|
|
|
|
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
|
|
|
|
BuildRequires: mingw64-gcc-c++
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -23,8 +40,8 @@ functions such as IsValid()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for GEOS
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Summary: Development files for GEOS
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology
|
|
|
|
@ -37,43 +54,178 @@ This package contains the development files to build applications that
|
|
|
|
|
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
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Native build
|
|
|
|
|
%cmake -DDISABLE_GEOS_INLINE=ON -DBUILD_DOCUMENTATION=ON
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
%if %{with mingw}
|
|
|
|
|
# MinGW build
|
|
|
|
|
%mingw_cmake -DDISABLE_GEOS_INLINE=ON -DVERSION_MINGW_SHARED_LIBS=ON
|
|
|
|
|
%mingw_make_build
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
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
|
|
|
|
|
%ifnarch s390x
|
|
|
|
|
%ctest
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
|
%doc AUTHORS NEWS.md README.md
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/geosop
|
|
|
|
|
%{_libdir}/libgeos.so.3.10.1
|
|
|
|
|
%{_libdir}/libgeos.so.3.13.0
|
|
|
|
|
%{_libdir}/libgeos_c.so.1*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc %{__cmake_builddir}/doc/doxygen_docs
|
|
|
|
|
%doc %{__cmake_builddir}/doxygen/doxygen_docs
|
|
|
|
|
%{_bindir}/geos-config
|
|
|
|
|
%{_includedir}/geos/
|
|
|
|
|
%{_includedir}/geos_c.h
|
|
|
|
|
%{_includedir}/geos.h
|
|
|
|
|
%{_libdir}/libgeos_c.so
|
|
|
|
|
%{_libdir}/libgeos.so
|
|
|
|
|
%{_libdir}/cmake/GEOS/
|
|
|
|
|
%{_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
|
|
|
|
|
* 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
|
|
|
|
|
- Update to 3.10.1
|
|
|
|
|
|