Changeset 199 for trunk/pbs_python.spec
- Timestamp:
- 10/06/09 15:02:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_python.spec
r187 r199 1 Summary: This package contains the pbs python module. 2 Name: pbs_python 3 Version: %{prodversion} 4 Release: %{prodrelease} 1 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} 2 3 ### Abstract ### 4 5 Name: pbs-python 6 Version: 3.2.0 7 Release: 1%{?dist} 5 8 License: See LICENSE 6 9 Group: Development/Libraries 10 Summary: This package contains the PBS python module. 11 URL: https://subtrac.sara.nl/oss/pbs_python 12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 7 13 Source: ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz 8 BuildRoot: /var/tmp/%{name}-buildroot9 14 15 ### Dependencies ### 16 # None 17 18 ### Build Dependencies ### 19 20 BuildRequires: libtorque-devel >= %{libtorque_version} 21 BuildRequires: python2-devel >= %{python_version} 10 22 11 23 %description … … 13 25 14 26 %prep 15 %setup -q 16 ./configure --with-pbsdir=%{libdir} 27 %setup -q -n pbs_python-%{version} 17 28 18 29 %build 19 python setup.py build 30 %configure 31 %{__python} setup.py build 20 32 21 33 %install 22 echo %{pythonlib} 23 echo %{libdir} 24 python ./setup.py install --prefix $RPM_BUILD_ROOT/usr ; 34 %{__python} ./setup.py install --prefix $RPM_BUILD_ROOT%{_prefix} ; 25 35 26 36 %clean … … 30 40 %defattr(-,root,root,0755) 31 41 %doc README TODO examples 32 %{ libdir}/%{pythonlib}/site-packages/pbs.pth33 %{ libdir}/%{pythonlib}/site-packages/pbs/*42 %{python_sitearch}/pbs.pth 43 %{python_sitearch}/pbs/* 34 44 35 45 %changelog 36 * Tue May 5 2009 Michel Jouvin <jouvin@lal.in2p3.fr> 37 - Rework spec file to make it generic with respect to platforms, python version... Intended to be used with Makefile.rpm 46 * Tue Oct 06 2009 Ramon Bastiaans <ramon.bastiaans@sara.nl> 47 - Fixed tmppath, %setup sourcedir 48 * Tue Mar 24 2009 David Chin <chindw@wfu.edu> 49 - Fedora-ize 38 50 * Sun Mar 9 2008 Michael Sternberg <sternberg@anl.gov> 39 51 - libdir and python defines
Note: See TracChangeset
for help on using the changeset viewer.