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

Comparing COMP/CMSDIST/fastjet.spec (file contents):
Revision 1.3 by elmer, Sat Apr 14 20:03:07 2007 UTC vs.
Revision 1.26 by dlange, Sun May 10 03:06:02 2009 UTC

# Line 1 | Line 1
1 < ### RPM external fastjet 2.1.0b1
2 < Source: http://www.lpthe.jussieu.fr/~salam/repository/software/fastjet/%n-%v.tgz
1 > ### RPM external fastjet 2.4.0
2 > Source: http://www.lpthe.jussieu.fr/~salam/fastjet/repo/%n-%realversion.tar.gz
3 > Patch1: fastjet-2.1.0-nobanner
4 > Patch2: fastjet-2.3.4-siscone-banner
5 > Patch3: fastjet-2.4.0-gcc44
6  
7   %prep
8 < %setup -n %n-%v
8 > %setup -n %n-%realversion
9 > %patch1 -p1
10 > %patch2 -p1
11 > %patch3 -p1
12 >
13 > ./configure --enable-shared --enable-cmsiterativecone --enable-atlascone --prefix=%i
14  
15   %build
8 cd src
9 # The following is a hack, whether it works should be checked whenever
10 # the version is updated from 2.1.0b1
11 perl -p -i -e "s|CXXFLAGS \+\=|CXXFLAGS += -fPIC|" Makefile
16   make
13 make install
17  
18   %install
19 < # Take everything including sources, makefiles, documentation and examples (only 16MB).
20 < gtar -cv ./| gtar -x -C %i
19 > make install
20 >
21 >
22 > # SCRAM ToolBox toolfile
23 > mkdir -p %i/etc/scram.d
24 > cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
25 > <doc type=BuildSystem::ToolDoc version=1.0>
26 > <Tool name=FastJet version=%v>
27 > <info url=http://www.lpthe.jussieu.fr/~salam/fastjet/></info>
28 > <lib name=CMSIterativeConePlugin>
29 > <lib name=SISConePlugin>
30 > <lib name=CDFConesPlugin>
31 > <lib name=ATLASConePlugin>
32 > <lib name=siscone>
33 > <lib name=siscone_spherical>
34 > <lib name=fastjet>
35 > <client>
36 > <Environment name=FASTJET_BASE default="%i"></Environment>
37 > <Environment name=LIBDIR default="$FASTJET_BASE/lib"></Environment>
38 > <Environment name=INCLUDE default="$FASTJET_BASE/include"></Environment>
39 > </client>
40 > </Tool>
41 > EOF_TOOLFILE
42 >
43 > %post
44 > %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines