ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-mysqldb.spec
Revision: 1.1
Committed: Wed Mar 15 10:38:46 2006 UTC (19 years, 1 month ago) by eulisse
Branch: MAIN
CVS Tags: test2, test1, NataliaStart
Log Message:
first added to repository.

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external py2-mysqldb 1.2.0
2     %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
3     ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages
4     %define downloadn MySQL-python
5     Source: http://belnet.dl.sourceforge.net/sourceforge/mysql-python/%downloadn-%v.tar.gz
6     Requires: python mysql
7     %prep
8     %setup -n %downloadn-%v
9     %build
10     python setup.py build
11     %install
12     python setup.py install --prefix=%{i}