File openstack-aodh-doc.spec of Package openstack-aodh
#
# spec file for package openstack-aodh-doc
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define component aodh
%define version_unconverted 1.1.2
Name: openstack-%{component}-doc
Version: 1.1.2
Release: 0
Summary: Alarm engine of the Ceilometer project - Documentation
License: Apache-2.0
Group: Documentation/HTML
Url: https://launchpad.net/aodh
Source: http://tarballs.openstack.org/aodh/aodh-%{version}.tar.gz
BuildRequires: graphviz
BuildRequires: openstack-suse-macros
BuildRequires: python-aodh = %{version}
BuildRequires: python-Sphinx
BuildRequires: python-oslosphinx
BuildRequires: python-reno
BuildRequires: python-sphinxcontrib-docbookrestapi
BuildRequires: python-sphinxcontrib-httpdomain
BuildRequires: python-sphinxcontrib-pecanwsme
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Aodh is the alarm engine of the Ceilometer project.
This package contains documentation files for %{name}.
%prep
%setup -q -n aodh-%{version_unconverted}
%openstack_cleanup_prep
%build
python setup.py build_sphinx
rm doc/build/html/.buildinfo # Remove unneeded files
%install
%files
%defattr(-,root,root,-)
%doc LICENSE doc/build/html
%changelog