## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 landslide Name: python-%{srcname} Version: 2.0.0 Release: %autorelease Summary: Lightweight markup language-based html5 slideshow generator License: Apache-2.0 URL: https://pypi.python.org/pypi/%{srcname} Source0: %{pypi_source} Patch0: %{srcname}-2.0.0-make_unversioned.diff BuildArch: noarch %global _description %{expand: Takes your Markdown, ReST, or Textile file(s) and generates fancy HTML5 slideshows.} %description %_description %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel # Test dependencies: BuildRequires: python3dist(pytest) %description -n python3-%{srcname} %_description %prep %autosetup -p1 -n %{srcname}-%{version} # Remove shebang, main.py is not invoked directly touch -r landslide/main.py landslide/main.py.tstamp sed -i '1d' landslide/main.py touch -r landslide/main.py.tstamp landslide/main.py rm landslide/main.py.tstamp # Remove bundled egg-info rm -rf landslide.egg-info %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pytest -v tests.py %files -n python3-%{srcname} -f %{pyproject_files} %doc CHANGELOG.md README.md examples %license LICENSE %{_bindir}/landslide %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.0.0-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Dec 13 2023 Michel Lind - 2.0.0-1 - Update to 2.0.0 - Update to new Python packaging guidelines - Use SPDX license identifier * Tue Dec 12 2023 Michel Lind - 1.1.8-12 - Explicitly BR on six * Fri Jul 21 2023 Fedora Release Engineering - 1.1.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 1.1.8-10 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.1.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.1.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.1.8-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Aug 4 2021 Michel Alexandre Salim - 1.1.8-5 - Enable tests * Fri Jul 23 2021 Fedora Release Engineering - 1.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.8-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Aug 25 2020 Michel Alexandre Salim - 1.1.6-1 - Update to 1.1.6 - Patch in support for Markdown 3.x compatibility * Wed Jul 29 2020 Fedora Release Engineering - 1.1.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.3-16 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.3-14 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.3-13 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.1.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.1.3-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 27 2017 Iryna Shcherbina - 1.1.3-6 - Fix shebang to avoid depending on both Python 2 and Python 3 - Package python3- subpackage * Wed Feb 22 2017 Jan Beran - 1.1.3-5 - Provides Python 3 package * Sat Feb 11 2017 Fedora Release Engineering - 1.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 1.1.3-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Nov 1 2015 Eduardo Echeverria - 1.1.3-1 - Initial packaging * Thu Jun 18 2015 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jul 07 2013 Eduardo Echeverria - 1.1.1-2 - Change shebang to recognize the installed default interpreter. - Remove MANIFEST.in from documentation * Sun Jul 07 2013 Eduardo Echeverria - 1.1.1-1 - Initial packaging ## END: Generated by rpmautospec