64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
|
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
|