Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: efaf2c1499
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (37 sloc) 1.398 kb
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
%define mod_name horizon_billing
Name: horizon-billing
Version: 0.0.2
Release: 1
Summary: Django based interface for nova-billing
License: GNU GPL v3
Vendor: Grid Dynamics International, Inc.
URL: http://www.griddynamics.com/openstack
Group: Development/Languages/Python
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel python-setuptools
BuildArch: noarch
Requires: horizon
%description
Nova is a cloud computing fabric controller (the main part of an IaaS system)
built to match the popular AWS EC2 and S3 APIs. It is written in Python, using
the Tornado and Twisted frameworks, and relies on the standard AMQP messaging
protocol, and the Redis KVS.
This package contains the web interface for nova billing server.
%prep
%setup -q -n %{name}-%{version}
%build
%{__python} setup.py build
%install
%__rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README
%{python_sitelib}/%{mod_name}*
%changelog
Jump to Line
Something went wrong with that request. Please try again.