ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-zsi.spec
Revision: 1.4
Committed: Sat Apr 29 15:29:55 2006 UTC (19 years ago) by elmer
Branch: MAIN
CVS Tags: V00-00-04, V00-00-03, V00-00-02, V00-00-01
Changes since 1.3: +2 -2 lines
Log Message:
Change "setup.py" to "./setup.py" for those who don't have "." in their
paths.

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external py2-zsi 1.7
2 eulisse 1.2 %define pythonv $(echo $PYTHON_VERSION | cut -d. -f 1,2)
3 eulisse 1.1 ## INITENV +PATH PYTHONPATH %i/lib/python%{pythonv}/site-packages
4     Source: http://switch.dl.sourceforge.net/sourceforge/pywebsvcs/ZSI-%{v}.tar.gz
5     Requires: python
6    
7     %prep
8     %setup -n ZSI-%v
9     %build
10 elmer 1.4 ./setup.py build
11 eulisse 1.1 %install
12 elmer 1.4 ./setup.py install --prefix=%{i}
13 eulisse 1.3 perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/wsdl2dispatch.py %{i}/bin/wsdl2py.py