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

File Contents

# User Rev Content
1 eulisse 1.5 ### RPM external py2-sqlobject 0.8.0
2 ratnik 1.8 Requires: gcc-wrapper
3 eulisse 1.1 %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.)
4 eulisse 1.7 ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
5 eulisse 1.1
6     %define distname SQLObject-%v
7     Source: http://cheeseshop.python.org/packages/source/S/SQLObject/%{distname}.tar.gz
8     Patch0: patch-setup
9     Requires: python
10    
11     %prep
12     %setup -n %{distname}
13     %patch0
14     %build
15 ratnik 1.8 ## IMPORT gcc-wrapper
16 eulisse 1.1 %install
17     python setup.py install --prefix=%i
18 eulisse 1.3 perl -p -i -e "s|#\!.*python|#!/usr/bin/env python|" %i/bin/sqlobject-admin
19