+horizon (2:8.0.0~b3-6) experimental; urgency=medium
+
+ * Added a horizon-doc package.
+ * Fixed debian/rules dpkg-parsechangelog to be compatible with Ubuntu.
+
+ -- Thomas Goirand <zigo@debian.org> Wed, 23 Sep 2015 08:50:12 +0200
+
horizon (2:8.0.0~b3-5) experimental; urgency=medium
* Increasing EPOCH to match the one of Ubuntu.
libapache2-mod-wsgi (>= 2.3),
openstack-dashboard,
${misc:Depends},
-Description: OpenStack Dashboard - Apache support
+Description: web application to control an OpenStack cloud - Apache support
The OpenStack Dashboard is a web application to control an OpenStack
cloud. It connects to OpenStack services such as Nova, Swift, or Keystone
using the OpenStack REST API just as you would with the command line
.
This package includes the configuration files to use within Apache. If you
wish to configure Apache yourself, use only openstack-dashboard.
+
+Package: horizon-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends},
+Description: web application to control an OpenStack cloud - doc
+ The OpenStack Dashboard is a web application to control an OpenStack
+ cloud. It connects to OpenStack services such as Nova, Swift, or Keystone
+ using the OpenStack REST API just as you would with the command line
+ clients.
+ .
+ This package contains the documentation.
PYTHONS:=$(shell pyversions -vr)
include /usr/share/openstack-pkg-tools/pkgos.make
-export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -S Version | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/')
+export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d' ' -f2 | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' | head -n 1)
%:
- dh $@ --with python2
+ dh $@ --buildsystem=python_distutils --with python2,sphinxdoc
override_dh_auto_install:
# Note: upstream advises to use "python setup.py compile_catalog"
rm -f horizon/openstack_dashboard/test/.secret_key_store
find $(CURDIR)/openstack_dashboard -iname '*.pyc' -delete
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ sphinx-build -b html doc/source debian/horizon-doc/usr/share/doc/horizon-doc/html
+ dh_sphinxdoc -O--buildsystem=python_distutils
+endif
+
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
# We should add --compilemessages when the .mo are removed.