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.8 by elmer, Tue May 22 16:57:02 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
3 <
1 > ### RPM external fastjet 2.1.0-XXXX
2 > Source: http://www.lpthe.jussieu.fr/~salam/repository/software/fastjet/%n-%realversion.tgz
3   %prep
4 < %setup -n %n-%v
4 > %setup -n %n-%realversion
5  
6   %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
11   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 +
25  
26   %install
27 +
28   # Take everything including sources, makefiles, documentation and examples (only 16MB).
29   gtar -cv ./| gtar -x -C %i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines