ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-json.spec
Revision: 1.2
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.1: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# User Rev Content
1 steen 1.1 ### RPM external py2-json 0.1
2 ratnik 1.2 Requires: gcc-wrapper
3 steen 1.1 %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
4     ## INITENV +PATH PYTHONPATH %{i}/lib/python%{pythonv}
5    
6     Summary: Javascript Object Notation implementation for Python
7     Packager: Conrad Steenberg <conrad@hep.caltech.edu>
8     Source: http://julian.ultralight.org/clarens/devel/python-json-%v.tar.gz
9     URL: http://json-rpc.org/pyjsonrpc/index.xhtml
10     Requires: python
11     %prep
12     %setup -n python-json-%{v}
13    
14     %build
15 ratnik 1.2 ## IMPORT gcc-wrapper
16 steen 1.1
17     %install
18     mkdir -p %{i}/lib/python%{pythonv}
19    
20     cp json.py jsonrpc.py %{i}/lib/python%{pythonv}
21