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.58 by dlange, Mon May 14 02:55:39 2007 UTC vs.
Revision 1.62 by dlange, Tue Aug 28 14:42:32 2007 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00e-CMS1
1 > ### RPM lcg root 5.14.00g
2   ## INITENV +PATH PYTHONPATH %i/lib/python
3   ## INITENV SET ROOTSYS %i
4 < %define realVersion %(echo %v | cut -d- -f1)
5 < 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
6 < #Source: ftp://root.cern.ch/%n/%{n}_v%{realVersion}.source.tar.gz
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 <
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 libungif
# Line 18 | Line 21 | Requires: libtiff
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
# Line 40 | Line 47 | CONFIG_ARGS="--enable-table
47               --enable-roofit
48               --disable-ldap
49               --disable-krb5
43                 --with-dcap-libdir=${DCAP_ROOT}/lib
44             --with-dcap-incdir=${DCAP_ROOT}/include
50               --with-ssl-incdir=${OPENSSL_ROOT}/include
51               --with-ssl-libdir=${OPENSSL_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 -p) in
60    Linux-x86_64)
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;;
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*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines