mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-12-03 10:04:35 +00:00
ee6ab2d260
the spec file version to 2.8.3 Change-Id: I8460d3e08e9f99899d1a469a1494e1ea7b2bd07a
39 lines
776 B
RPMSpec
39 lines
776 B
RPMSpec
Summary: Set of dependencies for the xCAT web client
|
|
Name: xCAT-UI-deps
|
|
Version: 2.8
|
|
Release: 3
|
|
License: EPL
|
|
Group: Applications/System
|
|
Source: xCAT-UI-deps.tar.gz
|
|
Packager: IBM
|
|
Vendor: IBM
|
|
URL: http://xcat.sourceforge.net/
|
|
|
|
Prefix: /opt/xcat
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
|
|
BuildArch: noarch
|
|
Provides: xCAT-UI-deps = %{version}
|
|
Requires: python >= 2.3
|
|
|
|
%description
|
|
Provides a set of dependencies (e.g. JQuery) for the xCAT web client.
|
|
|
|
%prep
|
|
%setup -q -n xCAT-UI-deps
|
|
|
|
%build
|
|
# Nothing to do
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT%{prefix}/ui
|
|
set +x
|
|
cp -r * $RPM_BUILD_ROOT%{prefix}/ui
|
|
chmod 755 $RPM_BUILD_ROOT%{prefix}/ui/*
|
|
chmod 755 $RPM_BUILD_ROOT%{prefix}/ui/lib/ajaxterm/*.py
|
|
set -x
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{prefix}/ui
|