122 |
|
--disable-oracle |
123 |
|
--disable-xml ${EXTRA_CONFIG_ARGS}" |
124 |
|
|
125 |
< |
case $(uname)-$(uname -m) in |
126 |
< |
Linux-x86_64) |
125 |
> |
case %cmsos in |
126 |
> |
slc*_amd64) |
127 |
|
./configure linuxx8664gcc $CONFIG_ARGS --with-rfio-libdir=${CASTOR_ROOT}/lib --with-rfio-incdir=${CASTOR_ROOT}/include/shift --with-castor-libdir=${CASTOR_ROOT}/lib --with-castor-incdir=${CASTOR_ROOT}/include/shift ;; |
128 |
< |
Linux-i*86) |
128 |
> |
slc*_ia32) |
129 |
|
./configure linux $CONFIG_ARGS --with-rfio-libdir=${CASTOR_ROOT}/lib --with-rfio-incdir=${CASTOR_ROOT}/include/shift --with-castor-libdir=${CASTOR_ROOT}/lib --with-castor-incdir=${CASTOR_ROOT}/include/shift ;; |
130 |
< |
Darwin*) |
130 |
> |
osx*) |
131 |
|
case %cmsplatf in |
132 |
|
*_ia32_* ) |
133 |
|
comparch=i386 |
142 |
|
macconfig=macosx |
143 |
|
;; |
144 |
|
esac |
145 |
< |
export CC="gcc -arch $comparch" CXX="g++ -arch $comparch" |
146 |
< |
./configure $macconfig $CONFIG_ARGS --with-cc="$CC" --with-cxx="$CXX" --disable-rfio --disable-builtin_afterimage ;; |
147 |
< |
Linux-ppc64*) |
145 |
> |
export CC=`which gcc` CXX=`which g++` |
146 |
> |
./configure $arch $CONFIG_ARGS --with-cc="$CC" --with-cxx="$CXX" --disable-rfio --disable-builtin_afterimage ;; |
147 |
> |
slc*_ppc64*) |
148 |
|
./configure linux $CONFIG_ARGS --disable-rfio;; |
149 |
|
esac |
150 |
|
|
156 |
|
makeopts="%makeprocesses" |
157 |
|
;; |
158 |
|
esac |
159 |
< |
|
160 |
< |
make $makeopts |
159 |
> |
|
160 |
> |
make $makeopts |
161 |
|
make cintdlls |
162 |
|
|
163 |
|
%install |
176 |
|
make INSTALL="$cp" INSTALLDATA="$cp" install |
177 |
|
mkdir -p $ROOTSYS/lib/python |
178 |
|
cp -r cint/reflex/python/genreflex $ROOTSYS/lib/python |
179 |
+ |
# This file confuses rpm's find-requires because it starts with |
180 |
+ |
# a """ and it thinks is the shebang. |
181 |
+ |
rm -f %i/tutorials/pyroot/mrt.py |
182 |
|
|
183 |
|
# SCRAM ToolBox toolfile |
184 |
|
mkdir -p %i/etc/scram.d |