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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines