1 |
< |
### RPM external xrootd 20071001-0000a-CMS19 |
2 |
< |
# Override default realversion since there is a "-" in the realversion |
3 |
< |
%define realversion 20071001-0000a |
4 |
< |
Source: http://xrootd.slac.stanford.edu/download/%{realversion}/%n-%{realversion}.src.tgz |
1 |
> |
### RPM external xrootd 20090727.1318 |
2 |
> |
Source: http://cmsrep.cern.ch//cmssw/xrootd_src/%n-%{realversion}.tar.gz |
3 |
> |
Patch0: xrootd-gcc44 |
4 |
|
Requires: openssl |
5 |
|
|
6 |
|
%prep |
7 |
< |
%setup -n xrootd |
7 |
> |
%setup -n %n-%{realversion} |
8 |
> |
%patch0 -p1 |
9 |
|
|
10 |
|
%build |
11 |
< |
./configure.classic --disable-krb4 --disable-krb5 --with-ssl-incdir=$OPENSSL_ROOT/include --with-ssl-libdir=$OPENSSL_ROOT/lib |
12 |
< |
make |
11 |
> |
./configure.classic --disable-krb4 --with-ssl-incdir=$OPENSSL_ROOT/include --with-ssl-libdir=$OPENSSL_ROOT/lib |
12 |
> |
# Workaround for the lack of a 32bit readline-devel rpm for SL4 |
13 |
> |
# Given that the 64bit readline-devel is there, the headers are there, |
14 |
> |
# the only thing missing is the libreadline.so symlink |
15 |
> |
case %cmsos in |
16 |
> |
slc4*ia32 ) |
17 |
> |
mkdir tmplib |
18 |
> |
ln -s /usr/lib/libreadline.so.4 tmplib/libreadline.so |
19 |
> |
make INCKRB5=-I/usr/include/et LIBKRB5=-lkrb5 LIBREADLINE="-L$PWD/tmplib -lreadline -lcurses" |
20 |
> |
;; |
21 |
> |
*) |
22 |
> |
make INCKRB5=-I/usr/include/et LIBKRB5=-lkrb5 LIBREADLINE="-lreadline -lcurses" |
23 |
> |
;; |
24 |
> |
esac |
25 |
> |
|
26 |
|
|
27 |
|
%install |
28 |
|
mkdir %i/bin |