Summary: Command Line Interface for managing Confluent Platform
Name: confluent-cli
Version: ##RPMVERSION##
Release: ##RPMRELEASE##
Group: Applications/Internet
License: Confluent License Agreement
Source0: confluent-cli-%{version}.tar.gz
URL: http://confluent.io
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Vendor: Confluent, Inc.
Packager: Confluent Packaging <packages@confluent.io>

%description
You can use the Confluent command line interface (CLI) to manage Confluent Platform, including RBAC, secrets, and the ability to deploy a single-node Confluent Platform instance.

%define __jar_repack %{nil}
%define _binaries_in_noarch_packages_terminate_build 0

%pre

%post

%preun

%postun

%prep

%setup

%build

%install
# Clean out any previous builds not on slash
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}
%{__cp} -R * %{buildroot}
# The spec file gets included, get rid of it
%{__rm} %{buildroot}/confluent-cli.spec

%files
%defattr(-,root,root)
/usr/bin/*
/usr/libexec/cli/
%doc
/usr/share/doc/cli/

%clean
#used to clean up things outside the build area and possibly inside.
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}

%changelog
* Fri Jul 24 2020 Confluent Packaging <packages@confluent.io>
- Initial import
