ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/sip.spec
Revision: 1.3
Committed: Fri Jun 12 09:25:24 2009 UTC (15 years, 10 months ago) by eulisse
Branch: MAIN
CVS Tags: CMSSW_3_1_6, bhFor316v0, CMSSW_3_1_5, bhFor315v0, bhFor314v0, CMSSW_3_2_8, eskFor328, CMSSW_3_1_4, PerfSuiteDB_20090930, CMSSW_3_1_3, pe20090922b-ports, pe20090922a-ports, pe20090922a-for33X, ge20090922-ports, CMSSW_3_2_7, pe20090921d-ports, pe20090921d-for33X, ge20090921-ports, pe20090921c-ports, pe20090921c-for33X, pe20090921b-for33X, pe20090921a-ports, CMSSW_3_3_0_pre4, apFor330pre4v0, eskFor327, pe20090918a-ports, PerfSuiteDB_20090916, pe20090912a-ports-xdaq, pe20090911a-ports-xdaq, CMSSW_3_3_0_pre3, apFor330pre3v0, pe20090907a-ports, pe20090907a-for33X, CMSSW_3_3_0_pre2, apFor330pre2v1, apFor330pre2v0, CMSSW_3_2_6, PerfSuiteDB_20090904_almost_stable, pe20090904a-ports, pe20090904a-for33X, PerfSuiteDB_20090904, pe20090903b-for33X, eskFor326, pe20090903b-ports, pe20090903a-ports, pe20090903-for33X, PerfSuiteDB_20090901, CMSSW_3_3_0_pre1, forHEARTBEATr04, esk090827, pe20090827a-ports, pe20090827a-33X, pe20090826a-33X, pe20090826a-ports, RPMVERIFY_0_2, forHEARTBEATr01, CMSSW_3_2_5, smFor325v0, eskFor325, CMSSW_3_2_4_patch1, CMSSW_3_2_4, sm324p1a, CMSSW_3_2_3, apFor323v1, apFor323v0, DQMGUI_5_0_2, DQMGUI_5_0_1, DQMGUI_5_0_0, CMSSW_3_2_2_patch2, apFor322patch2v0, CMSSW_3_2_2_patch1, apFor322pa1v0, CMSSW_3_2_2, CMSSW_3_1_2, apFor322v0, dl090723, CMSSW_3_2_1, apFor321v0, apFor320onlv0, CMSSW_3_2_0, apFor320v1, apFor320v0, CMSSW_3_1_1_patch1, sm090716a_off, CMSSW_3_1_1_reallyThisTime, CMSSW_3_1_1, dl090707
Changes since 1.2: +16 -0 lines
Log Message:
Misc updates for pyqt.

* sip toolfile is now provided.
* Fixes pyqt wrong "<environment>" tag. See:

  https://hypernews.cern.ch/HyperNews/CMS/get/swDevelopment/2120/1/1.html

File Contents

# Content
1 ### RPM external sip 4.8
2 ## INITENV +PATH PYTHONPATH %i/lib/python2.4/site-packages
3 Source: http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-%realversion.tar.gz
4 Requires: python
5 %prep
6 %setup -n sip-%realversion
7
8 %build
9 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
10 make %makeprocesses
11
12 %install
13 make install
14
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
28 %post
29 %{relocateConfig}etc/scram.d/sip