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.16 by eulisse, Mon Jun 26 12:26:25 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.11.06a
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
6 > #Patch0: root
7   %prep
8   %setup -n root
9 + #%patch0
10  
11   %build
12   mkdir -p %i
13 < export ROOTSYS=%i
14 < case $(uname) in
15 <  Linux)
16 <    ./configure linux ;;
17 <  Darwin)
18 <    ./configure macosx ;;
13 > export ROOTSYS=%_builddir/root
14 > CONFIG_ARGS="--enable-table
15 >             --with-gccxml=${GCCXML_ROOT}
16 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include
17 >             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
18 >             --enable-explicitlink
19 >             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
20 >             --enable-mathcore
21 >             --enable-reflex  
22 >             --enable-cintex
23 >             --enable-minuit2
24 >             --enable-roofit
25 >             --disable-ldap
26 >             --disable-krb5
27 >             --with-ssl-incdir=${OPENSSL_ROOT}/include
28 >             --with-ssl-libdir=${OPENSSL_ROOT}/lib
29 >             --with-shift-incdir=${CASTOR_ROOT}/include
30 >             --with-shift-libdir=${CASTOR_ROOT}/lib
31 >             --disable-pgsql
32 >             --disable-xml"
33 >
34 > case $(uname)-$(uname -m) in
35 >  Linux-x86_64)
36 >    ./configure linuxx8664gcc $CONFIG_ARGS;;
37 >  Linux*)
38 >    ./configure linux $CONFIG_ARGS;;
39 >  Darwin*)
40 >    ./configure macosx $CONFIG_ARGS;;
41   esac
42 < make
42 >
43 > make %makeprocesses
44  
45   %install
46   # Override installers if we are using GNU fileutils cp.  On OS X
# Line 28 | Line 54 | else
54    cp="cp -pPR"
55   fi
56  
57 < export ROOTSYS=%i
57 > export ROOTSYS=%i/root
58   make INSTALL="$cp" INSTALLDATA="$cp" install
59 + mkdir -p %i/root/lib/python
60 + cp -r reflex/python/genreflex %i/root/lib/python

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines