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.8 by eulisse, Wed May 3 07:29:12 2006 UTC vs.
Revision 1.35 by eulisse, Tue Aug 22 15:30:51 2006 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines