%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} ### Abstract ### Name: pxeconfig Version: 4.1.0 Release: 1%{?dist} License: See LICENSE Group: Development/Libraries Summary: This package contains PXE config URL: https://subtrac.sara.nl/oss/pxeconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Source: ftp://ftp.sara.nl/pub/outgoing/pxeconfig.tar.gz %description This package contains PXE config %prep %setup -q -n pxeconfig-%{version} %define _lib lib %configure %build make compile %install make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) %{_bindir}/* %{_sbindir}/* %{_prefix}/share/doc/pxeconfig/* %{python_sitearch}/pxeconfig.pth %{python_sitearch}/pxeconfig/* %config /etc/pxeconfig.conf %changelog * Tue Apr 14 2010 Ramon Bastiaans - First .spec file