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

Comparing COMP/CMSDIST/pythia6.spec (file contents):
Revision 1.7 by elmer, Wed Jun 27 12:50:44 2007 UTC vs.
Revision 1.14 by andreasp, Tue May 19 09:01:05 2009 UTC

# Line 1 | Line 1
1 < ### RPM external pythia6 409-CMS3
2 < %define realversion %(echo %v | cut -d- -f1 )
3 < Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
1 > ### RPM external pythia6 420
2 > ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
3 >
4 > Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
5   %prep
6   %setup -q -n %{n}/%{realversion}
7   ./configure --enable-shared
# Line 8 | Line 9 | Source: http://service-spi.web.cern.ch/s
9   %build
10   make
11  
11
12
12   %install
14
13   tar -c lib include | tar -x -C %i
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=pythia6 version=%v>
19 + <Client>
20 + <Environment name=PYTHIA6_BASE default="%i"></Environment>
21 + <Environment name=LIBDIR default="$PYTHIA6_BASE/lib"></Environment>
22 + <Environment name=INCLUDE default="$PYTHIA6_BASE/include"></Environment>
23 + </Client>
24 + <lib name=pythia6>
25 + <lib name=pythia6_dummy>
26 + <lib name=pythia6_pdfdummy>
27 + <use name=f77compiler>
28 + </Tool>
29 + EOF_TOOLFILE
30  
31 + %post
32 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines