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.2 by elmer, Mon Oct 15 01:31:17 2007 UTC vs.
Revision 1.9 by elmer, Tue Jan 1 08:22:50 2008 UTC

# Line 1 | Line 1
1 < ### RPM external xrootd 20070321-1251p1
2 < Source: http://xrootd.slac.stanford.edu/download/%v/%n-%v.src.tgz
3 < #
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
5 > Requires: openssl
6  
7   %prep
8   %setup -n xrootd
9  
10   %build
11 < ./configure.classic
11 > ./configure.classic --disable-krb4 --disable-krb5 --with-ssl-incdir=$OPENSSL_ROOT/include --with-ssl-libdir=$OPENSSL_ROOT/lib
12   gmake
13  
14   %install
# Line 17 | Line 19 | mkdir %i/utils
19   mkdir %i/src
20   cp -r bin/arch/* %i/bin
21   cp -r lib/arch/* %i/lib
22 + [ $(uname) = Darwin ] &&
23 +  for f in %i/lib/*.a; do
24 +    ranlib $f
25 +  done
26   cp -r utils/* %i/utils
27   cp -r etc/* %i/etc
28   cp -r src/* %i/src
# Line 43 | Line 49 | perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bi
49   perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' %i/src/XrdMon/xrdmonLoadMySQL.pl
50   perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' %i/src/XrdMon/xrdmonPrepareStats.pl
51  
52 + # SCRAM ToolBox toolfile
53 + mkdir -p %i/etc/scram.d
54 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
55 + <doc type=BuildSystem::ToolDoc version=1.0>
56 + <Tool name=%n version=%v>
57 + <lib name=XrdClient>
58 + <lib name=XrdOuc>
59 + <lib name=XrdNet>
60 + <lib name=XrdSys>
61 + <client>
62 + <Environment name=XROOTD_BASE default="%i"></Environment>
63 + <Environment name=INCLUDE default="$XROOTD_BASE/src"></Environment>
64 + <Environment name=LIBDIR  default="$XROOTD_BASE/lib"></Environment>
65 + </client>
66 + <Runtime name=PATH value="$XROOTD_BASE/bin" type=path>
67 + <Runtime name=LD_LIBRARY_PATH value="$XROOTD_BASE/lib" type=path>
68 + </Tool>
69 + EOF_TOOLFILE
70 +
71   %post
72 + %{relocateConfig}etc/scram.d/%n
73  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines