ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-cx-oracle.spec
Revision: 1.1
Committed: Fri Sep 15 16:37:22 2006 UTC (18 years, 7 months ago) by lat
Branch: MAIN
CVS Tags: pe060927
Log Message:
Add python oracle bindings.

File Contents

# User Rev Content
1 lat 1.1 ### RPM external py2-cx-oracle 4.2
2     ## INITENV +PATH PYTHONPATH %i/lib/python%(echo $PYTHON_VERSION | cut -d. -f 1,2)/site-packages
3     %define downloadn cx_Oracle
4     Source: http://switch.dl.sourceforge.net/sourceforge/cx-oracle/%downloadn-%v.tar.gz
5     Requires: python
6     Requires: oracle
7     %prep
8     %setup -n %downloadn-%v
9    
10     %build
11     %install
12     perl -p -i -e 's/(?<=includeDirs = \[)/"include", /' setup.py
13     python setup.py install --prefix=%i