Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 45 lines (34 sloc) 1.054 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Summary: @PRODUCT_BRAND@ CLI by @COMPANY_NAME_SHORT@.
Name: xe-cli
Version: @PRODUCT_VERSION@
Release: @BUILD_NUMBER@
License: LGPL + static linking exception
Group: System/Management
URL: http://www.citrix.com
Source0: xe
Source1: bash-completion
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: stunnel >= 4.0
Obsoletes: xenenterprise-cli

# Disable build root strip policy, executables generated by ocamlc -custom
# MUST NOT BE STRIPPED
%define __spec_install_post /usr/lib/rpm/brp-compress

%description
@PRODUCT_BRAND@ command line interface for managing @BRAND_GUESTS@.

%prep

%build
%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/opt/xensource/bin
cp %{SOURCE0} $RPM_BUILD_ROOT/opt/xensource/bin/xe

mkdir -p $RPM_BUILD_ROOT/usr/bin
ln -s /opt/xensource/bin/xe $RPM_BUILD_ROOT/usr/bin/xe

mkdir -p $RPM_BUILD_ROOT/etc/bash_completion.d
cp %{SOURCE1} $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}

%files
%defattr(-,root,root,-)
/opt/xensource/bin/xe
/usr/bin/xe
/etc/bash_completion.d/%{name}
%doc


%changelog
Something went wrong with that request. Please try again.