51 lines
1.4 KiB
RPMSpec
51 lines
1.4 KiB
RPMSpec
|
Name: python-doxypypy
|
||
|
Version: 0.8.8.6
|
||
|
Release: 1mamba
|
||
|
Summary: A more Pythonic version of doxypy, a Doxygen filter for Python
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/Feneric/doxypypy
|
||
|
Source: https://pypi.debian.net/doxypypy/doxypypy-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: libpython3-devel
|
||
|
BuildRequires: python-setuptools-py3
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: libpython-devel
|
||
|
Requires: python >= %python_version
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
%if 0%{?with_pyver}
|
||
|
%pyver_package
|
||
|
%endif
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n doxypypy-%{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 "\\,\\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||
|
|
||
|
%files %{?pyappend} -f %{name}.filelist
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{python3_sitearch}/doxypypy-%{version}-py*.egg-info
|
||
|
%{python3_sitearch}/doxypypy-%{version}-py*.egg-info/*
|
||
|
|
||
|
%changelog
|
||
|
* Tue Mar 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8.6-1mamba
|
||
|
- package created using the webbuild interface
|