ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dbs-client.spec
Revision: 1.14
Committed: Wed Apr 18 23:46:01 2007 UTC (18 years ago) by ratnik
Branch: MAIN
Changes since 1.13: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# Content
1 ### RPM cms dbs-client DBS_1_0_0
2 Requires: gcc-wrapper
3 ## INITENV +PATH PYTHONPATH %i/lib/Clients/Python
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 %prep
10 %setup -n DBS
11 %build
12 ## IMPORT gcc-wrapper
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