ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/pythia6.spec
Revision: 1.1
Committed: Tue Apr 24 15:48:28 2007 UTC (18 years ago) by dlange
Branch: MAIN
Log Message:
add spec files for pythia6, pythia8, jimmy (needed for 140pre5)

File Contents

# User Rev Content
1 dlange 1.1 ### RPM external pythia6 409
2     Requires: gcc-wrapper
3     %define gccwrapperarch slc4_ia32_gcc345
4     %define realversion %(echo %v | cut -d- -f1 )
5     Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
6     %prep
7     %setup -q -n %{n}/%{realversion}
8     ./configure
9    
10     %build
11     %if "%{cmsplatf}" == "%{gccwrapperarch}"
12     echo "Using gcc wrapper for %cmsplatf"
13     source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh
14     %endif
15     make
16    
17     %install
18     tar -c lib include | tar -x -C %i
19