## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 srcname gpxpy Name: python-%{srcname} Version: 1.6.2 Release: %autorelease Summary: GPX file parser and GPS track manipulation library License: Apache-2.0 URL: https://github.com/tkrajina/gpxpy Source0: %pypi_source %{srcname} BuildArch: noarch BuildRequires: python3-devel %description %{summary} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{summary} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %{python3} test.py %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %license LICENSE.txt %{_bindir}/gpxinfo %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 1.6.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.6.2-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 03 2023 Elliott Sales de Andrade - 1.6.2-1 - Update to latest version (#2252136) * Mon Oct 30 2023 Elliott Sales de Andrade - 1.6.1-1 - Update to latest version (#2245576) * Fri Jul 21 2023 Fedora Release Engineering - 1.5.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.5.0-8 - Rebuilt for Python 3.12 * Sun Apr 09 2023 Elliott Sales de Andrade - 1.5.0-7 - Switch to SPDX license * Fri Jan 20 2023 Fedora Release Engineering - 1.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.5.0-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Nov 29 2021 Elliott Sales de Andrade - 1.5.0-2 - Fix tests on Python 3.11 * Mon Nov 29 2021 Elliott Sales de Andrade - 1.5.0-1 - Update to latest version (#2020390) * Mon Nov 29 2021 Elliott Sales de Andrade - 1.4.2-7 - Switch to latest Python macros * Fri Jul 23 2021 Fedora Release Engineering - 1.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.4.2-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Elliott Sales de Andrade - 1.4.2-1 - Update to latest version * Tue May 26 2020 Miro Hrončok - 1.4.1-2 - Rebuilt for Python 3.9 * Sat May 16 2020 Elliott Sales de Andrade - 1.4.1-1 - Update to latest version * Tue Jan 28 2020 Elliott Sales de Andrade - 1.4.0-1 - Update to latest version - Backport fix for Python 3.9 * Thu Oct 03 2019 Miro Hrončok - 1.3.5-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.3.5-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 03 2019 Elliott Sales de Andrade - 1.3.5-1 - Update to latest version * Sat Feb 02 2019 Fedora Release Engineering - 1.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 13 2018 Elliott Sales de Andrade - 1.3.4-1 - Update to latest version * Sun Aug 19 2018 Elliott Sales de Andrade - 1.3.3-1 - Update to latest version * Thu Jul 19 2018 Elliott Sales de Andrade - 1.3.2-1 - Initial package. ## END: Generated by rpmautospec