Revision: | 1.21 |
Committed: | Fri Jun 15 12:37:12 2007 UTC (17 years, 10 months ago) by afanfani |
Branch: | MAIN |
CVS Tags: | CMSSW_1_6_0_pre1, pe20070729b-160p2, pe20070729b-160p1, pe20070729a-160p2, pe20070729a-160p1, pe20070629a-ports, pe20070628e-ports, pe20070628d-ports, pe20070628c-ports, pe20070628b-ports, pe20070628a-ports, pe20070627b-ports, pe20070627a-ports, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622 |
Changes since 1.20: | +1 -1 lines |
Log Message: | Update to DBS_1_0_4_pre2 |
# | Content |
---|---|
1 | ### RPM cms dbs-client DBS_1_0_4_pre2 |
2 | ## INITENV +PATH PYTHONPATH %i/lib/Clients/Python |
3 | # |
4 | %define cvstag %v |
5 | Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS/Clients/Python&export=DBS/Clients/Python&tag=-r%{cvstag}&output=/dbs-client.tar.gz |
6 | Requires: python openssl |
7 | |
8 | %prep |
9 | %setup -n DBS |
10 | %build |
11 | (make DBSHOME=%_builddir/DBS/Clients/Python ) |
12 | |
13 | %install |
14 | mkdir -p %{i}/bin |
15 | mkdir -p %{i}/lib |
16 | mkdir -p %{i}/etc/profile.d |
17 | cp -r Clients/Python/* %{i}/lib/ |
18 | |
19 | (echo "#!/bin/sh"; \ |
20 | echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
21 | echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \ |
22 | ) > %{i}/etc/profile.d/dependencies-setup.sh |
23 | |
24 | (echo "#!/bin/tcsh"; \ |
25 | echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
26 | echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \ |
27 | ) > %{i}/etc/profile.d/dependencies-setup.csh |
28 | |
29 | %post |
30 | %{relocateConfig}etc/profile.d/dependencies-setup.sh |
31 | %{relocateConfig}etc/profile.d/dependencies-setup.csh |