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

Comparing COMP/CMSDIST/pyqt.spec (file contents):
Revision 1.10 by muzaffar, Tue Apr 20 08:12:51 2010 UTC vs.
Revision 1.14 by eulisse, Mon Oct 11 12:05:38 2010 UTC

# Line 1 | Line 1
1 < ### RPM external pyqt 4.5.4
1 > ### RPM external pyqt 4.7.7
2   ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages
3 ## BUILDIF case %cmsplatf in osx*) false;; *) true;; esac
3   Source: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-%realversion.tar.gz
4   Patch0: pyqt-relocatable-build
5   Requires: python
# Line 46 | Line 45 | source %i/etc/profile.d/init.sh
45   EOF_INIT_ME
46  
47   perl -p -i -e "s|\@([^@]*)\@|\$ENV{\$1}|" %i/etc/profile.d/init-standalone.sh
49 mkdir -p %i/etc/scram.d
50 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
51  <tool name="%n" version="%v">
52    <info url="http://www.riverbankcomputing.co.uk/software/pyqt/intro"/>
53    <client>
54      <environment name="PYQT_BASE" default="%i"/>
55    </client>
56    <runtime name="PYTHONPATH" value="$PYQT_BASE/lib/python@PYTHONV@/site-packages" type="path"/>
57    <use name="python"/>
58    <use name="qt"/>
59    <use name="sip"/>
60  </tool>
61 EOF_TOOLFILE
62 export PYTHONV=$(echo $PYTHON_VERSION | cut -f1,2 -d.)
63 perl -p -i -e 's|\@([^@]*)\@|$ENV{$1}|g' %i/etc/scram.d/*
48  
49   %post
66 %{relocateConfig}etc/scram.d/%n.xml
50   %{relocateConfig}etc/profile.d/init-standalone.sh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines