Revision: | 1.9 |
Committed: | Mon Aug 20 19:26:29 2007 UTC (17 years, 8 months ago) by valya |
Branch: | MAIN |
CVS Tags: | ap-20070926, CMSSW_1_7_0_pre4, dl070921t2, dl070921, dl070920, CMSSW_1_7_0_pre3, dl070916, dl070912, dl070812, sm070912b, sm070912a, sm070911a, dl070909p3, dl070909, CMSSW_1_7_0_pre2, dl070906, dl070905, sm030907a, CMSSW_1_7_0_pre1, forDBS106, dl070829, dl070827 |
Changes since 1.8: | +1 -1 lines |
Log Message: | Commit new tag |
# | User | Rev | Content |
---|---|---|---|
1 | valya | 1.9 | ### RPM cms dbs-schema DBS_1_0_6 |
2 | valya | 1.1 | |
3 | %define cvstag %v | ||
4 | Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS/Schema/NeXtGen&export=DBS/Schema/NeXtGen&tag=-r%{cvstag}&output=/dbs-schema.tar.gz | ||
5 | valya | 1.8 | Requires: mysql oracle |
6 | valya | 1.1 | |
7 | %prep | ||
8 | %setup -n DBS | ||
9 | %build | ||
10 | (make DBSHOME=%_builddir/DBS/Schema/NeXtGen ) | ||
11 | |||
12 | %install | ||
13 | valya | 1.3 | mkdir -p %{i}/etc/profile.d |
14 | valya | 1.1 | ls -l Schema/NeXtGen |
15 | valya | 1.2 | cp -r Schema/NeXtGen/* %{i}/ |
16 | valya | 1.1 | |
17 | valya | 1.3 | (echo "#!/bin/sh"; \ |
18 | echo "source $ORACLE_ROOT/etc/profile.d/init.sh"; \ | ||
19 | echo "source $MYSQL_ROOT/etc/profile.d/init.sh"; \ | ||
20 | ) > %{i}/etc/profile.d/dependencies-setup.sh | ||
21 | |||
22 | (echo "#!/bin/tcsh"; \ | ||
23 | echo "source $ORACLE_ROOT/etc/profile.d/init.csh"; \ | ||
24 | echo "source $MYSQL_ROOT/etc/profile.d/init.csh"; \ | ||
25 | ) > %{i}/etc/profile.d/dependencies-setup.csh | ||
26 | |||
27 | %post | ||
28 | %{relocateConfig}etc/profile.d/dependencies-setup.sh | ||
29 | %{relocateConfig}etc/profile.d/dependencies-setup.csh |