hotdoc/hotdoc.spec

75 lines
2.2 KiB
RPMSpec

Name: hotdoc
Version: 0.13.2
Release: 1mamba
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-networkx-py3
Requires: python-cchardet-py3
Requires: python-pkgconfig-py3
Requires: python-dbus-deviation-py3
Requires: python-xdg-py3
Requires: python-toposort-py3
Requires: python-wheezy-template-py3
Requires: python-decorator-py3
Requires: python-contextlib2-py3
Requires: python-lxml-py3
Requires: python-appdirs-py3
%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
* Wed Feb 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.2-1mamba
- update to 0.13.2
* Sun Oct 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.2-4mamba
- require python-appdirs-py3
* Sat Oct 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.2-3mamba
- require python-lxml-py3
* 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