%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-mkdocs Version: 1.6.0 Release: 1mamba Summary: Project documentation with Markdown Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.mkdocs.org/ Source: https://github.com/mkdocs/mkdocs.git/%{version}/mkdocs-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel BuildRequires: python3.11dist(click) BuildRequires: python3.11dist(ghp-import) BuildRequires: python3.11dist(jinja2) BuildRequires: python3.11dist(markdown) BuildRequires: python3.11dist(markupsafe) BuildRequires: python3.11dist(mergedeep) BuildRequires: python3.11dist(mkdocs-get-deps) BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(pathspec) BuildRequires: python3.11dist(pyyaml) BuildRequires: python3.11dist(pyyaml-env-tag) BuildRequires: python3.11dist(watchdog) ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n mkdocs-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl %if "%{?with_pyver}" != "3" # Rename any conflicting file outside of python site packages tree for f in %{_bindir}/mkdocs; do mv %{buildroot}${f}{,-%{?pyappend}} done %endif %files %{?pyappend} %defattr(-,root,root) %{_bindir}/mkdocs* %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}/* %doc LICENSE %changelog * Sat Apr 20 2024 Automatic Build System 1.6.0-1mamba - automatic version update by autodist * Fri Nov 17 2023 Automatic Build System 1.5.3-1mamba - automatic version update by autodist * Sat Oct 07 2023 Silvan Calarco 1.4.2-1mamba - update to 1.4.2 * Tue Sep 26 2023 Automatic Build System 1.4.0-2mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Thu Sep 29 2022 Automatic Build System 1.4.0-1mamba - automatic version update by autodist * Wed Jul 20 2022 Automatic Build System 1.3.1-1mamba - automatic version update by autodist * Sun Mar 27 2022 Automatic Build System 1.3.0-1mamba - automatic version update by autodist * Thu Oct 14 2021 Automatic Build System 1.2.3-1mamba - automatic version update by autodist * Mon Jul 19 2021 Automatic Build System 1.2.2-1mamba - automatic version update by autodist * Thu Jun 10 2021 Automatic Build System 1.2.1-1mamba - automatic version update by autodist * Mon Jun 07 2021 Automatic Build System 1.2-1mamba - automatic version update by autodist * Thu Feb 25 2021 Automatic Build System 1.1.2-1mamba - automatic version update by autodist * Thu Jul 19 2018 Silvan Calarco 0.17.5-1mamba - package created using the webbuild interface