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.83 by ratnik, Tue Dec 4 18:34:53 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
5 < Requires: gccxml python qt gsl castor openssl mysql libpng libjpg libtiff dcap pcre zlib
6 < Patch: root-cint-bug
1 > ### RPM lcg root 5.17.06-for168
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 > #Patch1: root_libpng
9 > #Patch2: root-Cintex
10 >
11 > %define cpu %(echo %cmsplatf | cut -d_ -f2)
12 > %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
13 > Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif
14 >
15 > %if "%cpu" != "amd64"
16 > Requires: libtiff
17 > %endif
18 >
19   %prep
20   %setup -n root
21 < %patch -p0
21 > #%patch -p0
22 > #%patch1 -p2
23 > #%patch2 -p1
24 >
25   %build
26   mkdir -p %i
27   export ROOTSYS=%_builddir/root
28 < CONFIG_ARGS="--enable-table
28 > CONFIG_ARGS="--enable-table
29               --disable-builtin-pcre
30               --disable-builtin-freetype
31               --disable-builtin-zlib
32               --with-gccxml=${GCCXML_ROOT}
33 <             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
33 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
34               --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
20             --with-dcap-libdir=${DCAP_ROOT}/lib
21             --with-dcap-incdir=${DCAP_ROOT}/include
35               --enable-explicitlink
36               --enable-qtgsi
37               --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
# Line 30 | Line 43 | CONFIG_ARGS="--enable-table
43               --enable-roofit
44               --disable-ldap
45               --disable-krb5
33                 --with-dcap-libdir=${DCAP_ROOT}/lib
34             --with-dcap-incdir=${DCAP_ROOT}/include
46               --with-ssl-incdir=${OPENSSL_ROOT}/include
47               --with-ssl-libdir=${OPENSSL_ROOT}/lib
48 <             --with-shift-incdir=${CASTOR_ROOT}/include
49 <             --with-shift-libdir=${CASTOR_ROOT}/lib
48 >             --with-gsl-incdir=${GSL_ROOT}/include
49 >             --with-gsl-libdir=${GSL_ROOT}/lib
50 >             --with-dcap-libdir=${DCAP_ROOT}/lib
51 >             --with-dcap-incdir=${DCAP_ROOT}/include
52               --disable-pgsql
53               --disable-xml"
54  
55 < case $(uname)-$(uname -m) in
55 > case $(uname)-$(uname -p) in
56    Linux-x86_64)
57 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
58 <  Linux*)
59 <    ./configure linux $CONFIG_ARGS;;
57 >    ./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 --disable-cern;;
58 >  Linux-i*86)
59 >    ./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;;
60    Darwin*)
61 <    ./configure macosx $CONFIG_ARGS;;
61 >    ./configure macosx $CONFIG_ARGS --disable-rfio;;
62 >  Linux-ppc64*)
63 >    ./configure linux $CONFIG_ARGS --disable-rfio;;
64   esac
65  
66 < make
66 > make  %makeprocesses
67   make cintdlls
68   %install
69   # Override installers if we are using GNU fileutils cp.  On OS X
# Line 62 | Line 77 | else
77    cp="cp -pPR"
78   fi
79  
80 < #export ROOTSYS=%i/root
80 > export ROOTSYS=%i
81   make INSTALL="$cp" INSTALLDATA="$cp" install
82 < mkdir -p %i/root/lib/python
83 < cp -r reflex/python/genreflex %i/root/lib/python
82 > mkdir -p $ROOTSYS/lib/python
83 > cp -r reflex/python/genreflex $ROOTSYS/lib/python
84 > #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines