mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-24 18:40:05 +00:00
07988c9aaf
Former-commit-id: 65e99f12d360a09b00e8c8c54b106914b8de9c2a
31 lines
407 B
RPMSpec
31 lines
407 B
RPMSpec
%define name zhcp
|
|
|
|
Summary: zhcp
|
|
Name: %{name}
|
|
Version: 1
|
|
Release: 1
|
|
Source: zhcp-build.tar.gz
|
|
Vendor: IBM
|
|
License: Licensed materials - Property of IBM
|
|
Group: System/tools
|
|
Prefix: %{_prefix}
|
|
|
|
%description
|
|
|
|
%prep
|
|
cd /opt/zhcpbuild/SOURCES/
|
|
tar -zxvf zhcp-build.tar.gz -C /opt/zhcpbuild/BUILD/ --strip 1
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
make install
|
|
make post
|
|
make clean
|
|
|
|
%files
|
|
%defattr(-,root,root,755)
|
|
/opt/zhcp/*
|
|
|