ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dbs-libs.spec
Revision: 1.6
Committed: Fri Oct 31 15:49:47 2008 UTC (16 years, 5 months ago) by valya
Branch: MAIN
CVS Tags: MotT0_1_0_2, MotT0_1_0_1, MotT0_1_0_0, MotT0_100531_1, MotT0_100528_1, T0Mon_100518_1, T0Mon_100503_1, T0Mon_100316_1, T0Mon_100308_2, T0Mon_100308_1, T0Mon_100216_1, T0Mon_100210_1, T0Mon_100204_4, T0Mon_100204_3, T0Mon_100204_1, T0Mon_100127_1, T0Mon_091111_1, T0Mon_090828_1, T0Mon_090822_1, T0Mon_090715_1, T0Mon_090612_1, T0Mon_090611_1, T0Mon_090610_1, T0Mon_090601_1, T0Mon_090527_2, T0Mon_090527_1, T0Mon_090522_1, T0Mon_090519_2, T0Mon_090519_1, T0Mon_090517_1, T0Mon_090516_1, T0Mon_090515_4, T0Mon_090515_3, T0Mon_090515_2, T0Mon_090515_1, T0Mon_090510_1, T0Mon_090406_1, T0Mon_090326_1, T0Mon_090325_1, T0Mon_090318_1, T0Mon_090315_1, T0Mon_090303_1, DBS-APPS_20081110_1, WEBTOOLS-APPS_20081110, DBS-APPS_20081110, WEBTOOLS-APPS_20081107_1, WEBTOOLS-APPS_20081107, DBS-APPS_20081107, T0Mon_081107_1, DBS-APPS_20081105, T0Mon_081105_1, DBS-APPS_20081104, WEBTOOLS-APPS_20081031_2, DBS-APPS_20081031_2, DBS-APPS_20081031_1, WEBTOOLS-APPS_20081031_1
Changes since 1.5: +1 -1 lines
Log Message:
New tag for DBS

File Contents

# User Rev Content
1 valya 1.6 ### RPM cms dbs-libs DBS_2_0_3
2 valya 1.1 ## INITENV +PATH PYTHONPATH %i/lib/
3    
4     %define cvstag %{realversion}
5     %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
6 valya 1.4 Source: %cvsserver&strategy=checkout&module=DBS/LibValut&nocache=true&export=DBS&tag=-r%{cvstag}&output=/dbs-libs.tar.gz
7 valya 1.1
8     %prep
9     %setup -n DBS
10     %build
11     (make DBSHOME=%_builddir/DBS/LibValut )
12    
13     %install
14     mkdir -p %{i}/bin
15     mkdir -p %{i}/lib
16     mkdir -p %{i}/etc/profile.d
17     cp -r LibValut/* %{i}/lib/
18    
19     (echo "#!/bin/sh"; \
20     ) > %{i}/etc/profile.d/dependencies-setup.sh
21    
22     (echo "#!/bin/tcsh"; \
23     ) > %{i}/etc/profile.d/dependencies-setup.csh
24    
25     # SCRAM ToolBox toolfile
26     mkdir -p %i/etc/scram.d
27     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
28     <doc type=BuildSystem::ToolDoc version=1.0>
29     <Tool name=dbs-client version=%v>
30     <client>
31     <Environment name=DBS_LIBS_BASE default="%i"></Environment>
32     </client>
33     <Runtime name=PATH value="$DBS_LIBS_BASE/bin" type=path>
34     </Tool>
35     EOF_TOOLFILE
36    
37     %post
38     %{relocateConfig}etc/profile.d/dependencies-setup.sh
39     %{relocateConfig}etc/profile.d/dependencies-setup.csh
40     %{relocateConfig}etc/scram.d/%n