ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/elementtree.spec
Revision: 1.13
Committed: Mon Dec 17 10:00:58 2007 UTC (17 years, 4 months ago) by eulisse
Branch: MAIN
CVS Tags: pe20071127-ports, ge20071224, ge20071223, ge20071221, ge20071220, ge20071217
Changes since 1.12: +1 -1 lines
Log Message:
More fixes to the filename of the downloaded sources.

File Contents

# Content
1 ### RPM external elementtree 1.2.6
2 Source: http://effbot.org/downloads/%n-%realversion-20050316.zip
3 Requires: python
4
5 %prep
6 %setup -n %n-%realversion-20050316
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