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.35 by eulisse, Tue Aug 22 15:30:51 2006 UTC vs.
Revision 1.62 by dlange, Tue Aug 28 14:42:32 2007 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.12.00c
2 < # INITENV +PATH PYTHONPATH %i/lib/python
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
1 > ### RPM lcg root 5.14.00g
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_PositionVector
10 > Patch3: root-fastmerge-ttree
11 > Patch4: root_TXMLSetup
12 >
13   %define cpu %(echo %cmsplatf | cut -d_ -f2)
14   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
15 < Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle
15 > Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif
16  
17   %if "%cpu" != "amd64"
18   Requires: libtiff
19   %endif
20  
14 Patch: root-cint-bug
21   %prep
22   %setup -n root
23 + %patch -p0
24 + %patch1 -p2
25 + %patch2 -p2
26 + %patch3 -p1
27 + %patch4 -p0
28 +
29   %build
30   mkdir -p %i
31   export ROOTSYS=%_builddir/root
# Line 24 | Line 36 | CONFIG_ARGS="--enable-table
36               --with-gccxml=${GCCXML_ROOT}
37               --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
38               --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
27             --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include
39               --enable-explicitlink
40               --enable-qtgsi
41               --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
# Line 36 | Line 47 | CONFIG_ARGS="--enable-table
47               --enable-roofit
48               --disable-ldap
49               --disable-krb5
39                 --with-dcap-libdir=${DCAP_ROOT}/lib
40             --with-dcap-incdir=${DCAP_ROOT}/include
50               --with-ssl-incdir=${OPENSSL_ROOT}/include
51               --with-ssl-libdir=${OPENSSL_ROOT}/lib
43             --with-shift-incdir=${CASTOR_ROOT}/include/shift
44             --with-shift-libdir=${CASTOR_ROOT}/lib
52               --with-gsl-incdir=${GSL_ROOT}/include
53               --with-gsl-libdir=${GSL_ROOT}/lib
54 +             --with-dcap-libdir=${DCAP_ROOT}/lib
55 +             --with-dcap-incdir=${DCAP_ROOT}/include
56               --disable-pgsql
57               --disable-xml"
58  
59 < case $(uname)-$(uname -m) in
59 > case $(uname)-$(uname -p) in
60    Linux-x86_64)
61 <    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
62 <  Linux*)
63 <    ./configure linux $CONFIG_ARGS;;
61 >    ./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;;
62 >  Linux-i*86)
63 >    ./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;;
64    Darwin*)
65 <    ./configure macosx $CONFIG_ARGS;;
65 >    ./configure macosx $CONFIG_ARGS --disable-rfio;;
66 >  Linux-ppc64*)
67 >    ./configure linux $CONFIG_ARGS --disable-rfio;;
68   esac
69  
70 < make
70 > make  %makeprocesses
71   make cintdlls
72   %install
73   # Override installers if we are using GNU fileutils cp.  On OS X
# Line 70 | Line 81 | else
81    cp="cp -pPR"
82   fi
83  
84 < export ROOTSYS=%i/root
84 > export ROOTSYS=%i
85   make INSTALL="$cp" INSTALLDATA="$cp" install
86 < mkdir -p %i/root/lib/python
87 < cp -r reflex/python/genreflex %i/root/lib/python
86 > mkdir -p $ROOTSYS/lib/python
87 > cp -r reflex/python/genreflex $ROOTSYS/lib/python
88   #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines