ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlalchemy.spec
Revision: 1.4
Committed: Thu Mar 15 18:19:11 2007 UTC (18 years, 1 month ago) by valya
Branch: MAIN
Changes since 1.3: +1 -1 lines
Log Message:
Need to be dependent from python modules for sqlite, mysql and cx_Oracle

File Contents

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