2024-01-06 11:27:53 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 11:27:52 +01:00
|
|
|
Name: python-mkdocs
|
2024-01-06 11:27:53 +01:00
|
|
|
Version: 1.5.3
|
|
|
|
Release: 1mamba
|
2024-01-06 11:27:52 +01:00
|
|
|
Summary: Project documentation with Markdown
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.mkdocs.org/
|
|
|
|
Source: https://github.com/mkdocs/mkdocs.git/%{version}/mkdocs-%{version}.tar.bz2
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:27:52 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 11:27:53 +01:00
|
|
|
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(packaging)
|
|
|
|
BuildRequires: python3.11dist(pathspec)
|
|
|
|
BuildRequires: python3.11dist(platformdirs)
|
|
|
|
BuildRequires: python3.11dist(pyyaml)
|
|
|
|
BuildRequires: python3.11dist(pyyaml-env-tag)
|
|
|
|
BuildRequires: python3.11dist(watchdog)
|
2024-01-06 11:27:52 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:27:52 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 11:27:52 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n mkdocs-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:27:53 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:27:52 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:27:53 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:27:52 +01:00
|
|
|
|
2024-01-06 11:27:53 +01:00
|
|
|
%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
|
2024-01-06 11:27:52 +01:00
|
|
|
|
2024-01-06 11:27:53 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 11:27:52 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:27:53 +01:00
|
|
|
%{_bindir}/mkdocs*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
2024-01-06 11:27:52 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:27:53 +01:00
|
|
|
* Fri Nov 17 2023 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- update to 1.4.2
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.4.0-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Thu Sep 29 2022 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Wed Jul 20 2022 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Sun Mar 27 2022 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Mon Jul 19 2021 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Thu Jun 10 2021 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Mon Jun 07 2021 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:27:52 +01:00
|
|
|
* Thu Jul 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.5-1mamba
|
|
|
|
- package created using the webbuild interface
|