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. |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.1 | ### RPM external py2-sqlobject 0.7.0 |
2 | %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.) | ||
3 | eulisse | 1.2 | ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages |
4 | eulisse | 1.1 | |
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 | eulisse | 1.3 | perl -p -i -e "s|#\!.*python|#!/usr/bin/env python|" %i/bin/sqlobject-admin |
17 | |||
18 | eulisse | 1.4 | # |