Summary: C++ wrapper library around CGAL for PostGIS
Name: SFCGAL
-%if 0%{?suse_version} && 0%{?suse_version} >= 1500
+%if 0%{?suse_version} && 0%{?suse_version} == 1500
Version: 1.4.1
BuildRequires: cgal-devel
%endif
+%if 0%{?suse_version} && 0%{?suse_version} == 1600
+Version: 2.2.0
+BuildRequires: cgal-devel
+%endif
+
%if 0%{?rhel} && 0%{?rhel} == 8
Version: 1.4.1
Requires: CGAL >= 4.7
BuildRequires: CGAL-devel >= 5.6
%endif
-Release: 2PGDG%{?dist}
+Release: 3PGDG%{?dist}
License: GLPLv2
Source: https://gitlab.com/sfcgal/SFCGAL/-/archive/v%{version}/SFCGAL-v%{version}.tar.gz
%endif
BuildRequires: cmake pgdg-srpm-macros
-%if 0%{?suse_version} >= 1500
+%if 0%{?suse_version} == 1500
BuildRequires: libboost_date_time1_66_0 libboost_thread1_66_0
BuildRequires: libboost_system1_66_0 libboost_serialization1_66_0
BuildRequires: libboost_serialization1_66_0-devel libboost_atomic1_66_0-devel
%endif
+%if 0%{?suse_version} == 1600
+BuildRequires: libboost_date_time1_86_0 libboost_thread1_86_0
+BuildRequires: libboost_system1_86_0 libboost_serialization1_86_0
+BuildRequires: libboost_serialization1_86_0-devel libboost_atomic1_86_0-devel
+%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: boost-thread, boost-system, boost-date-time, boost-serialization
%endif
%{_libdir}/libSFCGAL.so*
%changelog
+* Sat Oct 4 2025 Devrim Gunduz <devrim@gunduz.org> - 2.2.0-3PGDG
+- Add SLES 16 support
+
* Wed Oct 01 2025 Yogesh Sharma <yogesh.sharma@catprosystems.com> - 2.2.0-2PGDG
- Bump release number (missed in previous commit)