Revision: | 1.5 |
Committed: | Mon Jun 9 22:18:30 2008 UTC (16 years, 10 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, forPHEDEX-web301, 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 |
Changes since 1.4: | +1 -1 lines |
Log Message: | New tag |
# | User | Rev | Content |
---|---|---|---|
1 | valya | 1.5 | ### RPM cms dbs-apps 1_1_6 |
2 | valya | 1.2 | |
3 | valya | 1.1 | Requires: dbs-server dbs-client dbs-schema dbs-light dbs-web |
4 | Source: none | ||
5 | |||
6 | %prep | ||
7 | cd %_builddir | ||
8 | mkdir dbs-apps-dummy | ||
9 | cd dbs-apps-dummy | ||
10 | cp -f %_sourcedir/none . | ||
11 | %build | ||
12 | %install | ||
13 | mkdir -p %{i}/bin | ||
14 | mkdir -p %{i}/lib | ||
15 | mkdir -p %{i}/etc/profile.d | ||
16 | |||
17 | (echo "#!/bin/sh"; \ | ||
18 | echo "source $DBS_SERVER_ROOT/etc/profile.d/init.sh"; \ | ||
19 | echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \ | ||
20 | echo "source $DBS_SCHEMA_ROOT/etc/profile.d/init.sh"; \ | ||
21 | echo "source $DBS_LIGHT_ROOT/etc/profile.d/init.sh"; \ | ||
22 | echo "source $DBS_WEB_ROOT/etc/profile.d/init.sh"; \ | ||
23 | ) > %{i}/etc/profile.d/dependencies-setup.sh | ||
24 | |||
25 | (echo "#!/bin/tcsh"; \ | ||
26 | echo "source $DBS_SERVER_ROOT/etc/profile.d/init.csh"; \ | ||
27 | echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \ | ||
28 | echo "source $DBS_SCHEMA_ROOT/etc/profile.d/init.csh"; \ | ||
29 | echo "source $DBS_LIGHT_ROOT/etc/profile.d/init.csh"; \ | ||
30 | echo "source $DBS_WEB_ROOT/etc/profile.d/init.csh"; \ | ||
31 | ) > %{i}/etc/profile.d/dependencies-setup.csh | ||
32 | |||
33 | %post | ||
34 | %{relocateConfig}etc/profile.d/dependencies-setup.sh | ||
35 | %{relocateConfig}etc/profile.d/dependencies-setup.csh |