ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/clhep.spec
Revision: 1.3
Committed: Thu Jul 6 13:08:38 2006 UTC (18 years, 9 months ago) by eulisse
Branch: MAIN
CVS Tags: nr_baran081_t1, for080_testfixes1, for080_testfixes, for081, for080, for080p4, for080pre3
Changes since 1.2: +1 -0 lines
Log Message:
Bumping revision to make sure they get built with the new install.sh.

File Contents

# User Rev Content
1 argiro 1.1 ### RPM external clhep 1.9.2.2
2     Source: http://proj-clhep.web.cern.ch/proj-clhep/%n-%v.tgz
3    
4     %prep
5     %setup -n %v/CLHEP
6    
7     %build
8     CXX=g++ ./configure --prefix=%i
9     make
10    
11 argiro 1.2 #mkdir -p shared-tmp
12     #cd shared-tmp
13     #case $(uname) in
14     # Darwin ) so=dylib shared="-dynamiclib -single_module" flags= ;;
15     # * ) so=so shared="-shared" flags="-D_GNU_SOURCE" ;;
16     #esac
17     #
18     #set -x
19     #cp -i ../Evaluator/*.cc .
20     #cp -i ../Evaluator/*.src .
21     #cp -i ../GenericFunctions/*.cc .
22     #cp -i ../Geometry/*.cc .
23     #cp -i ../Matrix/*.cc .
24     #cp -i ../Random/*.cc .
25     #cp -i ../Random/*.src .
26     #cp -i ../Random/*.cdat .
27     #cp -i ../RandomObjects/*.cc .
28     #cp -i ../Vector/*.cc .
29     #cp -i ../HepPDT/*.cc .
30     #cp -i ../HepMC/*.cc .
31     #cp -i ../StdHep/*.cc .
32     #for f in *.cc; do
33     # g++ -c -O2 -ansi -Wall -fPIC -I../.. $flags $f
34     #done
35     #g++ $shared -o libCLHEP-g++.%v.$so *.o
36 argiro 1.1
37     %install
38     case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
39     make install
40 argiro 1.2 #cd shared-tmp
41     #cp libCLHEP-g++.%v.$so %i/lib
42     #ln -s libCLHEP-g++.%v.$so %i/lib/libCLHEP.$so
43     #n -s libCLHEP-g++.%v.a %i/lib/libCLHEP.a
44 eulisse 1.3 #