ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/xrootd.spec
(Generate patch)

Comparing COMP/CMSDIST/xrootd.spec (file contents):
Revision 1.7 by elmer, Sat Dec 1 13:32:55 2007 UTC vs.
Revision 1.24 by gowdy, Mon Sep 7 11:56:04 2009 UTC

# Line 1 | Line 1
1 < ### RPM external xrootd 20071001-0000a-CMS18b
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://project-arda-dev.web.cern.ch/project-arda-dev/xrootd/tarballs/base/%n-%{realversion}.tar.gz
3 > Patch0: xrootd-gcc44
4   Requires: openssl
5 + Requires: readline
6  
7   %prep
8 < %setup -n xrootd
8 > %setup -n %n-%{realversion}
9 > %patch0 -p1
10  
11   %build
12 < ./configure.classic --disable-krb4 --disable-krb5 --with-ssl-incdir=$OPENSSL_ROOT/include --with-ssl-libdir=$OPENSSL_ROOT/lib
13 < gmake
12 > ./configure.classic --disable-krb4 --with-ssl-incdir=$OPENSSL_ROOT/include --with-ssl-libdir=$OPENSSL_ROOT/lib
13 > make INCKRB5=-I/usr/include/et LIBKRB5=-lkrb5 LIBREADLINE="-L$READLINE_ROOT/lib -lreadline -lcurses"
14  
15   %install
16   mkdir %i/bin
# Line 19 | Line 20 | mkdir %i/utils
20   mkdir %i/src
21   cp -r bin/arch/* %i/bin
22   cp -r lib/arch/* %i/lib
23 + [ $(uname) = Darwin ] &&
24 +  for f in %i/lib/*.a; do
25 +    ranlib $f
26 +  done
27   cp -r utils/* %i/utils
28   cp -r etc/* %i/etc
29   cp -r src/* %i/src

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines