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.24 by eulisse, Tue Jul 18 12:41:35 2006 UTC vs.
Revision 1.26 by elmer, Wed Jul 26 05:24:48 2006 UTC

# Line 2 | Line 2
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 oracle
5 > %define cpu %(echo %cmsplatf | cut -d_ -f2)
6 > Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle
7 >
8 > %if "%cpu" != "amd64"
9 > Requires: libtiff
10 > %endif
11 >
12   Patch: root-cint-bug
13   %prep
14   %setup -n root
9 %patch -p0
15   %build
16   mkdir -p %i
17   export ROOTSYS=%_builddir/root
18 < CONFIG_ARGS="--enable-table
18 > CONFIG_ARGS="--enable-table
19               --disable-builtin-pcre
20               --disable-builtin-freetype
21               --disable-builtin-zlib
22               --with-gccxml=${GCCXML_ROOT}
23               --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
24               --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
20             --with-dcap-libdir=${DCAP_ROOT}/lib --with-dcap-incdir=${DCAP_ROOT}/include
25               --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include
26               --enable-explicitlink
27               --enable-qtgsi
# Line 30 | Line 34 | CONFIG_ARGS="--enable-table
34               --enable-roofit
35               --disable-ldap
36               --disable-krb5
37 <                 --with-dcap-libdir=${DCAP_ROOT}/lib
37 >             --with-dcap-libdir=${DCAP_ROOT}/lib
38               --with-dcap-incdir=${DCAP_ROOT}/include
39               --with-ssl-incdir=${OPENSSL_ROOT}/include
40               --with-ssl-libdir=${OPENSSL_ROOT}/lib
41 <             --with-shift-incdir=${CASTOR_ROOT}/include
41 >             --with-shift-incdir=${CASTOR_ROOT}/include/shift
42               --with-shift-libdir=${CASTOR_ROOT}/lib
43               --disable-pgsql
44               --disable-xml"
45  
46   case $(uname)-$(uname -m) in
47    Linux-x86_64)
48 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
48 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
49    Linux*)
50      ./configure linux $CONFIG_ARGS;;
51    Darwin*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines