ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-sqlobject.spec
Revision: 1.4
Committed: Tue Dec 19 16:35:57 2006 UTC (18 years, 4 months ago) by eulisse
Branch: MAIN
CVS Tags: PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPIL116, forPR032, forPR030, forPR020, forPR010
Changes since 1.3: +1 -0 lines
Log Message:
Version bump.

File Contents

# Content
1 ### RPM external py2-sqlobject 0.7.0
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 %define distname SQLObject-%v
6 Source: http://cheeseshop.python.org/packages/source/S/SQLObject/%{distname}.tar.gz
7 Patch0: patch-setup
8 Requires: python
9
10 %prep
11 %setup -n %{distname}
12 %patch0
13 %build
14 %install
15 python setup.py install --prefix=%i
16 perl -p -i -e "s|#\!.*python|#!/usr/bin/env python|" %i/bin/sqlobject-admin
17
18 #