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>
|
Wed Mar 1 08:51:54 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-openmesh
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,12 +22,13 @@ Version: 1.2.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A data structure for representing and manipulating polygon meshes
|
Summary: A data structure for representing and manipulating polygon meshes
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://www.graphics.rwth-aachen.de:9000/OpenMesh/openmesh-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
|
Source: https://files.pythonhosted.org/packages/source/o/openmesh/openmesh-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -46,11 +47,14 @@ A halfedge-based data structure for representing and manipulating polygon meshes
|
|||||||
%setup -q -n openmesh-%{version}
|
%setup -q -n openmesh-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Remove cmake4 error due to not setting
|
||||||
|
# min cmake version - sflees.de
|
||||||
|
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -64,7 +68,7 @@ popd
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/openmesh-%{version}-py*.egg-info
|
%{python_sitearch}/openmesh-%{version}.dist-info
|
||||||
%{python_sitearch}/openmesh.*so
|
%{python_sitearch}/openmesh.*so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user