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.51 by sashby, Fri Feb 9 13:07:49 2007 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.12.00
1 > ### RPM lcg root 5.14.00b-pCMS1
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
6 < Patch: root-cint-bug
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 >
7 > Patch: root-CINT-maxtypedef
8 >
9 > %define cpu %(echo %cmsplatf | cut -d_ -f2)
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 >
17   %prep
18   %setup -n root
19   %patch -p0
20 +
21   %build
22   mkdir -p %i
23   export ROOTSYS=%_builddir/root
24 < CONFIG_ARGS="--enable-table
24 > CONFIG_ARGS="--enable-table
25               --disable-builtin-pcre
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
31 <             --with-dcap-libdir=${DCAP_ROOT}/lib
21 <             --with-dcap-incdir=${DCAP_ROOT}/include
31 >             --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include
32               --enable-explicitlink
33               --enable-qtgsi
34               --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
# Line 34 | Line 44 | CONFIG_ARGS="--enable-table
44               --with-dcap-incdir=${DCAP_ROOT}/include
45               --with-ssl-incdir=${OPENSSL_ROOT}/include
46               --with-ssl-libdir=${OPENSSL_ROOT}/lib
47 <             --with-shift-incdir=${CASTOR_ROOT}/include
47 >             --with-shift-incdir=${CASTOR_ROOT}/include/shift
48               --with-shift-libdir=${CASTOR_ROOT}/lib
49 +             --with-gsl-incdir=${GSL_ROOT}/include
50 +             --with-gsl-libdir=${GSL_ROOT}/lib
51               --disable-pgsql
52               --disable-xml"
53  
54   case $(uname)-$(uname -m) in
55    Linux-x86_64)
56 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
56 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
57    Linux*)
58      ./configure linux $CONFIG_ARGS;;
59    Darwin*)
# Line 62 | Line 74 | else
74    cp="cp -pPR"
75   fi
76  
77 < #export ROOTSYS=%i/root
77 > export ROOTSYS=%i/root
78   make INSTALL="$cp" INSTALLDATA="$cp" install
79   mkdir -p %i/root/lib/python
80   cp -r reflex/python/genreflex %i/root/lib/python
81 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines