Revision: | 1.7 |
Committed: | Fri May 11 09:48:00 2007 UTC (17 years, 11 months ago) by eulisse |
Branch: | MAIN |
CVS Tags: | CMSSW_1_6_0_pre1, pe20070729b-160p2, pe20070729b-160p1, pe20070729a-160p2, pe20070729a-160p1, pe20070629a-ports, pe20070628e-ports, pe20070628d-ports, pe20070628c-ports, pe20070628b-ports, pe20070628a-ports, pe20070627b-ports, pe20070627a-ports, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, pe20070607a-ports, pe20070522a-ports, pe20070519a-ports |
Changes since 1.6: | +0 -1 lines |
Log Message: | revision bump using new sqlite. |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.2 | ### RPM external py2-pysqlite 2.3.2 |
2 | eulisse | 1.1 | %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.) |
3 | eulisse | 1.2 | %define distname pysqlite-%v |
4 | eulisse | 1.3 | ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages |
5 | eulisse | 1.2 | Source: http://initd.org/pub/software/pysqlite/releases/2.3/%v/%{distname}.tar.gz |
6 | eulisse | 1.1 | Requires: python sqlite |
7 | |||
8 | eulisse | 1.2 | %prep |
9 | %setup -n %{distname} | ||
10 | eulisse | 1.1 | %build |
11 | eulisse | 1.2 | perl -p -i -e "s!include_dirs=.*!include_dirs=$SQLITE_ROOT/include!" setup.cfg |
12 | perl -p -i -e "s!library_dirs=.*!library_dirs=$SQLITE_ROOT/lib!" setup.cfg | ||
13 | eulisse | 1.1 | python setup.py build |
14 | %install | ||
15 | python setup.py install --prefix=%i |