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.21 by eulisse, Fri Jul 14 13:22:46 2006 UTC vs.
Revision 1.45 by sashby, Thu Nov 30 16:02:55 2006 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.12.00
1 > ### RPM lcg root 5.13.04c-p1
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 > Patch1: cintex_5.13.04e
16 >
17   %prep
18   %setup -n root
8
19   %build
20   mkdir -p %i
21   export ROOTSYS=%_builddir/root
22 < CONFIG_ARGS="--enable-table
22 > CONFIG_ARGS="--enable-table
23               --disable-builtin-pcre
24               --disable-builtin-freetype
25               --disable-builtin-zlib
26               --with-gccxml=${GCCXML_ROOT}
27 <             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
27 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
28               --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
29 <             --with-dcap-libdir=${DCAP_ROOT}/lib
20 <             --with-dcap-incdir=${DCAP_ROOT}/include
29 >             --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include
30               --enable-explicitlink
31               --enable-qtgsi
32               --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
# Line 33 | Line 42 | CONFIG_ARGS="--enable-table
42               --with-dcap-incdir=${DCAP_ROOT}/include
43               --with-ssl-incdir=${OPENSSL_ROOT}/include
44               --with-ssl-libdir=${OPENSSL_ROOT}/lib
45 <             --with-shift-incdir=${CASTOR_ROOT}/include
45 >             --with-shift-incdir=${CASTOR_ROOT}/include/shift
46               --with-shift-libdir=${CASTOR_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
53    Linux-x86_64)
54 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
54 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
55    Linux*)
56      ./configure linux $CONFIG_ARGS;;
57    Darwin*)
# Line 65 | Line 76 | export ROOTSYS=%i/root
76   make INSTALL="$cp" INSTALLDATA="$cp" install
77   mkdir -p %i/root/lib/python
78   cp -r reflex/python/genreflex %i/root/lib/python
79 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines