Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
octave-forge-octclip
octave-forge-octclip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File octave-forge-octclip.spec of Package octave-forge-octclip
# # spec file for package octave-forge-octclip # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define octpkg octclip Name: octave-forge-%{octpkg} Version: 2.0.3 Release: 0 Summary: Octave clipping polygons tool License: GPL-3.0-or-later AND BSD-3-Clause Group: Productivity/Scientific/Math URL: https://gnu-octave.github.io/packages/%{octpkg}/ Source0: https://bitbucket.org/jgpallero/octclip/downloads/%{octpkg}-%{version}.tar.gz # PATCH-FIX-UPSTREAM octclip-openmp.patch -- Fix build with OpenMP Patch0: octclip-openmp.patch %if 0%{suse_version} >= 1550 BuildRequires: gcc-c++ %else BuildRequires: gcc9-c++ %endif BuildRequires: hdf5-devel BuildRequires: octave-devel Requires: octave-cli >= 3.6.0 %description This package allows to do boolean operations with polygons using the Greiner-Hormann algorithm. This is part of Octave-Forge project. %prep %setup -q -c %{name}-%{version} pushd %{octpkg}-%{version} %patch0 -p1 popd %octave_pkg_src %build %if 0%{suse_version} < 1550 export CC=gcc-9 %endif %octave_pkg_build %install %if 0%{suse_version} < 1550 export CC=gcc-9 %endif %octave_pkg_install %check %octave_pkg_test %post %octave --eval "pkg rebuild" %postun %octave --eval "pkg rebuild" %files %{octpackages_dir}/%{octpkg}-%{version} %{octlib_dir}/%{octpkg}-%{version} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor