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.18 by ratnik, Thu Jul 13 02:42:27 2006 UTC vs.
Revision 1.49 by sashby, Thu Dec 14 10:59:06 2006 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.11.06a
1 > ### RPM lcg root 5.13.04e
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
6 < Patch0: root-dcapfix
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   %prep
15   %setup -n root
9 %patch0
10
16   %build
17   mkdir -p %i
18   export ROOTSYS=%_builddir/root
19   CONFIG_ARGS="--enable-table
20 +             --disable-builtin-pcre
21 +             --disable-builtin-freetype
22 +             --disable-builtin-zlib
23               --with-gccxml=${GCCXML_ROOT}
24 <             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
24 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
25               --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
26 +             --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include
27               --enable-explicitlink
28 +             --enable-qtgsi
29               --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
30               --enable-mathcore
31 +             --enable-mathmore
32               --enable-reflex  
33               --enable-cintex
34               --enable-minuit2
35               --enable-roofit
36               --disable-ldap
37               --disable-krb5
38 <             --with-dcap-libdir=${DCAP_ROOT}/lib
38 >                 --with-dcap-libdir=${DCAP_ROOT}/lib
39               --with-dcap-incdir=${DCAP_ROOT}/include
40               --with-ssl-incdir=${OPENSSL_ROOT}/include
41               --with-ssl-libdir=${OPENSSL_ROOT}/lib
42 <             --with-shift-incdir=${CASTOR_ROOT}/include
42 >             --with-shift-incdir=${CASTOR_ROOT}/include/shift
43               --with-shift-libdir=${CASTOR_ROOT}/lib
44 +             --with-gsl-incdir=${GSL_ROOT}/include
45 +             --with-gsl-libdir=${GSL_ROOT}/lib
46               --disable-pgsql
47               --disable-xml"
48  
49   case $(uname)-$(uname -m) in
50    Linux-x86_64)
51 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
51 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;;
52    Linux*)
53      ./configure linux $CONFIG_ARGS;;
54    Darwin*)
55      ./configure macosx $CONFIG_ARGS;;
56   esac
57  
58 < make %makeprocesses
59 <
58 > make
59 > make cintdlls
60   %install
61   # Override installers if we are using GNU fileutils cp.  On OS X
62   # ROOT's INSTALL is defined to "cp -pPR", which only works with
# Line 60 | Line 73 | export ROOTSYS=%i/root
73   make INSTALL="$cp" INSTALLDATA="$cp" install
74   mkdir -p %i/root/lib/python
75   cp -r reflex/python/genreflex %i/root/lib/python
76 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines