Revision: | 1.30 |
Committed: | Fri Oct 12 19:25:23 2007 UTC (17 years, 6 months ago) by afanfani |
Branch: | MAIN |
CVS Tags: | CRABSERVER_TEST_BUILD_V4, CRABSERVER_TEST_BUILD_V3, CRABSERVER_TEST_BUILD_V2, CRABSERVER_TEST_BUILD_V1, forCRABSERVER104test, forCRABSERVER103, forCS102pre4, PRODAGENT_0_10_3, PRODAGENT_0_10_3_20080521, PRODAGENT_0_8_3_SL4, forPA070pre3-slc3, forPA070pre3-slc4, forPA070pre3-slc, forPA061, forTony_001, forPA060pre7-slc4 |
Changes since 1.29: | +1 -0 lines |
Log Message: | test |
# | Content |
---|---|
1 | ### RPM cms dbs-client DBS_1_0_7 |
2 | ## INITENV +PATH PYTHONPATH %i/lib/Clients/Python |
3 | # |
4 | # |
5 | %define cvstag %v |
6 | 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 |
7 | Requires: python openssl |
8 | |
9 | |
10 | %prep |
11 | %setup -n DBS |
12 | %build |
13 | (make DBSHOME=%_builddir/DBS/Clients/Python ) |
14 | |
15 | %install |
16 | mkdir -p %{i}/bin |
17 | mkdir -p %{i}/lib |
18 | mkdir -p %{i}/etc/profile.d |
19 | cp -r Clients/Python/* %{i}/lib/ |
20 | |
21 | (echo "#!/bin/sh"; \ |
22 | echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
23 | echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \ |
24 | ) > %{i}/etc/profile.d/dependencies-setup.sh |
25 | |
26 | (echo "#!/bin/tcsh"; \ |
27 | echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
28 | echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \ |
29 | ) > %{i}/etc/profile.d/dependencies-setup.csh |
30 | |
31 | %post |
32 | %{relocateConfig}etc/profile.d/dependencies-setup.sh |
33 | %{relocateConfig}etc/profile.d/dependencies-setup.csh |