mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-23 10:01:46 +00:00
2f5fe4b9aa
Former-commit-id: 32f0548b0fadc37ee8e3d12db78ed99bb7150d28
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: 1
|
|
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
|