ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/webtools-apps.spec
Revision: 1.9
Committed: Thu Aug 21 18:05:28 2008 UTC (16 years, 8 months ago) by valya
Branch: MAIN
CVS Tags: WEBTOOLS-APPS_20080821
Changes since 1.8: +1 -1 lines
Log Message:
Removed webconddb to reduce number of packages due to limitation of bash, will put it back

File Contents

# User Rev Content
1 valya 1.8 ### RPM cms webtools-apps 2
2 valya 1.9 Requires: prodrequest sitedb dbs-web fmws
3 eulisse 1.1 Source: none
4    
5     %prep
6     cd %_builddir
7     mkdir webtools-apps-dummy
8     cd webtools-apps-dummy
9     cp -f %_sourcedir/none .
10     %build
11     %install
12 valya 1.2 mkdir -p %{i}/bin
13     mkdir -p %{i}/lib
14     mkdir -p %{i}/etc/profile.d
15    
16     (echo "#!/bin/sh"; \
17     echo "source $SITEDB_ROOT/etc/profile.d/init.sh"; \
18     echo "source $PRODREQUEST_ROOT/etc/profile.d/init.sh"; \
19 valya 1.3 echo "source $DBS_WEB_ROOT/etc/profile.d/init.sh"; \
20 valya 1.7 echo "source $FMWS_ROOT/etc/profile.d/init.sh"; \
21 valya 1.2 ) > %{i}/etc/profile.d/dependencies-setup.sh
22    
23     (echo "#!/bin/tcsh"; \
24 valya 1.3 echo "source $SITEDB_ROOT/etc/profile.d/init.csh"; \
25     echo "source $PRODREQUEST_ROOT/etc/profile.d/init.csh"; \
26     echo "source $DBS_WEB_ROOT/etc/profile.d/init.csh"; \
27 valya 1.7 echo "source $FMWS_ROOT/etc/profile.d/init.csh"; \
28 valya 1.2 ) > %{i}/etc/profile.d/dependencies-setup.csh
29    
30     %post
31     %{relocateConfig}etc/profile.d/dependencies-setup.sh
32     %{relocateConfig}etc/profile.d/dependencies-setup.csh