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

Comparing COMP/CMSDIST/root.spec (file contents):
Revision 1.1 by eulisse, Tue Feb 21 08:09:59 2006 UTC vs.
Revision 1.48 by elmer, Fri Dec 1 13:09:56 2006 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.08.00
2 < # Source: cvs://:pserver:cvs@root.cern.ch:2401/user/cvs?passwd=Ah<Z&tag=-rv%(echo %v | tr . -)&module=root&output=/%{n}_v%{v}.source.tar.gz
3 < Source: ftp://root.cern.ch/%n/%{n}_v%{v}.source.tar.gz
1 > ### RPM lcg root 5.13.04c-for120p9
2 > # INITENV +PATH PYTHONPATH %i/lib/python
3 > %define realVersion %(echo %v | cut -d- -f1)
4 > Source: cvs://:pserver:cvs@root.cern.ch:2401/user/cvs?passwd=Ah<Z&tag=-rv%(echo %realVersion | tr . -)&module=root&output=/%{n}_v%{realVersion}.source.tar.gz
5 > #Source: ftp://root.cern.ch/%n/%{n}_v%{realVersion}.source.tar.gz
6 > %define cpu %(echo %cmsplatf | cut -d_ -f2)
7 > %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
8 > Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle
9  
10 + %if "%cpu" != "amd64"
11 + Requires: libtiff
12 + %endif
13 +
14 + Patch: cintex_5.13.04e
15 + Patch1: reflex
16   %prep
17   %setup -n root
18 <
18 > %patch0 -p0
19 > %patch1 -p0
20   %build
21   mkdir -p %i
22 < export ROOTSYS=%i
23 < case $(uname) in
24 <  Linux)
25 <    ./configure linux ;;
26 <  Darwin)
27 <    ./configure macosx ;;
22 > export ROOTSYS=%_builddir/root
23 > CONFIG_ARGS="--enable-table
24 >             --disable-builtin-pcre
25 >             --disable-builtin-freetype
26 >             --disable-builtin-zlib
27 >             --with-gccxml=${GCCXML_ROOT}
28 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
29 >             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
30 >             --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include
31 >             --enable-explicitlink
32 >             --enable-qtgsi
33 >             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
34 >             --enable-mathcore
35 >             --enable-mathmore
36 >             --enable-reflex  
37 >             --enable-cintex
38 >             --enable-minuit2
39 >             --enable-roofit
40 >             --disable-ldap
41 >             --disable-krb5
42 >                 --with-dcap-libdir=${DCAP_ROOT}/lib
43 >             --with-dcap-incdir=${DCAP_ROOT}/include
44 >             --with-ssl-incdir=${OPENSSL_ROOT}/include
45 >             --with-ssl-libdir=${OPENSSL_ROOT}/lib
46 >             --with-shift-incdir=${CASTOR_ROOT}/include/shift
47 >             --with-shift-libdir=${CASTOR_ROOT}/lib
48 >             --with-gsl-incdir=${GSL_ROOT}/include
49 >             --with-gsl-libdir=${GSL_ROOT}/lib
50 >             --disable-pgsql
51 >             --disable-xml"
52 >
53 > case $(uname)-$(uname -m) in
54 >  Linux-x86_64)
55 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
56 >  Linux*)
57 >    ./configure linux $CONFIG_ARGS;;
58 >  Darwin*)
59 >    ./configure macosx $CONFIG_ARGS;;
60   esac
17 make
61  
62 + make
63 + make cintdlls
64   %install
65   # Override installers if we are using GNU fileutils cp.  On OS X
66   # ROOT's INSTALL is defined to "cp -pPR", which only works with
# Line 28 | Line 73 | else
73    cp="cp -pPR"
74   fi
75  
76 < export ROOTSYS=%i
76 > export ROOTSYS=%i/root
77   make INSTALL="$cp" INSTALLDATA="$cp" install
78 + mkdir -p %i/root/lib/python
79 + cp -r reflex/python/genreflex %i/root/lib/python
80 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines