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.1 by eulisse, Tue Feb 21 08:09:59 2006 UTC vs.
Revision 1.40 by ratnik, Wed Nov 8 03:01:54 2006 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.08.00
2 < # 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
3 < Source: ftp://root.cern.ch/%n/%{n}_v%{v}.source.tar.gz
1 > ### RPM lcg root 5.13.04a
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
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 dcache-client 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
7
17   %build
18   mkdir -p %i
19 < export ROOTSYS=%i
20 < case $(uname) in
21 <  Linux)
22 <    ./configure linux ;;
23 <  Darwin)
24 <    ./configure macosx ;;
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/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=${DCACHE_CLIENT_ROOT}/lib
40 >             --with-dcap-incdir=${DCACHE_CLIENT_ROOT}/include
41 >             --with-ssl-incdir=${OPENSSL_ROOT}/include
42 >             --with-ssl-libdir=${OPENSSL_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 --disable-astiff;;
53 >  Linux*)
54 >    ./configure linux $CONFIG_ARGS;;
55 >  Darwin*)
56 >    ./configure macosx $CONFIG_ARGS;;
57   esac
17 make
58  
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 28 | Line 70 | else
70    cp="cp -pPR"
71   fi
72  
73 < export ROOTSYS=%i
73 > 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