1 |
< |
### RPM external clhep 1.9.2.2 |
1 |
> |
### RPM external clhep 1.9.2.3 |
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 |
+ |
if [ $(uname) = Darwin ]; then |
9 |
+ |
export MACOSX_DEPLOYMENT_TARGET="10.4" |
10 |
+ |
fi |
11 |
|
CXX=g++ ./configure --prefix=%i |
12 |
|
make |
13 |
|
|
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 |
< |
# |
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 |