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.5 by eulisse, Tue Apr 11 14:52:58 2006 UTC vs.
Revision 1.65 by elmer, Fri Sep 21 21:20:53 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines