added python requirements [release 0.12.2-2mamba;Sun Sep 27 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 23:42:35 +01:00
parent 6f7f1f5b73
commit 83265a676c
2 changed files with 65 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# hotdoc
Hotdoc is a documentation micro-framework. It provides an interface for extensions to plug upon, along with some base objects (formatters, ...).

63
hotdoc.spec Normal file
View File

@ -0,0 +1,63 @@
Name: hotdoc
Version: 0.12.2
Release: 2mamba
Summary: A documentation micro-framework
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/hotdoc/hotdoc.git
Source: https+git://github.com/hotdoc/hotdoc.git/%{version}/hotdoc-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
Requires: python-schema-py3
Requires: python-networkx1-py3
Requires: python-cchardet-py3
Requires: python-pkgconfig-py3 = 1.1.0
Requires: python-dbus-deviation-py3
Requires: python-xdg-py3
Requires: python-toposort-py3
Requires: python-wheezy-template-py3 = 0.1.167
Requires: python-decorator-py3
Requires: python-contextlib2-py3
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Hotdoc is a documentation micro-framework. It provides an interface for extensions to plug upon, along with some base objects (formatters, ...).
%debug_package
%prep
%setup -q
%build
CFLAGS="%{optflags}" %{__python3} setup.py build || %{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Sun Sep 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.2-2mamba
- added python requirements
* Sun Sep 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.2-1mamba
- package created using the webbuild interface