File python-elasticsearch-curator.spec of Package python-elasticsearch-curator
#
# spec file for package python-elasticsearch-curator
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright 2017 Fujitsu LIMITED
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define component curator
Name: python-elasticsearch-curator
Version: 4.2.2
Release: 0
Summary: Tending your Elasticsearch indices
License: Apache-2.0
Group: Development/Languages/Python
Url: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
Source: https://github.com/elastic/curator/archive/v%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: openstack-macros
BuildRequires: python-PyYAML
BuildRequires: python-click
BuildRequires: python-elasticsearch
BuildRequires: python-setuptools
BuildRequires: python-voluptuous
Requires: python-PyYAML
Requires: python-click
Requires: python-elasticsearch
Requires: python-voluptuous
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Have indices in Elasticsearch? This is the tool for you!
Like a museum curator manages the exhibits and collections on display, Elasticsearch Curator helps you curate, or manage your indices.
%prep
%setup -q -n %{component}-%{version}
%build
%{py2_build}
%install
%{py2_install}
%fdupes %{buildroot}/%{python2_sitelib}/curator/
%files
%defattr(-,root,root)
%license LICENSE.txt
%doc README.rst
%{python2_sitelib}/curator
%{python2_sitelib}/*.egg-info
%{_bindir}/curator
%{_bindir}/curator_cli
%{_bindir}/es_repo_mgr
%changelog