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.97 by ratnik, Fri Feb 8 22:50:42 2008 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.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 > Patch0: root-5.18-00-libpng
8 > Patch1: root-5.18-00-CINT-maxlongline-maxtypedef
9 >
10 > #Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif
11 > Requires: gccxml python gsl libjpg libpng dcap pcre libtiff libungif zlib
12  
13   %prep
14   %setup -n root
15 + %patch0 -p1
16 + %patch1 -p1
17  
18   %build
19   mkdir -p %i
20 < export ROOTSYS=%i
21 < case $(uname) in
22 <  Linux)
23 <    ./configure linux ;;
24 <  Darwin)
25 <    ./configure macosx ;;
20 > export ROOTSYS=%_builddir/root
21 > CONFIG_ARGS="--enable-table
22 >             --disable-builtin-pcre
23 >             --disable-builtin-freetype
24 >             --disable-builtin-zlib
25 >             --disable-oracle
26 >             --disable-mysql
27 >             --disable-qtgsi
28 >             --disable-qt
29 >             --disable-rfio
30 >             --disable-castor
31 >             --disable-ldap
32 >             --disable-krb5
33 >             --disable-pgsql
34 >             --disable-xml
35 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
36 >             --enable-explicitlink
37 >             --enable-mathcore
38 >             --enable-mathmore
39 >             --enable-reflex  
40 >             --enable-cintex
41 >             --enable-minuit2
42 >             --enable-roofit
43 >             --with-gccxml=${GCCXML_ROOT}
44 >             --with-ssl-incdir=${OPENSSL_ROOT}/include
45 >             --with-ssl-libdir=${OPENSSL_ROOT}/lib
46 >             --with-gsl-incdir=${GSL_ROOT}/include
47 >             --with-gsl-libdir=${GSL_ROOT}/lib
48 >             --with-dcap-libdir=${DCAP_ROOT}/lib
49 >             --with-dcap-incdir=${DCAP_ROOT}/include"
50 >
51 > case $(uname)-$(uname -p) in
52 >  Linux-x86_64)
53 >    ./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff --disable-cern;;
54 >  Linux-i*86)
55 >    ./configure linux  $CONFIG_ARGS;;
56 >  Darwin*)
57 >    ./configure macosx $CONFIG_ARGS;;
58 >  Linux-ppc64*)
59 >    ./configure linux $CONFIG_ARGS;;
60   esac
17 make
61  
62 + make  %makeprocesses
63 + make cintdlls
64   %install
65   # Override installers if we are using GNU fileutils cp.  On OS X
66   # ROOT's INSTALL is defined to "cp -pPR", which only works with
# Line 30 | Line 75 | fi
75  
76   export ROOTSYS=%i
77   make INSTALL="$cp" INSTALLDATA="$cp" install
78 + mkdir -p $ROOTSYS/lib/python
79 + cp -r reflex/python/genreflex $ROOTSYS/lib/python
80 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines