df88833
%global tarball_name elasticsearch 
df88833
df88833
Name:           python-elasticsearch
2390fca
Version:        1.0.0
2390fca
Release:        1%{?dist}
df88833
Summary:        Client for Elasticsearch 
df88833
df88833
Group:          Development/Languages
df88833
License:        ASL 2.0
df88833
URL:            https://github.com/elasticsearch/elasticsearch-py
df88833
Source0:        https://pypi.python.org/packages/source/e/%{tarball_name}/%{tarball_name}-%{version}.tar.gz
df88833
BuildArch:      noarch
df88833
BuildRequires:  python2-devel python-setuptools
2390fca
Requires:       python-thrift python-urllib3
df88833
df88833
%description
df88833
Low level client for Elasticsearch. It's goal is to provide common ground
df88833
for all Elasticsearch-related code in Python. The client's features include:
df88833
df88833
- Translating basic Python data types to and from json
df88833
- Configurable automatic discovery of cluster nodes
df88833
- Persistent connections
df88833
- Load balancing (with pluggable selection strategy) across all available nodes
df88833
- Failed connection penalization (time based - failed connections won't be
df88833
  retried until a timeout is reached)
df88833
- Thread safety
df88833
- Pluggable architecture
df88833
df88833
%prep
df88833
%setup -qn %{tarball_name}-%{version}
df88833
rm -fr %{tarball_name}.egg-info
df88833
df88833
%build
df88833
%{__python2} setup.py build
df88833
df88833
df88833
%install
2390fca
rm -rf %{buildroot}
df88833
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
df88833
df88833
%files
df88833
%{python2_sitelib}/*
df88833
%doc README LICENSE
df88833
df88833
%changelog
2390fca
* Mon Apr 14 2014 Daniel Bruno <dbruno@fedoraproject.org> - 1.0.0-1
2390fca
- Upgrade to 1.0.0 version
df88833
df88833
* Tue Nov 26 2013 Daniel Bruno <dbruno@fedoraproject.org> - 0.4.3-1
df88833
- First RPM release
df88833