ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/pyrex.spec
Revision: 1.3
Committed: Wed May 10 18:57:56 2006 UTC (18 years, 11 months ago) by steen
Branch: MAIN
CVS Tags: V00-00-05, V00-00-04
Changes since 1.2: +1 -1 lines
Log Message:
Add correct PYTHONPATH

Conrad Steenberg <conrad@hep.caltech.edu>
California Institute of Technology | http://conradsteenberg.info

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external pyrex 0.9.3.1
2     %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
3 steen 1.3 ## INITENV +PATH PYTHONPATH %{i}/lib/python%{pythonv}/site-packages
4 steen 1.2 ## INITENV +PATH PATH %{i}/bin
5 eulisse 1.1
6     Summary: A language for writing Python extension modules.
7     Group: Development/Libraries
8     Vendor: Greg Ewing <greg@cosc.canterbury.ac.nz>
9     Url: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
10     Packager: Conrad Steenberg <conrad@hep.caltech.edu>
11     Source: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-%{v}.tar.gz
12     Requires: python
13     %prep
14     %setup -n Pyrex-%{v}
15     %build
16     python setup.py build
17     %install
18     python setup.py install --prefix=%i