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.2 by sashby, Mon Jan 29 17:42:31 2007 UTC vs.
Revision 1.10 by elmer, Wed Jun 27 12:50:44 2007 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.1.0-CMS3
2 > Source: http://www.lpthe.jussieu.fr/~salam/repository/software/fastjet/%n-%realversion.tgz
3 > Patch1: fastjet-2.1.0-nobanner
4  
5   %prep
6 < %setup -n %n-%v
6 > %setup -n %n-%realversion
7 > %patch1 -p1
8  
9   %build
10   cd src
11 + # The following is a hack, whether it works should be checked whenever
12 + # the version is updated from 2.1.0b1
13 + perl -p -i -e "s|CXXFLAGS \+\=|CXXFLAGS += -fPIC|" Makefile
14   make
15   make install
16 + cd ../plugins
17 + make
18 + make clean
19 +
20 + cd ../include/fastjet
21 + find ../../plugins/CDFCones -name "*.hh" -exec ln -sf {}  \;
22 + find ../../plugins/SISCone -name "*.hh" -exec ln -sf {}  \;
23 +
24 + cd ../../lib/
25 + find ../plugins/CDFCones -name "*.a" -exec mv {} .  \;
26 + find ../plugins/SISCone -name "*.a" -exec mv {} .  \;
27 +
28  
29   %install
30 +
31   # Take everything including sources, makefiles, documentation and examples (only 16MB).
32   gtar -cv ./| gtar -x -C %i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines