## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %bcond_without tests %global _description %{expand: This module converts the Garmin tcx GPS file format to the more commonly used gpx file format. Both formats are a form of XML but there are some fields in the former that are not present in the later. It uses two packages to do the grunt work tcxparser and gpxpy.} Name: python-tcx2gpx Version: 0.1.5 Release: %autorelease Summary: Convert Garmin TPX to GPX License: GPL-3.0-only URL: https://gitlab.com/nshephard/tcx2gpx Source0: %{pypi_source tcx2gpx} BuildArch: noarch %description %_description %package -n python3-tcx2gpx Summary: %{summary} BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(pytest) %endif %description -n python3-tcx2gpx %_description %prep %autosetup -p1 -n tcx2gpx-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files tcx2gpx %check %if %{with tests} %pytest %endif # additional test %pyproject_check_import %files -n python3-tcx2gpx -f %{pyproject_files} %doc README.md %{_bindir}/tcx2gpx %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 22 2024 Sandro - 0.1.5-1 - Update to 0.1.5 - Drop obsolete patches - Close RHBZ#2291942 * Fri Jun 07 2024 Python Maint - 0.1.4-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.1.4-2 - Rebuilt for Python 3.12 * Mon Feb 20 2023 Iztok Fister Jr. - 0.1.4-1 - Initial package ## END: Generated by rpmautospec