2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 11:00:07 +00:00
xcat-dep/zhcp/zhcp.spec
phamt d65e35dc06 Added build notes and updated spec file
Former-commit-id: 7f7f288ace3fb2b4617750da00068ad4b2da07fc
2012-03-09 20:18:23 +00:00

36 lines
554 B
RPMSpec

%define name zhcp
Summary: zhcp
Name: %{name}
Version: 1.3
Release: 1
Source: zhcp-build.tar.gz
Vendor: IBM
License: IBM (C) Copyright 2012 Eclipse Public License
Group: System/tools
Prefix: %{_prefix}
%description
The System z hardware control point (zHCP) is C program API to interface with
z/VM SMAPI.
%prep
tar -zxvf ../SOURCES/zhcp-build.tar.gz -C ../BUILD/ --strip 1
%build
make
%install
make install
make post
make clean
%post
echo "/opt/zhcp/lib" > /etc/ld.so.conf.d/zhcp.conf
/sbin/ldconfig
%files
%defattr(-,root,root,755)
/opt/zhcp/*