ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-cheetah.spec
Revision: 1.4
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
Changes since 1.3: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external py2-cheetah 2.0rc7
2 ratnik 1.4 Requires: gcc-wrapper
3 eulisse 1.2 Requires: python
4     ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}$(echo $PYTHON_VERSION | cut -d. -f 1,2)/site-packages
5     %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
6 eulisse 1.1 Source: http://switch.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-%v.tar.gz
7    
8     %prep
9     %setup -n Cheetah-%v
10     %build
11 ratnik 1.4 ## IMPORT gcc-wrapper
12 eulisse 1.1 %install
13     python setup.py install --prefix=%i
14 eulisse 1.3 perl -p -i -e "s|#\!.*python|#!/usr/bin/env python|" %i/bin/cheetah
15     perl -p -i -e "s|#\!.*python|#!/usr/bin/env python|" %i/bin/cheetah-compile