File python-starcluster.spec of Package python-starcluster

Summary:       StarCluster is a tool for creating and managing clusters on Amazon's EC2
Name:          python-starcluster
Version:       0.90
Release:       3
License:       LGPL
Group:         Development/Libraries/Python  
URL:           http://web.mit.edu/stardev/cluster/index.html
Source:        starcluster-%{version}.tar.gz
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python python-devel python-setuptools
Requires:      python-paramiko
%py_requires

%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%else
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
%endif

%description  
StarCluster is a utility for creating and managing general purpose computing clusters hosted on Amazon's Elastic Compute Cloud (EC2). StarCluster minimizes the administrative overhead associated with obtaining, configuring, and managing a traditional computing cluster used in research labs or for general distributed computing applications.

Authors:  
--------  
    Justin Riley <justin.t.riley@gmail.com>
  
%prep  
%setup -q -n StarCluster-%{version}  
  
%build
export CFLAGS="$RPM_OPT_FLAGS"  
python setup.py build  
  
%install  
python setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT" --record-rpm=INSTALLED_FILES

%clean  
%{__rm} -rf %{buildroot}  

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README

%changelog
* Fri Dec 18 2009 - Darjus Loktevic <darjus@gmail.com> 0.90
- Initial import
openSUSE Build Service is sponsored by