2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 02:50:10 +00:00
xcat-dep/xCAT-UI-deps/xCAT-UI-deps.spec
phamt c4c32b8886 Update xCAT-UI-deps source
Former-commit-id: 6e3590c6da95cab74650622f7154d804e5d83d0e
2013-07-12 22:09:04 +00:00

39 lines
776 B
RPMSpec

Summary: Set of dependencies for the xCAT web client
Name: xCAT-UI-deps
Version: 2.8
Release: 2
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