File openstack-ceilometer-doc.spec of Package openstack-ceilometer

#
# spec file for package openstack-ceilometer-doc
#
# Copyright (c) 2015 SUSE LINUX Products 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 ceilometer

Name:           openstack-%{component}-doc
Version:        2013.2.4.dev24.g292b4aa
Release:        0
Summary:        OpenStack Metering (Ceilometer) - Documentation
License:        Apache-2.0
Group:          Documentation/HTML
Url:            http://openstack.org/projects/compute/
Source:         http://tarballs.openstack.org/ceilometer/ceilometer-stable-havana.tar.gz
BuildRequires:  openstack-suse-macros
BuildRequires:  python-Babel
BuildRequires:  python-Flask
BuildRequires:  python-PyYAML
BuildRequires:  python-SQLAlchemy >= 0.7.3
BuildRequires:  python-Sphinx
BuildRequires:  python-WSME
BuildRequires:  python-WebOb
BuildRequires:  python-anyjson >= 0.3.1
BuildRequires:  python-argparse
BuildRequires:  python-eventlet
BuildRequires:  python-glance
BuildRequires:  python-iso8601
BuildRequires:  python-keystoneclient
BuildRequires:  python-kombu
BuildRequires:  python-logutils
BuildRequires:  python-lxml
BuildRequires:  python-mock
BuildRequires:  python-mox
BuildRequires:  python-nova
BuildRequires:  python-novaclient
BuildRequires:  python-oslo.config
BuildRequires:  python-oslo.sphinx
BuildRequires:  python-pbr
BuildRequires:  python-pecan
BuildRequires:  python-sphinxcontrib-httpdomain
BuildRequires:  python-sphinxcontrib-pecanwsme
BuildRequires:  python-stevedore >= 0.6
BuildRequires:  python-swift
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Ceilometer aims to deliver a unique point of contact for billing systems to
aquire all counters they need to establish customer billing, accross all
current and future OpenStack components. The delivery of counters must be
tracable and auditable, the counters must be easily extensible to support new
projects, and agents doing data collections should be independent of the
overall system.

This package contains documentation files for openstack-ceilometer.

%prep
%setup -q -n %{component}-%{version}
%openstack_cleanup_prep
sed -i "s|'sphinxcontrib.autohttp.flask',||" doc/source/conf.py

%build
python setup.py build_sphinx -s doc/source
rm doc/build/html/.buildinfo # Remove unneeded files

%install

%files
%defattr(-,root,root,-)
%doc doc/build/html

%changelog
openSUSE Build Service is sponsored by