python-mkdocs/python-mkdocs.spec

105 lines
3.4 KiB
RPMSpec
Raw Permalink Normal View History

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-mkdocs
Version: 1.6.1
Release: 1mamba
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
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 Aug 31 2024 Automatic Build System <autodist@openmamba.org> 1.6.1-1mamba
- automatic version update by autodist
* Sat Apr 20 2024 Automatic Build System <autodist@openmamba.org> 1.6.0-1mamba
- automatic version update by autodist
* 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
* 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
* Thu Sep 29 2022 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Wed Jul 20 2022 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Sun Mar 27 2022 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Mon Jul 19 2021 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Thu Jun 10 2021 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Mon Jun 07 2021 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
- automatic version update by autodist
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
- automatic version update by autodist
* Thu Jul 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.5-1mamba
- package created using the webbuild interface