Remove the spec file

Change-Id: Iae00d00882984c58840c31ca10932f1047427bd7
This commit is contained in:
Gauvain Pocentek 2016-06-19 12:24:01 +02:00
parent 7669e469e0
commit 113209883e
1 changed files with 0 additions and 63 deletions

View File

@ -1,63 +0,0 @@
%global full_release cloudkitty-dashboard-%{version}
Name: cloudkitty-dashboard
Summary: OpenStack Rating (cloudkitty) - Dashboard
Version: @VERSION@
Release: 1%{?dist}
License: ASL 2.0
Group: System Environment/Base
URL: http://github.com/openstack/cloudkitty-dashboard
Source0: %{full_release}.tar.gz
BuildArch: noarch
BuildRequires: git
BuildRequires: python-cloudkittyclient
BuildRequires: python-keystoneclient
BuildRequires: python-sphinx
BuildRequires: python-pbr
Requires: openstack-dashboard
Requires: python-cloudkittyclient
%prep
%setup -q -n %{full_release}
# make doc build compatible with python-oslo-sphinx RPM
sed -i 's/oslosphinx/oslo.sphinx/' doc/source/conf.py
# Remove the requirements file so that pbr hooks don't add it
# to distutils requires_dist config
rm -rf {test-,}requirements.txt tools/{pip,test}-requires
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
mkdir -p %{buildroot}/usr/share/openstack-dashboard/openstack_dashboard/enabled/
for f in \
_10_admin_group.py \
_10_project_group.py \
_11_admin_hashmap_panel.py \
_11_admin_rating_panel.py \
_11_project_rating_panel.py \
_12_project_reporting_panel.py \
_13_admin_pyscripts_panel.py; \
do
ln -s %{python_sitelib}/cloudkittydashboard/enabled/$f \
%{buildroot}/usr/share/openstack-dashboard/openstack_dashboard/enabled/ ; \
done
%files
%{python_sitelib}/*
/usr/share/openstack-dashboard/openstack_dashboard/enabled/*
%description
OpenStack Rating-as-a-Service - Dashboard
%changelog
* Mon Oct 19 2015 Stéphane Albert <stephane.albert@objectif-libre.com> - @VERSION@
- Updated with new enabled files
* Wed May 20 2015 Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> - @VERSION@
- Initial release