ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/clarens-build-tool.spec
Revision: 1.3
Committed: Wed Apr 19 18:11:45 2006 UTC (19 years ago) by steen
Branch: MAIN
Changes since 1.2: +15 -6 lines
Log Message:
Put setup commands in the etc/profile.d/dependencies-setup.sh file

Conrad Steenberg <conrad@hep.caltech.edu>
California Institute of Technology | http://conradsteenberg.info

File Contents

# User Rev Content
1 steen 1.1 ### RPM external clarens-build-tool 1
2    
3    
4     # DO NOT EDIT!
5 steen 1.3 # This file was automatically generated using initenv
6 steen 1.1 #
7    
8    
9    
10     # Dependencies
11     Requires: gcc
12     Requires: swig
13 steen 1.2 Requires: pyrex
14 steen 1.1 Requires: clarens-runtime-tool
15    
16     Source: none
17    
18     %prep
19     pwd
20     mkdir -p %n-%v
21    
22     %build
23     %install
24    
25 steen 1.3
26     mkdir -p %i/etc/profile.d
27     cat << DEPS_SETUP > %i/etc/profile.d/dependencies-setup.sh
28     #!/bin/sh
29    
30     EXTERNAL_ROOT=\$CLARENS_BUILD_TOOL_ROOT"/../.."
31    
32     source \$EXTERNAL_ROOT/gcc/3.2.3/etc/profile.d/init.sh
33     source \$EXTERNAL_ROOT/swig/1.3.29/etc/profile.d/init.sh
34     source \$EXTERNAL_ROOT/pyrex/0.9.3.1/etc/profile.d/init.sh
35     source \$EXTERNAL_ROOT/clarens-runtime-tool/1/etc/profile.d/init.sh
36    
37     DEPS_SETUP
38