From 3bfbe1df01544978a9633a8f3501511e15817820 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:43:31 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1.0-1mamba;Thu Sep 06 2018] --- README.md | 2 ++ python-sphinxcontrib-websupport.spec | 48 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 python-sphinxcontrib-websupport.spec diff --git a/README.md b/README.md index fd98699..4a37e5f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-sphinxcontrib-websupport +Sphinx documentation generator. + diff --git a/python-sphinxcontrib-websupport.spec b/python-sphinxcontrib-websupport.spec new file mode 100644 index 0000000..ed9c81e --- /dev/null +++ b/python-sphinxcontrib-websupport.spec @@ -0,0 +1,48 @@ +Name: python-sphinxcontrib-websupport +Version: 1.1.0 +Release: 1mamba +Summary: Sphinx documentation generator +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.sphinx-doc.org/en/master/ +Source: http://pypi.debian.net/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n sphinxcontrib-websupport-%{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 +* Thu Sep 06 2018 Silvan Calarco 1.1.0-1mamba +- package created using the webbuild interface