Revision: | 1.2 |
Committed: | Wed Jun 4 16:18:53 2008 UTC (16 years, 11 months ago) by valya |
Branch: | MAIN |
CVS Tags: | forFrontend-3, forPHEDEX-web-services-20090423, forPHEDEX-web-services-20090406, forPHEDEX313a, forPHEDEX313, forPHEDEX-web-services-20090216, forPHEDEX312, forPHEDEX311, forPHEDEX310, forPHEDEX310pre2, forPHEDEX-web-services-20081205, forPHEDEX310pre1, ofctest, forPHEDEX307, forFrontend-2, forPHEDEX-web-services-20081008, forPHEDEX-web-services-20081007, forPHEDEX-web302_test1, forPHEDEX306, forPHEDEX-datasvc120_test1, forFrontend-1, forPHEDEX305, T0Mon_080905_1, T0Mon_080905_01, WEBTOOLS-APPS_20080903, T0Mon_080902_2, T0Mon_080902_1, WEBTOOLS-APPS_20080826, T0Mon_080824_1, T0Mon_080823_1, WEBTOOLS-APPS_20080822, WEBTOOLS-APPS_20080821, WEBTOOLS-APPS_20080818_1, WEBTOOLS-APPS_20080818, buildset_V2_8, forPHEDEX-web301, WEBTOOLS-APPS_20080725, WEBTOOLS-APPS_20080724, re-deps-20080722, WEBTOOLS-APPS_20080717, WEBTOOLS-APPS_20080716, WEBTOOLS-APPS_20080715_2, WEBTOOLS-APPS_20080715_1, WEBTOOLS-APPS_20080715, nr080714_forCRAB, WEBTOOLS-APPS_20080713, forPHEDEX304, forPHEDEX-datasvc110, forPHEDEX-web300, forPHEDEX-web110, re20080627, WEBTOOLS-APPS_20080624, WEBTOOLS-APPS_20080619_1, WEBTOOLS-APPS_20080619, WEBTOOLS-APPS_20080617, WEBTOOLS-APPS_20080611, WEBTOOLS-APPS_20080609_1, WEBTOOLS-APPS_20080609 |
Changes since 1.1: | +1 -1 lines |
Log Message: | New tag 1_1_6 |
# | Content |
---|---|
1 | ### RPM cms dbs-libs DBS_1_1_6 |
2 | ## 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 | Source: %cvsserver&strategy=checkout&module=DBS/LibValut&nocache=true&export=DBS&tag=-rHEAD&output=/dbs-libs.tar.gz |
7 | |
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 |