ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/fastjet.spec
Revision: 1.9
Committed: Tue May 29 22:40:42 2007 UTC (17 years, 11 months ago) by elmer
Branch: MAIN
CVS Tags: ge20070629, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, pe20070607a-ports
Changes since 1.8: +3 -0 lines
Log Message:
Use previously committed patches to silence banner printout at startup.

File Contents

# User Rev Content
1 elmer 1.8 ### RPM external fastjet 2.1.0-XXXX
2     Source: http://www.lpthe.jussieu.fr/~salam/repository/software/fastjet/%n-%realversion.tgz
3 elmer 1.9 Patch1: fastjet-2.1.0-nobanner
4    
5 ratnik 1.1 %prep
6 elmer 1.8 %setup -n %n-%realversion
7 elmer 1.9 %patch1 -p1
8 ratnik 1.1
9     %build
10     cd src
11 elmer 1.3 # 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 ratnik 1.1 make
15     make install
16 dlange 1.5 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 ratnik 1.1
29     %install
30 dlange 1.5
31 ratnik 1.1 # Take everything including sources, makefiles, documentation and examples (only 16MB).
32     gtar -cv ./| gtar -x -C %i