%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} # This spec file has been modified from stock to look more like # current spec files used in Fedora Core 10. --chindw@wfu.edu ### Abstract ### Name: pbs-python Version: 3.0.1 Release: 2anl1wfu%{?dist} License: See LICENSE Group: Development/Libraries Summary: This package contains the PBS python module. URL: https://subtrac.sara.nl/oss/pbs_python BuildRoot: ${_tmppath}/%{name}-%{version}-%{release}-root Source: ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz ### Dependencies ### # None ### Build Dependencies ### BuildRequires: libtorque-devel >= %{libtorque_version} BuildRequires: python2-devel >= %{python_version} %description This package contains the pbs python module. %prep %setup -q -n pbs-python-%{version} %build %configure %{__python} setup.py build %install %{__python} ./setup.py install --prefix $RPM_BUILD_ROOT%{_prefix} ; %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) %doc README TODO examples %{python_sitearch}/pbs.pth %{python_sitearch}/pbs/* %changelog * Tue Mar 24 2009 David Chin - Fedora-ize * Sun Mar 9 2008 Michael Sternberg - libdir and python defines * Wed Nov 23 2005 Ramon Bastiaans - Fixed missing prep setup and added configure * Tue Nov 22 2005 Martin Pels - Changed default directory permissions * Tue Nov 01 2005 Martin Pels - Initial version