From c549eb17e5a9ebc74e5e0172f09f0aacd0d3027d Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 19 Apr 2015 09:52:23 +0200 Subject: [PATCH] Provide a sample .spec file Change-Id: I7fe3c7e39e538ec65bfbb09ce808ff47864352ed --- contrib/python-cloudkittyclient.spec.in | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 contrib/python-cloudkittyclient.spec.in diff --git a/contrib/python-cloudkittyclient.spec.in b/contrib/python-cloudkittyclient.spec.in new file mode 100644 index 0000000..03beef4 --- /dev/null +++ b/contrib/python-cloudkittyclient.spec.in @@ -0,0 +1,42 @@ +Name: python-cloudkittyclient +Version: @VERSION@ +Release: 1%{?dist} +Summary: Client library for CloudKitty +License: ASL 2.0 +Source: %{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python-setuptools +BuildRequires: python-pbr +BuildRequires: python-keystoneclient +BuildRequires: python-stevedore +BuildRequires: python-babel + +Requires: python-keystoneclient +Requires: python-stevedore +Requires: python-babel + +%description +Client library for CloudKitty + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +%{__python} setup.py install -O1 --skip-build --root %{buildroot} + +#export PYTHONPATH="$( pwd ):$PYTHONPATH" +#sphinx-build -b html doc/source html + +%files +%{_bindir}/* +%{python_sitelib}/* +#%doc html + +%changelog +* Sun Apr 19 2015 Gauvain Pocentek @VERSION@-1 +- Initial release