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.6 by eulisse, Fri Apr 14 20:38:07 2006 UTC vs.
Revision 1.95 by ratnik, Thu Jan 24 21:23:08 2008 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.10.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
6 < Patch0: root
1 > ### RPM lcg root 5.18.00-lite
2 > ## INITENV +PATH PYTHONPATH %i/lib/python
3 > ## INITENV SET ROOTSYS %i
4 >
5 > Source: ftp://root.cern.ch/%n/%{n}_v%{realversion}.source.tar.gz
6 >
7 > #Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif
8 > Requires: gccxml python qt gsl libjpg libpng dcap pcre libtiff libungif zlib
9 >
10   %prep
11   %setup -n root
9 %patch0
12  
13   %build
14   mkdir -p %i
15 < export ROOTSYS=%i
15 > export ROOTSYS=%_builddir/root
16   CONFIG_ARGS="--enable-table
17 <             --with-gccxml=${GCCXML_ROOT}
18 <             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
17 >             --disable-builtin-pcre
18 >             --disable-builtin-freetype
19 >             --disable-builtin-zlib
20 >             --disable-oracle
21 >             --disable-mysql
22 >             --disable-qtgsi
23 >             --disable-qt
24 >             --disable-rfio
25 >             --disable-castor
26 >             --disable-ldap
27 >             --disable-krb5
28 >             --disable-pgsql
29 >             --disable-xml
30 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
31               --enable-explicitlink
18             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
32               --enable-mathcore
33 +             --enable-mathmore
34               --enable-reflex  
35               --enable-cintex
36               --enable-minuit2
37 <             --enable-roofit"
37 >             --enable-roofit
38 >             --with-gccxml=${GCCXML_ROOT}
39 >             --with-ssl-incdir=${OPENSSL_ROOT}/include
40 >             --with-ssl-libdir=${OPENSSL_ROOT}/lib
41 >             --with-gsl-incdir=${GSL_ROOT}/include
42 >             --with-gsl-libdir=${GSL_ROOT}/lib
43 >             --with-dcap-libdir=${DCAP_ROOT}/lib
44 >             --with-dcap-incdir=${DCAP_ROOT}/include"
45  
46 < case $(uname)-$(uname -m) in
46 > case $(uname)-$(uname -p) in
47    Linux-x86_64)
48 <    ./configure linuxx8664gcc $CONFIG_ARGS;;
49 <  Linux*)
50 <    ./configure linux $CONFIG_ARGS;;
51 <  Darwin)
48 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff --disable-cern;;
49 >  Linux-i*86)
50 >    ./configure linux  $CONFIG_ARGS;;
51 >  Darwin*)
52      ./configure macosx $CONFIG_ARGS;;
53 +  Linux-ppc64*)
54 +    ./configure linux $CONFIG_ARGS;;
55   esac
56  
57 < make %makeprocesses
58 <
57 > make  %makeprocesses
58 > make cintdlls
59   %install
60   # Override installers if we are using GNU fileutils cp.  On OS X
61   # ROOT's INSTALL is defined to "cp -pPR", which only works with
# Line 45 | Line 68 | else
68    cp="cp -pPR"
69   fi
70  
71 < export ROOTSYS=%i/root
71 > export ROOTSYS=%i
72   make INSTALL="$cp" INSTALLDATA="$cp" install
73 < mkdir -p %i/lib/python
74 < cp -r reflex/python/genreflex %i/root/lib/python
73 > mkdir -p $ROOTSYS/lib/python
74 > cp -r reflex/python/genreflex $ROOTSYS/lib/python
75 > #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines