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

# User Rev Content
1 eulisse 1.2 ### RPM external py2-pyxml 0.8.4
2 ratnik 1.6 Requires: gcc-wrapper
3 afanfani 1.5 %define pythonv `echo $PYTHON_VERSION | cut -d. -f 1,2`
4 eulisse 1.1 ## 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 ratnik 1.6 ## IMPORT gcc-wrapper
12 eulisse 1.1 ./setup.py build
13     %install
14     ./setup.py install --prefix=%{i}
15 eulisse 1.4 perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/xmlproc_parse %{i}/bin/xmlproc_val