ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-numpy.spec
Revision: 1.13
Committed: Thu Feb 10 16:44:18 2011 UTC (14 years, 2 months ago) by elmer
Branch: MAIN
CVS Tags: fwFor410pre2online, CMSSW_4_2_0_pre5-ports, CMSSW_4_2_0_pre5, azFor420p5g451a, azFor420p5g451, azFor420p5g434, azFor420pre5gcc451a, azFor420pre5gcc451, azFor420pre5gcc434, CMSSW_4_1_0_pre2, pe20110215-for410p2, pe20110213a-for4XY-ports, pe20110213a-for4XY, pe20110210a-for4XY-ports, pe20110210a-for4XY
Changes since 1.12: +0 -9 lines
Log Message:
  Remove creation of toolfile. That is now done in a
  separate xxx-toolfile.spec.

File Contents

# User Rev Content
1 elmer 1.12 ### RPM external py2-numpy 1.5.1
2 eulisse 1.5 ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages
3 lat 1.1 %define downloadn numpy
4 eulisse 1.8 Source: http://switch.dl.sourceforge.net/sourceforge/%downloadn/%downloadn-%realversion.tar.gz
5 diego 1.11
6 elmer 1.12 Requires: python
7     Requires: zlib
8     Requires: lapack
9 lat 1.1 %prep
10 eulisse 1.8 %setup -n %downloadn-%realversion
11 diego 1.11
12 lat 1.1 %build
13     %install
14 eulisse 1.8 export LAPACK_SRC=%_builddir/%downloadn-%realversion/LAPACK
15     export BLAS_SRC=%_builddir/%downloadn-%realversion/BLAS
16 elmer 1.12
17 lat 1.1 python setup.py install --prefix=%i
18 diego 1.11 egrep -r -l '^#!.*python' %i | xargs perl -p -i -e 's{^#!.*python.*}{#!/usr/bin/env python}'
19     find %i -name '*.egg-info' -exec rm {} \;
20 elmer 1.12