ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dbs-apps.spec
Revision: 1.1
Committed: Mon Apr 7 18:17:28 2008 UTC (17 years ago) by valya
Branch: MAIN
CVS Tags: webconddb173, condapp173, webconddb172, condapp172, webconddb171, condapp171, webconddb170, condapp170, condapp164b, webconddb164b, webconddb164, conapp164, zx20090506, zx20090224, zx20090219, zx20090217, zx20090216, zx20090114, zx20080825, zx20080718, zx20080715, zx20080707, zx20080625, zx20080611, zx20080610, zx20080609, zx20080519, zx20080509b, dl080505, WEBTOOLS-APPS_20080501, zx20080430, dl080425_for21x, WEBTOOLS-APPS_20080422, WEBTOOLS-APPS_20080416, WEBTOOLS-APPS_20080414, WEBTOOLS-APPS_20080412, WEBTOOLS-APPS_20080411_1, WEBTOOLS-APPS_20080411, WEBTOOLS-APPS_20080410, WEBTOOLS-APPS_20080409_1, WEBTOOLS-APPS_20080409, WEBTOOLS-APPS_20080408_1, DBS-APPS_20080407
Branch point for: conddb-branch
Log Message:
Added dbs-apps, a new spec for all DBS RPMs

File Contents

# User Rev Content
1 valya 1.1 ### RPM cms dbs-apps 1
2     Requires: dbs-server dbs-client dbs-schema dbs-light dbs-web
3     Source: none
4    
5     %prep
6     cd %_builddir
7     mkdir dbs-apps-dummy
8     cd dbs-apps-dummy
9     cp -f %_sourcedir/none .
10     %build
11     %install
12     mkdir -p %{i}/bin
13     mkdir -p %{i}/lib
14     mkdir -p %{i}/etc/profile.d
15    
16     (echo "#!/bin/sh"; \
17     echo "source $DBS_SERVER_ROOT/etc/profile.d/init.sh"; \
18     echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \
19     echo "source $DBS_SCHEMA_ROOT/etc/profile.d/init.sh"; \
20     echo "source $DBS_LIGHT_ROOT/etc/profile.d/init.sh"; \
21     echo "source $DBS_WEB_ROOT/etc/profile.d/init.sh"; \
22     ) > %{i}/etc/profile.d/dependencies-setup.sh
23    
24     (echo "#!/bin/tcsh"; \
25     echo "source $DBS_SERVER_ROOT/etc/profile.d/init.csh"; \
26     echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \
27     echo "source $DBS_SCHEMA_ROOT/etc/profile.d/init.csh"; \
28     echo "source $DBS_LIGHT_ROOT/etc/profile.d/init.csh"; \
29     echo "source $DBS_WEB_ROOT/etc/profile.d/init.csh"; \
30     ) > %{i}/etc/profile.d/dependencies-setup.csh
31    
32     %post
33     %{relocateConfig}etc/profile.d/dependencies-setup.sh
34     %{relocateConfig}etc/profile.d/dependencies-setup.csh