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

Comparing COMP/CMSDIST/pkgtools.spec (file contents):
Revision 1.14 by eulisse, Wed Oct 11 13:42:22 2006 UTC vs.
Revision 1.19 by eulisse, Mon Jul 2 23:05:13 2007 UTC

# Line 1 | Line 1
1 < ### RPM cms pkgtools 1.0
2 < ## INITENV ALIAS cmsbuild %{i}/bin/install.sh -spec_dir ./inst-files
3 < ## INITENV ALIAS_SH cmsapt eval `%{i}/bin/aptinstaller.sh config -path %{instroot} -sh`
4 < ## INITENV ALIAS_CSH cmsapt eval `%{i}/bin/aptinstaller.sh config -path %{instroot} -csh`
5 < ## INITENV ALIAS updateAptRepository %{i}/bin/updateServer.sh
6 <
1 > ### RPM cms pkgtools 0.5.0
2   # This generates an rpm for aptinstaller, install.sh, etc. etc.
3 < Requires: cms-env
3 > Requires: cms-env apt
4   %define moduleName PKGTOOLS
5   %define exportName PKGTOOLS
6 < %define cvstag V00-04-03
6 > %define cvstag V00-05-00
7   %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
8   Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/PKGTOOLS.tar.gz
9  
# Line 18 | Line 13 | Source: %cvsserver&strategy=checkout&mod
13   %install
14   make PREFIX=%{i} install
15   mkdir -p %{instroot}/%{cmsplatf}/etc/profile.d
16 < ln -sf %{i}/etc/profile.d/init.sh  %{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.sh
17 < ln -sf %{i}/etc/profile.d/init.csh %{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.csh
18 < ln -sf %{i}/inst-files %{instroot}/inst-files
24 < %files
25 < %{i}
26 < %{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.sh
27 < %{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.csh
16 >
17 > echo source %instroot/external/apt/$APT_VERSION/etc/profile.d/init.sh >> %i/etc/profile.d/dependencies-setup.sh
18 > echo source %instroot/exteranl/apt/$APT_VERSION/etc/profile.d/init.csh >> %i/etc/profile.d/dependencies-setup.csh
19  
20   %post
21 < perl -p -i -e 's|(.*setenv.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.csh
22 < perl -p -i -e 's|(.*export.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh
32 < ln -sf $RPM_INSTALL_PREFIX/%{pkgrel}/etc/profile.d/init.sh  $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00pkgtools.sh
33 < ln -sf $RPM_INSTALL_PREFIX/%{pkgrel}/etc/profile.d/init.csh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00pkgtools.csh
21 > %{relocateConfig}/etc/profile.d/dependencies-setup.sh
22 > %{relocateConfig}/etc/profile.d/dependencies-setup.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines