## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 25; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name admesh Name: python-%{pypi_name} Version: 0.98.9 Release: %autorelease Summary: Python bindings for ADMesh, STL manipulation library # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://github.com/admesh/python-admesh Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz # https://github.com/admesh/python-admesh/issues/15 Source1: %{url}/raw/v%{version}/test/utils.py BuildRequires: gcc BuildRequires: admesh-devel >= 0.98 BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-Cython BuildRequires: python3-pytest-runner %description This module provides bindings for the ADMesh library. It lets you manipulate 3D models in binary or ASCII STL format and partially repair them if necessary. %package -n python3-%{pypi_name} Summary: Python 3 bindings for ADMesh, STL manipulation library %{?python_provide:%python_provide python3-%{pypi_name}} Obsoletes: python2-%{pypi_name} < 0.98.8-2 Obsoletes: python-%{pypi_name} < 0.98.8-2 %description -n python3-%{pypi_name} This module provides bindings for the ADMesh library. It lets you manipulate 3D models in binary or ASCII STL format and partially repair them if necessary. %prep %setup -q -n %{pypi_name}-%{version} cp %{SOURCE1} test/ %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v \ %ifarch ppc64 -k "not test_saved_equals_original_binary" # likely a bug in admesh itself %endif %files -n python3-%{pypi_name} %doc README.rst %license COPYING %attr(0755,root,root) %{python3_sitearch}/%{pypi_name}.*.so %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog ## START: Generated by rpmautospec * Fri Jul 26 2024 Miroslav Suchý - 0.98.9-25 - convert GPLv2+ license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.98.9-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.98.9-23 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.98.9-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.98.9-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.98.9-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.98.9-16 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.98.9-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.98.9-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.98.9-13 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.98.9-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.98.9-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.98.9-10 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.98.9-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.98.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.98.9-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.98.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 19 2019 Miro Hrončok - 0.98.9-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.98.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.98.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.98.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jun 25 2018 Miro Hrončok - 0.98.9-1 - Update to 0.98.9 - Temporarily skip a test on ppc64 * Tue Jun 19 2018 Miro Hrončok - 0.98.8-3 - Rebuilt for Python 3.7 * Fri Mar 02 2018 Miro Hrončok - 0.98.8-2 - Remove legacy Python subpackage * Wed Feb 14 2018 Miro Hrončok - 0.98.8-1 - Updated to new version 0.98.8 to fix FTBFS * Fri Feb 09 2018 Fedora Release Engineering - 0.98.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.98.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.98.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Apr 13 2017 Miro Hrončok - 0.98.7-1 - Updated to new version 0.98.7 - Updated to the new naming scheme * Sat Feb 11 2017 Fedora Release Engineering - 0.98.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.98.5-4 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.98.5-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.98.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Dec 08 2015 Miro Hrončok - 0.98.5-1 - New version 0.98.5, fix FTBFS * Tue Nov 10 2015 Fedora Release Engineering - 0.98.3-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.98.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Feb 25 2015 Miro Hrončok - 0.98.3-1 - New version 0.98.3 * Wed Sep 03 2014 Miro Hrončok - 0.98.1-1 - New version - Run tests, add BR pytest * Wed Sep 03 2014 Miro Hrončok - 0.98-3 - Set correct executable permissions - Typo in summary * Thu Jul 31 2014 Miro Hrončok - 0.98-2 - Require setuptools. * Tue Jul 29 2014 Miro Hrončok - 0.98-1 - Initial package. ## END: Generated by rpmautospec