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.3 by elmer, Sat Nov 3 02:14:03 2007 UTC vs.
Revision 1.5 by elmer, Thu Nov 22 01:02:27 2007 UTC

# Line 1 | Line 1
1 < ### RPM external xrootd 20070321-1251p1-CMS18
1 > ### RPM external xrootd 20071001-0000a-CMS18
2   # Override default realversion since there is a "-" in the realversion
3 < %define realversion 20070321-1251p1
3 > %define realversion 20071001-0000a
4   Source: http://xrootd.slac.stanford.edu/download/%{realversion}/%n-%{realversion}.src.tgz
5 < #
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 45 | Line 45 | perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bi
45   perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' %i/src/XrdMon/xrdmonLoadMySQL.pl
46   perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' %i/src/XrdMon/xrdmonPrepareStats.pl
47  
48 + # SCRAM ToolBox toolfile
49 + mkdir -p %i/etc/scram.d
50 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
51 + <doc type=BuildSystem::ToolDoc version=1.0>
52 + <Tool name=%n version=%v>
53 + <lib name=XrdClient>
54 + <lib name=XrdOuc>
55 + <lib name=XrdNet>
56 + <lib name=XrdSys>
57 + <client>
58 + <Environment name=XROOTD_BASE default="%i"></Environment>
59 + <Environment name=INCLUDE default="$XROOTD_BASE/src"></Environment>
60 + <Environment name=LIBDIR  default="$XROOTD_BASE/lib"></Environment>
61 + </client>
62 + <Runtime name=PATH value="$XROOTD_BASE/bin" type=path>
63 + <Runtime name=LD_LIBRARY_PATH value="$XROOTD_BASE/lib" type=path>
64 + </Tool>
65 + EOF_TOOLFILE
66 +
67   %post
68  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines