Revision: | 1.7 |
Committed: | Mon Sep 8 17:16:58 2008 UTC (16 years, 7 months ago) by valya |
Branch: | MAIN |
CVS Tags: | WEBTOOLS-APPS_20081020_1, WEBTOOLS-APPS_20081020, WEBTOOLS-APPS_20081016_2, WEBTOOLS-APPS_20081016_1, WEBTOOLS-APPS_20081016, WEBTOOLS-APPS_20081015, WEBTOOLS-APPS_20081013_1, WEBTOOLS-APPS_20081013, WEBTOOLS-APPS_20081009, WEBTOOLS-APPS_20081008_1, WEBTOOLS-APPS_20081008, PRODAGENT_0_12_2, T0Mon_080926_1, WEBTOOLS-APPS_20080922, T0Mon_080920_2, T0Mon_080920_1, T0Mon_080916_2, WEBTOOLS-APPS_20080917, WEBTOOLS-APPS_20080916, WEBTOOLS-APPS_20080915, DBS-APPS_20080910_1, WEBTOOLS-APPS_20080910_1, WEBTOOLS-APPS_20080910, DBS-APPS_20080910, WEBTOOLS-APPS_20080909, DBS-APPS_20080908 |
Changes since 1.6: | +3 -2 lines |
Log Message: | New tag |
# | User | Rev | Content |
---|---|---|---|
1 | valya | 1.7 | ### RPM cms dbs-apps 2_0_2 |
2 | valya | 1.2 | |
3 | valya | 1.7 | #Requires: dbs-server dbs-client dbs-schema dbs-light dbs-web |
4 | Requires: dbs-server dbs-client dbs-schema dbs-web | ||
5 | valya | 1.1 | Source: none |
6 | |||
7 | %prep | ||
8 | cd %_builddir | ||
9 | mkdir dbs-apps-dummy | ||
10 | cd dbs-apps-dummy | ||
11 | cp -f %_sourcedir/none . | ||
12 | %build | ||
13 | %install | ||
14 | mkdir -p %{i}/bin | ||
15 | mkdir -p %{i}/lib | ||
16 | mkdir -p %{i}/etc/profile.d | ||
17 | |||
18 | (echo "#!/bin/sh"; \ | ||
19 | echo "source $DBS_SERVER_ROOT/etc/profile.d/init.sh"; \ | ||
20 | echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \ | ||
21 | echo "source $DBS_SCHEMA_ROOT/etc/profile.d/init.sh"; \ | ||
22 | echo "source $DBS_LIGHT_ROOT/etc/profile.d/init.sh"; \ | ||
23 | echo "source $DBS_WEB_ROOT/etc/profile.d/init.sh"; \ | ||
24 | ) > %{i}/etc/profile.d/dependencies-setup.sh | ||
25 | |||
26 | (echo "#!/bin/tcsh"; \ | ||
27 | echo "source $DBS_SERVER_ROOT/etc/profile.d/init.csh"; \ | ||
28 | echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \ | ||
29 | echo "source $DBS_SCHEMA_ROOT/etc/profile.d/init.csh"; \ | ||
30 | echo "source $DBS_LIGHT_ROOT/etc/profile.d/init.csh"; \ | ||
31 | echo "source $DBS_WEB_ROOT/etc/profile.d/init.csh"; \ | ||
32 | ) > %{i}/etc/profile.d/dependencies-setup.csh | ||
33 | |||
34 | %post | ||
35 | %{relocateConfig}etc/profile.d/dependencies-setup.sh | ||
36 | %{relocateConfig}etc/profile.d/dependencies-setup.csh |