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

Comparing COMP/CMSDIST/elementtree.spec (file contents):
Revision 1.2 by eulisse, Sun Mar 5 12:56:15 2006 UTC vs.
Revision 1.9 by dlange, Tue Oct 9 04:46:40 2007 UTC

# Line 1 | Line 1
1 < ### RPM external elementtree 1.1
2 < Source: http://effbot.org/downloads/%n-%v-20030511.zip
1 > ### RPM external elementtree 1.1-CMS9
2 > Source: http://effbot.org/downloads/%n-%realversion-20030511.zip
3   Requires: python
4  
5   %prep
6 < %setup -n %n-%v-20030511
6 > %setup -n %n-%realversion-20030511
7  
8   %build
9   %install
10   python setup.py install --prefix=%i/share
11 +
12 + # SCRAM ToolBox toolfile
13 + mkdir -p %i/etc/scram.d
14 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
15 + <doc type=BuildSystem::ToolDoc version=1.0>
16 + <Tool name=%n version=%v>
17 + <info url="http://www.boost.org"></info>
18 + <Client>
19 + <Environment name=ELEMENTTREE_BASE default="%i"></Environment>
20 + <Environment name=ELEMENTTREE_PYPATH default="$ELEMENTTREE_BASE/share/lib/python2.4/site-packages"></Environment>
21 + </Client>
22 + <use name=gccxml>
23 + <use name=python>
24 + <Runtime name=PYTHONPATH value="$ELEMENTTREE_PYPATH" type=path>
25 + </Tool>
26 + EOF_TOOLFILE
27 +
28 + %post
29 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines