ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/sip.spec
(Generate patch)

Comparing COMP/CMSDIST/sip.spec (file contents):
Revision 1.5 by eulisse, Mon Nov 2 14:08:38 2009 UTC vs.
Revision 1.15 by elmer, Wed Jan 5 16:29:34 2011 UTC

# Line 1 | Line 1
1 < ### RPM external sip 4.8.2
2 < ## INITENV +PATH PYTHONPATH %i/lib/python2.4/site-packages
3 < Source: http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-%realversion.tar.gz
1 > ### RPM external sip 4.11.2
2 > ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION |cut -d. -f 1,2)/site-packages
3 > #Source: http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-%realversion.tar.gz
4 > Source: http://cmsrep.cern.ch/cmssw/pyqt-mirror/sip-%realversion.tar.gz
5 > Patch0: sip-4.11.1-macosx
6   Requires: python
7   %prep
8 < %setup -n sip-%realversion
8 > %setup -n sip-%realversion
9 > %patch0 -p1
10  
11   %build
12   python ./configure.py -v %i/share -b %i/bin -d %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages -e %i/include
# Line 12 | Line 15 | make %makeprocesses
15   %install
16   make install
17  
15 mkdir -p %i/etc/scram.d
16 cat << \EOF_TOOLFILE >%i/etc/scram.d/sip
17 <doc type=BuildSystem::ToolDoc version=1.0>
18 <Tool name=sip version=%v>
19 <info url="http://www.riverbankcomputing.co.uk/software/sip/intro"></info>
20 <Client>
21 <Environment name=SIP_BASE default="%i"></Environment>
22 </Client>
23 <Runtime name=PYTHONPATH value="$SIP_BASE/lib/python2.4/site-packages" type=path>
24 <use name="python">
25 </Tool>
26 EOF_TOOLFILE
27
18   %post
19 < %{relocateConfig}etc/scram.d/sip
30 < %{relocateConfig}lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages/sipconfig.py
19 > %{relocateConfig}lib/python2.6/site-packages/sipconfig.py

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines