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.7 by elmer, Tue May 1 17:56:14 2007 UTC vs.
Revision 1.29 by elmer, Tue Nov 2 13:49:52 2010 UTC

# Line 1 | Line 1
1 < ### RPM external fastjet 2.1.0
2 < Source: http://www.lpthe.jussieu.fr/~salam/repository/software/fastjet/%n-%v.tgz
1 > ### RPM external fastjet 2.4.2
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 >
6   %prep
7 < %setup -n %n-%v
7 > %setup -n %n-%realversion
8 > %patch1 -p1
9 > %patch2 -p1
10 >
11 > ./configure --enable-shared --enable-cmsiterativecone --enable-atlascone --prefix=%i --enable-allcxxplugins
12  
13   %build
7 cd src
8 # The following is a hack, whether it works should be checked whenever
9 # the version is updated from 2.1.0b1
10 perl -p -i -e "s|CXXFLAGS \+\=|CXXFLAGS += -fPIC|" Makefile
14   make
12 make install
13 cd ../plugins
14 make
15 make clean
16
17 cd ../include/fastjet
18 find ../../plugins/CDFCones -name "*.hh" -exec ln -sf {}  \;
19 find ../../plugins/SISCone -name "*.hh" -exec ln -sf {}  \;
20
21 cd ../../lib/
22 find ../plugins/CDFCones -name "*.a" -exec mv {} .  \;
23 find ../plugins/SISCone -name "*.a" -exec mv {} .  \;
24
15  
16   %install
17 <
28 < # Take everything including sources, makefiles, documentation and examples (only 16MB).
29 < gtar -cv ./| gtar -x -C %i
17 > make install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines