python-docs-theme/python-docs-theme.spec

57 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: python-docs-theme
Version: 2021.11.1
Release: 1mamba
Summary: Theme for the Python documentation
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/python/python-docs-theme
Source: https://pypi.debian.net/python-docs-theme/python-docs-theme-%{version}.tar.gz
License: Python Software Foundation License
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel
Requires: python >= %python_version
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n python-docs-theme-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE
%changelog
* Fri Nov 05 2021 Automatic Build System <autodist@mambasoft.it> 2021.11.1-1mamba
- automatic version update by autodist
* Fri Sep 03 2021 Automatic Build System <autodist@mambasoft.it> 2021.8-1mamba
- automatic version update by autodist
* Sat May 22 2021 Automatic Build System <autodist@mambasoft.it> 2021.5-1mamba
- automatic version update by autodist
* Wed Feb 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.12-1mamba
- package created using the webbuild interface