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.26 by elmer, Wed Jul 26 05:24:48 2006 UTC vs.
Revision 1.60 by elmer, Tue Jun 26 15:12:48 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines