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.35 by eulisse, Tue Aug 22 15:30:51 2006 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.12.00
1 > ### RPM lcg root 5.12.00c
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 +             --with-gsl-incdir=${GSL_ROOT}/include
46 +             --with-gsl-libdir=${GSL_ROOT}/lib
47               --disable-pgsql
48               --disable-xml"
49  
50   case $(uname)-$(uname -m) in
51    Linux-x86_64)
52 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
52 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
53    Linux*)
54      ./configure linux $CONFIG_ARGS;;
55    Darwin*)
# Line 62 | Line 70 | else
70    cp="cp -pPR"
71   fi
72  
73 < #export ROOTSYS=%i/root
73 > export ROOTSYS=%i/root
74   make INSTALL="$cp" INSTALLDATA="$cp" install
75   mkdir -p %i/root/lib/python
76   cp -r reflex/python/genreflex %i/root/lib/python
77 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines