mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 01:53:28 +00:00
31 lines
605 B
Cheetah
31 lines
605 B
Cheetah
Name: confluent_imgutil
|
|
Version: #VERSION#
|
|
Release: 1
|
|
Summary: Confluent OS imaging utility
|
|
License: Apache2
|
|
URL: https://hpc.lenovo.com/
|
|
Source: confluent_imgutil.tar.xz
|
|
BuildArch: noarch
|
|
BuildRoot: /tmp/
|
|
|
|
%description
|
|
Utility for generating, modifying, and packing confluent deployment
|
|
images for diskless boot.
|
|
|
|
%prep
|
|
%setup -n imgutil
|
|
|
|
%build
|
|
mkdir -p opt/confluent/lib/imgutil
|
|
mkdir -p opt/confluent/bin
|
|
mv imgutil opt/confluent/bin/
|
|
chmod a+x opt/confluent/bin/imgutil
|
|
mv el8 opt/confluent/lib/imgutil/
|
|
|
|
%install
|
|
cp -a opt %{buildroot}/
|
|
|
|
%files
|
|
/opt/confluent/bin/imgutil
|
|
/opt/confluent/lib/imgutil
|