forked from pool/python-openmesh
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
f962d6820c | |||
053b98c818 | |||
56b7a170b3 | |||
e9e1cebf90 |
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 9 05:12:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 10:30:57 UTC 2025 - Simon Lees <sflees@suse.de>
|
||||
|
||||
- export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
|
||||
minimum version warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 1 08:51:54 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-openmesh
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,12 +22,13 @@ Version: 1.2.1
|
||||
Release: 0
|
||||
Summary: A data structure for representing and manipulating polygon meshes
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://www.graphics.rwth-aachen.de:9000/OpenMesh/openmesh-python
|
||||
Source: https://files.pythonhosted.org/packages/source/o/openmesh/openmesh-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
@@ -46,11 +47,14 @@ A halfedge-based data structure for representing and manipulating polygon meshes
|
||||
%setup -q -n openmesh-%{version}
|
||||
|
||||
%build
|
||||
# Remove cmake4 error due to not setting
|
||||
# min cmake version - sflees.de
|
||||
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -64,7 +68,7 @@ popd
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitearch}/openmesh-%{version}-py*.egg-info
|
||||
%{python_sitearch}/openmesh-%{version}.dist-info
|
||||
%{python_sitearch}/openmesh.*so
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user