Name: zpoll Summary: Zentific Poller Version: 1.0 Release: 0 License: LGPL Group: System Environment/Daemons Source: %{name}-%{version}.tar.gz URL: http://www.zentific.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: xen-devel libopenssl-devel libzshare Requires: xen libopenssl libzshare %description Statistics collection daemon for virtual machines %prep #echo %_target #echo %_target_alias #echo %_target_cpu #echo %_target_os #echo %_target_vendor echo Building %{name}-%{version}-%{release} %setup %build ./bootstrap.sh %install make DESTDIR=%buildroot install %post chkconfig -a %{name} %clean rm -rf $RPM_BUILD_ROOT %postun /sbin/ldconfig %files %defattr(-,root,root) /opt/zentific/bin/zpoll /opt/zentific/zpoll.conf /etc/sysconfig/zpoll /etc/init.d/zpoll