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.22 by eulisse, Fri Jul 14 17:26:51 2006 UTC vs.
Revision 1.31 by eulisse, Wed Aug 9 11:55:09 2006 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.12.00
1 > ### RPM lcg root 5.12.00-forCMS139
2   # INITENV +PATH PYTHONPATH %i/lib/python
3 < 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
4 < #Source: ftp://root.cern.ch/%n/%{n}_v%{v}.source.tar.gz
5 < Requires: gccxml python qt gsl castor openssl mysql libpng libjpg libtiff dcap pcre zlib
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: root-cint-bug
15   %prep
16   %setup -n root
9 %patch -p0
17   %build
18   mkdir -p %i
19   export ROOTSYS=%_builddir/root
20 < CONFIG_ARGS="--enable-table
20 > CONFIG_ARGS="--enable-table
21               --disable-builtin-pcre
22               --disable-builtin-freetype
23               --disable-builtin-zlib
24               --with-gccxml=${GCCXML_ROOT}
25 <             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
25 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
26               --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
27 <             --with-dcap-libdir=${DCAP_ROOT}/lib
21 <             --with-dcap-incdir=${DCAP_ROOT}/include
27 >             --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include
28               --enable-explicitlink
29               --enable-qtgsi
30               --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
# Line 34 | Line 40 | CONFIG_ARGS="--enable-table
40               --with-dcap-incdir=${DCAP_ROOT}/include
41               --with-ssl-incdir=${OPENSSL_ROOT}/include
42               --with-ssl-libdir=${OPENSSL_ROOT}/lib
43 <             --with-shift-incdir=${CASTOR_ROOT}/include
43 >             --with-shift-incdir=${CASTOR_ROOT}/include/shift
44               --with-shift-libdir=${CASTOR_ROOT}/lib
45               --disable-pgsql
46               --disable-xml"
47  
48   case $(uname)-$(uname -m) in
49    Linux-x86_64)
50 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
50 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
51    Linux*)
52      ./configure linux $CONFIG_ARGS;;
53    Darwin*)
# Line 62 | Line 68 | else
68    cp="cp -pPR"
69   fi
70  
71 < #export ROOTSYS=%i/root
71 > export ROOTSYS=%i/root
72   make INSTALL="$cp" INSTALLDATA="$cp" install
73   mkdir -p %i/root/lib/python
74   cp -r reflex/python/genreflex %i/root/lib/python
75 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines