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.4 by eulisse, Thu Apr 6 22:46:49 2006 UTC vs.
Revision 1.58 by dlange, Mon May 14 02:55:39 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines