1 |
< |
### RPM external charybdis 1.003-CMS8 |
1 |
> |
### RPM external charybdis 1.003 |
2 |
> |
## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;; Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac |
3 |
|
Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz |
4 |
|
%prep |
5 |
|
%setup -q -n %{n}/%{realversion} |
6 |
< |
./configure --lcgplatform=%cmsplatf |
6 |
> |
./configure --lcgplatform=%cmsplatf --pythia_hadronization |
7 |
|
|
8 |
|
%build |
9 |
|
which g77 |
14 |
|
# SCRAM ToolBox toolfile |
15 |
|
mkdir -p %i/etc/scram.d |
16 |
|
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
17 |
< |
<doc type=BuildSystem::ToolDoc version=1.0> |
18 |
< |
<Tool name=charybdis version=%v> |
17 |
> |
<doc type="BuildSystem::ToolDoc" version="1.0"> |
18 |
> |
<Tool name="charybdis" version="%v"> |
19 |
> |
<info url="http://www.ippp.dur.ac.uk/montecarlo/leshouches/generators/charybdis/"/> |
20 |
|
<Client> |
21 |
< |
<Environment name=CHARYBDIS_BASE default="%i"></Environment> |
22 |
< |
<Environment name=LIBDIR default="$CHARYBDIS_BASE/lib"></Environment> |
23 |
< |
<Environment name=INCLUDE default="$CHARYBDIS_BASE/include"></Environment> |
21 |
> |
<Environment name="CHARYBDIS_BASE" default="%i"></Environment> |
22 |
> |
<Environment name="LIBDIR" default="$CHARYBDIS_BASE/lib"></Environment> |
23 |
> |
<Environment name="INCLUDE" default="$CHARYBDIS_BASE/include"></Environment> |
24 |
|
</Client> |
25 |
< |
<lib name=charybdis> |
26 |
< |
<use name=f77compiler> |
27 |
< |
<use name=herwig> |
25 |
> |
<lib name="charybdis"/> |
26 |
> |
<use name="f77compiler"/> |
27 |
> |
<use name="herwig"/> |
28 |
> |
<use name="pythia6"/> |
29 |
|
</Tool> |
30 |
+ |
</doc> |
31 |
|
EOF_TOOLFILE |
32 |
|
|
33 |
|
%post |