ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dbs-client.spec
Revision: 1.24
Committed: Wed Jun 27 16:21:55 2007 UTC (17 years, 10 months ago) by afanfani
Branch: MAIN
Changes since 1.23: +0 -1 lines
Log Message:
test

File Contents

# Content
1 ### RPM cms dbs-client DBS_1_0_5
2 ## INITENV +PATH PYTHONPATH %i/lib/Clients/Python
3 #
4 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
5 Requires: python openssl
6
7 %prep
8 %setup -n DBS
9 %build
10 (make DBSHOME=%_builddir/DBS/Clients/Python )
11
12 %install
13 mkdir -p %{i}/bin
14 mkdir -p %{i}/lib
15 mkdir -p %{i}/etc/profile.d
16 cp -r Clients/Python/* %{i}/lib/
17
18 (echo "#!/bin/sh"; \
19 echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
20 echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \
21 ) > %{i}/etc/profile.d/dependencies-setup.sh
22
23 (echo "#!/bin/tcsh"; \
24 echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
25 echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \
26 ) > %{i}/etc/profile.d/dependencies-setup.csh
27
28 %post
29 %{relocateConfig}etc/profile.d/dependencies-setup.sh
30 %{relocateConfig}etc/profile.d/dependencies-setup.csh