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

File Contents

# Content
1 ### RPM external py2-pyxml 0.8.4
2 Requires: gcc-wrapper
3 %define pythonv `echo $PYTHON_VERSION | cut -d. -f 1,2`
4 ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages
5 Source: http://switch.dl.sourceforge.net/sourceforge/pyxml/PyXML-%{v}.tar.gz
6 Requires: python expat
7
8 %prep
9 %setup -n PyXML-%{v}
10 %build
11 ## IMPORT gcc-wrapper
12 ./setup.py build
13 %install
14 ./setup.py install --prefix=%{i}
15 perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/xmlproc_parse %{i}/bin/xmlproc_val