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

Comparing COMP/CMSDIST/SCRAMV1.spec (file contents):
Revision 1.2 by eulisse, Wed Feb 22 13:32:28 2006 UTC vs.
Revision 1.4 by eulisse, Mon Mar 13 11:06:50 2006 UTC

# Line 1 | Line 1
1 < ### RPM lcg SCRAM V1_0_2
1 > ### RPM lcg SCRAMV1 V1_0_2
2   ## INITENV +PATH PATH %instroot/bin
3 <
3 > ## INITENV SET SCRAM_ARCH %{cmsplatf}
4 > Requires: perl p5-template-toolkit p5-uri p5-xml-parser p5-libwww-perl
5   # This package is somewhat unusual compared to other packages we
6   # build: we install the normally versioned product "SCRAM", but also
7   # create the front-end "scram" wrapper and the package database.  The
# Line 41 | Line 42 | tar -cf - . | tar -C %i -xvvf -
42  
43   mkdir -p %instroot/bin %instroot/share/scramdb %i/Installation
44  
45 < cat Installation/scram.pl.in | sed -e "s|@PERLEXE@|!/usr/bin/env perl|;s|@SCRAM_HOME@|%i|;s|@INSTALLDIR@|%i/src|" > %instroot/bin/scramv1
46 < cat Installation/SCRAM_SITE.pm.in | sed -e "s|@SCRAM_HOME@|%i|;s|@SCRAM_LOOKUPDB_DIR@|%instroot/share/scramdb/|;s|@PERLEXE@|/usr/bin/env perl|;s|@TT2INSTALLDIR@||;s|@SITETEMPLATEDIR@|%i/Templates|;s|@SCRAM_SITENAME@|STANDALONE|" > %i/src/SCRAM_SITE.pm
45 > cat Installation/scram.pl.in | sed -e "s|@PERLEXE@|$PERL_ROOT/bin/perl|;s|@SCRAM_HOME@|%i|;s|@INSTALLDIR@|%i/src|" > %instroot/bin/scramv1
46 > cat Installation/SCRAM_SITE.pm.in | sed -e "s|@SCRAM_HOME@|%i|;s|@SCRAM_LOOKUPDB_DIR@|%instroot/share/scramdb/|;s|@PERLEXE@|$PERL_ROOT/bin/perl|;s|@TT2INSTALLDIR@|$TEMPLATE_TOOLKIT_ROOT/lib|;s|@SITETEMPLATEDIR@|%i/Templates|;s|@SCRAM_SITENAME@|STANDALONE|" > %i/Installation/SCRAM_SITE.pm
47  
48   # cat > %instroot/bin/scramv1 << \EOF
49   # #!/bin/sh
# Line 65 | Line 66 | cat Installation/SCRAM_SITE.pm.in | sed
66   # exec perl "$SCRAM_HOME/src/scramcli" ${1+"$@"}
67   # EOF
68   chmod 755 %instroot/bin/scramv1
69 <
69 > mkdir %i/etc
70 > echo $PERL5LIB > %i/etc/perl5lib.env
71   %files
72   %i
73   %instroot/bin/scramv1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines