## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 forgeurl https://github.com/squidfunk/mkdocs-material Name: mkdocs-material Version: 9.5.48 Release: %autorelease Summary: Material design theme for MkDocs License: MIT URL: https://squidfunk.github.io/mkdocs-material Source: %{forgeurl}/archive/%{version}/%{name}-%{version}.tar.gz # Drop mkdocs-material-extensions from requirements Patch: %{forgeurl}/pull/7486.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: sed %description This package provides a powerful documentation framework on top of MkDocs. %pyproject_extras_subpkg -n %{name} imaging %prep %autosetup -p1 # Relax version pins sed -i 's/~=/>=/g' pyproject.toml %generate_buildrequires %pyproject_buildrequires -x imaging %build %pyproject_wheel %install %pyproject_install %pyproject_save_files material %check export PYTHONPATH="%{buildroot}/%{python3_sitelib}" mkdocs new testing pushd testing mkdocs build --theme material popd %files -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Dec 18 2024 Davide Cavalca - 9.5.48-3 - Add imaging extras subpackage * Thu Dec 12 2024 Davide Cavalca - 9.5.48-2 - Rebuild for python-pymdown-extensions 10.12 * Thu Dec 12 2024 Davide Cavalca - 9.5.48-1 - Update to 9.5.48; Fixes: RHBZ#2309089 * Wed Aug 28 2024 Davide Cavalca - 9.5.33-1 - Update to 9.5.33; Fixes: RHBZ#2308408 - Convert to pyproject macros * Thu Jul 22 2021 Fedora Release Engineering - 5.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 5.0.2-6 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 5.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 5.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 25 2020 Robin Lee - 5.0.2-3 - BR python3dist(setuptools) * Tue May 26 2020 Miro Hrončok - 5.0.2-2 - Rebuilt for Python 3.9 * Sat Apr 11 2020 Robin Lee - 5.0.2-1 - Update to 5.0.2 * Wed Apr 8 2020 Robin Lee - 5.0.1-1 - Update to 5.0.1 - No globbing %%{python3_sitelib} * Sun Mar 8 2020 Robin Lee - 4.6.3-1 - Update to 4.6.3 * Thu Jul 25 2019 Fedora Release Engineering - 0.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.2.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2.2-7 - Rebuilt for Python 3.7 * Thu Feb 08 2018 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.2.2-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.2.2-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Apr 07 2016 William Moreno - 0.2.2-1 - Update to v.0.2.2 - Fix license tag. * Fri Feb 12 2016 William Moreno - 0.1.1-1 - Initial Packaging ## END: Generated by rpmautospec