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.4 by eulisse, Fri Jul 14 14:10:39 2006 UTC vs.
Revision 1.14 by dlange, Fri Aug 24 20:09:41 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.3.1
2 > Source: http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/%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
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 > #remove the .a files
48 > rm %i/lib/*.a
49 >
50   %post
51   %{relocateConfig}bin/Evaluator-config
52   %{relocateConfig}bin/Cast-config
# Line 48 | Line 54 | make install
54   %{relocateConfig}bin/Exceptions-config
55   %{relocateConfig}bin/RandomObjects-config
56   %{relocateConfig}bin/Geometry-config
51 %{relocateConfig}bin/HepMC-config
52 %{relocateConfig}bin/HepPDT-config
57   %{relocateConfig}bin/Matrix-config
58   %{relocateConfig}bin/Random-config
59   %{relocateConfig}bin/RefCount-config
56 %{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