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.22 by eulisse, Fri Jul 14 17:26:51 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
4 <
1 > ### RPM lcg root 5.12.00
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 pcre zlib
6 > Patch: root-cint-bug
7   %prep
8   %setup -n root
9 <
9 > %patch -p0
10   %build
11   mkdir -p %i
12 < export ROOTSYS=%i
13 < case $(uname) in
14 <  Linux)
15 <    ./configure linux ;;
16 <  Darwin)
17 <    ./configure macosx ;;
12 > export ROOTSYS=%_builddir/root
13 > CONFIG_ARGS="--enable-table
14 >             --disable-builtin-pcre
15 >             --disable-builtin-freetype
16 >             --disable-builtin-zlib
17 >             --with-gccxml=${GCCXML_ROOT}
18 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
19 >             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
20 >             --with-dcap-libdir=${DCAP_ROOT}/lib
21 >             --with-dcap-incdir=${DCAP_ROOT}/include
22 >             --enable-explicitlink
23 >             --enable-qtgsi
24 >             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
25 >             --enable-mathcore
26 >             --enable-mathmore
27 >             --enable-reflex  
28 >             --enable-cintex
29 >             --enable-minuit2
30 >             --enable-roofit
31 >             --disable-ldap
32 >             --disable-krb5
33 >                 --with-dcap-libdir=${DCAP_ROOT}/lib
34 >             --with-dcap-incdir=${DCAP_ROOT}/include
35 >             --with-ssl-incdir=${OPENSSL_ROOT}/include
36 >             --with-ssl-libdir=${OPENSSL_ROOT}/lib
37 >             --with-shift-incdir=${CASTOR_ROOT}/include
38 >             --with-shift-libdir=${CASTOR_ROOT}/lib
39 >             --disable-pgsql
40 >             --disable-xml"
41 >
42 > case $(uname)-$(uname -m) in
43 >  Linux-x86_64)
44 >    ./configure linuxx8664gcc $CONFIG_ARGS;;
45 >  Linux*)
46 >    ./configure linux $CONFIG_ARGS;;
47 >  Darwin*)
48 >    ./configure macosx $CONFIG_ARGS;;
49   esac
17 make
50  
51 + make
52 + make cintdlls
53   %install
54   # Override installers if we are using GNU fileutils cp.  On OS X
55   # ROOT's INSTALL is defined to "cp -pPR", which only works with
# Line 28 | Line 62 | else
62    cp="cp -pPR"
63   fi
64  
65 < export ROOTSYS=%i
65 > #export ROOTSYS=%i/root
66   make INSTALL="$cp" INSTALLDATA="$cp" install
67 + mkdir -p %i/root/lib/python
68 + cp -r reflex/python/genreflex %i/root/lib/python

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines