2024-01-05 16:42:49 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:42:48 +01:00
|
|
|
Name: python-sphinxcontrib-htmlhelp
|
2024-01-05 16:42:49 +01:00
|
|
|
Version: 2.0.1
|
|
|
|
Release: 1mamba
|
2024-01-05 16:42:48 +01:00
|
|
|
Summary: A sphinx extension which renders HTML help files
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:42:49 +01:00
|
|
|
URL: https://www.sphinx-doc.org/en/master/
|
2024-01-05 16:42:48 +01:00
|
|
|
Source: https://pypi.debian.net/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:42:48 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:42:48 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:42:48 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
2024-01-05 16:42:49 +01:00
|
|
|
%define py_requires_append \
|
|
|
|
Obsoletes: python-sphinxcontrib-htmlhelp < 2.0.0
|
2024-01-05 16:42:48 +01:00
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n sphinxcontrib-htmlhelp-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-05 16:42:49 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-05 16:42:48 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 16:42:49 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-05 16:42:48 +01:00
|
|
|
|
2024-01-05 16:42:49 +01:00
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endif
|
2024-01-05 16:42:48 +01:00
|
|
|
|
2024-01-05 16:42:49 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:42:48 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:42:49 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/sphinxcontrib/htmlhelp
|
|
|
|
%{python_sitelib}/sphinxcontrib/htmlhelp/*
|
2024-01-05 16:42:48 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:42:49 +01:00
|
|
|
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:42:49 +01:00
|
|
|
* Thu Jun 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
|
|
|
- obsolete python-sphinxconfig-htmlhelp
|
|
|
|
|
2024-01-05 16:42:49 +01:00
|
|
|
* Sun May 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- update to 2.0.0
|
|
|
|
|
2024-01-05 16:42:48 +01:00
|
|
|
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-3mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:42:48 +01:00
|
|
|
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-2mamba
|
|
|
|
- fix support for multiple python versions build
|
|
|
|
|
2024-01-05 16:42:48 +01:00
|
|
|
* Sat Feb 22 2020 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:42:48 +01:00
|
|
|
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- package created using the webbuild interface
|