ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/clhep.spec
(Generate patch)

Comparing COMP/CMSDIST/clhep.spec (file contents):
Revision 1.3 by eulisse, Thu Jul 6 13:08:38 2006 UTC vs.
Revision 1.13 by elmer, Wed Jun 27 12:50:44 2007 UTC

# Line 1 | Line 1
1 < ### RPM external clhep 1.9.2.2
2 < Source: http://proj-clhep.web.cern.ch/proj-clhep/%n-%v.tgz
1 > ### RPM external clhep 1.9.2.3-CMS3
2 > Source: http://proj-clhep.web.cern.ch/proj-clhep/%n-%realversion.tgz
3  
4   %prep
5 < %setup -n %v/CLHEP
5 > %setup -n %realversion/CLHEP
6  
7   %build
8 + if [ $(uname) = Darwin ]; then
9 +  export MACOSX_DEPLOYMENT_TARGET="10.4"
10 + fi
11   CXX=g++ ./configure --prefix=%i
12   make
13  
# Line 32 | Line 35 | make
35   #for f in *.cc; do
36   #  g++ -c -O2 -ansi -Wall -fPIC -I../.. $flags $f
37   #done
38 < #g++ $shared -o libCLHEP-g++.%v.$so *.o
38 > #g++ $shared -o libCLHEP-g++.%realversion.$so *.o
39  
40   %install
41   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
42   make install
43   #cd shared-tmp
44 < #cp libCLHEP-g++.%v.$so %i/lib
45 < #ln -s libCLHEP-g++.%v.$so %i/lib/libCLHEP.$so
46 < #n -s libCLHEP-g++.%v.a %i/lib/libCLHEP.a
47 < #
44 > #cp libCLHEP-g++.%realversion.$so %i/lib
45 > #ln -s libCLHEP-g++.%realversion.$so %i/lib/libCLHEP.$so
46 > #n -s libCLHEP-g++.%realversion.a %i/lib/libCLHEP.a
47 > %post
48 > %{relocateConfig}bin/Evaluator-config
49 > %{relocateConfig}bin/Cast-config
50 > %{relocateConfig}bin/GenericFunctions-config
51 > %{relocateConfig}bin/Exceptions-config
52 > %{relocateConfig}bin/RandomObjects-config
53 > %{relocateConfig}bin/Geometry-config
54 > %{relocateConfig}bin/HepMC-config
55 > %{relocateConfig}bin/HepPDT-config
56 > %{relocateConfig}bin/Matrix-config
57 > %{relocateConfig}bin/Random-config
58 > %{relocateConfig}bin/RefCount-config
59 > %{relocateConfig}bin/StdHep-config
60 > %{relocateConfig}bin/Units-config
61 > %{relocateConfig}bin/Vector-config
62 > %{relocateConfig}bin/clhep-config

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines