Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (34 sloc) 1.054 kb
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
Jump to Line
Something went wrong with that request. Please try again.