Bruno Cornec 9d6ec64daf Improve package build
- Packages can now be built with Docker containers and project-builder.org for
  Mageia 5, Fedora 25, OpenSUSE 42.2 & CentOS 7
- Fix a bug in conf file path management in setup.py
- A script pbconf/mkctn is also availble to ease package building
- Status is documented in pbconf/README.rst
- Update install script to have a variable for doc installation path which is
  different between Mageia/Fedora and OpenSUSE

Change-Id: Id34e885c5cba7b650adf1638147ffb089ad3c7c3
2017-02-21 00:53:08 +01:00

11 lines
1.0 KiB
Plaintext

# Specific group for OpenSUSE for python-redfish
filter PBGRP = Development/Python
# PBLIC is replaced by the license of the application
#filter PBLIC = GPL
filter PB2PYTHON2BDEP = python-Sphinx >= 1.2.3,python-colorclass,python-formats
filter PB2PYTHON3BDEP = python3-Sphinx >= 1.2.3,python3-colorclass,python3-formats
filter PBPYTHONDOCBDEP = texlive-latex-bin,texlive-cmap,texlive-fancyhdr,texlive-fancybox,texlive-mdwtools,texlive-parskip,texlive-babel-english,texlive-psnfss,texlive-fncychap,texlive-titlesec,texlive-tabulary,texlive-framed,texlive-fancyvrb,texlive-threeparttable,texlive-float,texlive-wrapfig,texlive-upquote,texlive-capt-of,texlive-multirow,texlive-eqparbox,texlive-metafont-bin,texlive-helvetic,texlive-courier,texlive-dvips,texlive-times
filter PBPYTHON3FILTER = perl -pi -e "s|configparser>=3.3.0; python_version < '3'|configparser>=3.3.0|" requirements.txt$/%define py3dir %{_builddir}/python3-%{name}-%{version}-%{release}$/%define __python3 /usr/bin/python3$/%define python3_version %{py3_ver}