From 83265a676ca10de9eb77133215859c229172f200 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:42:35 +0100 Subject: [PATCH] added python requirements [release 0.12.2-2mamba;Sun Sep 27 2020] --- README.md | 2 ++ hotdoc.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 hotdoc.spec diff --git a/README.md b/README.md index 5776f55..793187f 100644 --- a/README.md +++ b/README.md @@ -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, ...). + diff --git a/hotdoc.spec b/hotdoc.spec new file mode 100644 index 0000000..8c1421d --- /dev/null +++ b/hotdoc.spec @@ -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 +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 0.12.2-2mamba +- added python requirements + +* Sun Sep 27 2020 Silvan Calarco 0.12.2-1mamba +- package created using the webbuild interface