integ/storage-drivers/trident-installer/centos/trident-installer.spec
Stefan Dinescu f80a248eda Integrate the Netapp Trident installer in build
The Netapp Trident installer comes in the form of
a tarball. That tarball includes an example folder,
an extras folder and the tridentctl installer itself.

From this tarball all we need is the installer itself,
so we only include it into an RPM to be installed.

Change-Id: I91c6be915b097c934569469c9e0a7a16ab3e8177
Story: 2007391
Task: 38986
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
2020-03-10 16:07:01 +02:00

34 lines
735 B
RPMSpec

Summary: trident-installer
Name: trident-installer
Version: 20.01.0
Release: 0%{?_tis_dist}.%{tis_patch_ver}
License: GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD
Group: base
Packager: Wind River <info@windriver.com>
URL: https://github.com/NetApp/trident/releases/download/v20.01.0/trident-installer-20.01.0.tar.gz
Source0: %{name}-%{version}.tar.gz
Requires: nfs-utils
%description
Netapp Trident-installer
https://netapp-trident.readthedocs.io/en/stable-v20.01/introduction.html
%define debug_package %{nil}
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}/%{_bindir}
install -m 755 tridentctl %{buildroot}/%{_bindir}/tridentctl
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/tridentctl