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

File Contents

# Content
1 ### RPM external py2-sqlalchemy 0.3.5
2 Requires: gcc-wrapper
3 %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.)
4 ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
5
6 Source: http://superb-east.dl.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-%v.tar.gz
7 Requires: python py2-pysqlite py2-mysqldb py2-cx-oracle
8
9 %prep
10 %setup -n SQLAlchemy-%v
11 %build
12 ## IMPORT gcc-wrapper
13 %install
14 mkdir -p %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
15 python setup.py build
16 mv build/lib/* %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
17