ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/charybdis.spec
Revision: 1.2
Committed: Fri Sep 7 21:59:25 2007 UTC (17 years, 7 months ago) by dlange
Branch: MAIN
Changes since 1.1: +1 -0 lines
Log Message:
add herwig to list of libs needed by charybdis

File Contents

# User Rev Content
1 muzaffar 1.1 ### RPM external charybdis 1.003-CMS8
2     Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
3     %prep
4     %setup -q -n %{n}/%{realversion}
5     ./configure --lcgplatform=%cmsplatf
6    
7     %build
8     which g77
9     make
10    
11     %install
12     tar -c lib include | tar -x -C %i
13     # SCRAM ToolBox toolfile
14     mkdir -p %i/etc/scram.d
15     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
16     <doc type=BuildSystem::ToolDoc version=1.0>
17     <Tool name=charybdis version=%v>
18     <Client>
19     <Environment name=CHARYBDIS_BASE default="%i"></Environment>
20     <Environment name=LIBDIR default="$CHARYBDIS_BASE/lib"></Environment>
21     <Environment name=INCLUDE default="$CHARYBDIS_BASE/include"></Environment>
22     </Client>
23     <lib name=charybdis>
24     <use name=f77compiler>
25 dlange 1.2 <use name=herwig>
26 muzaffar 1.1 </Tool>
27     EOF_TOOLFILE
28    
29     %post
30     %{relocateConfig}etc/scram.d/%n