ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/erlang.spec
Revision: 1.3
Committed: Fri Mar 13 01:40:25 2009 UTC (16 years, 1 month ago) by valya
Branch: MAIN
Changes since 1.2: +1 -1 lines
Log Message:
remove ncurses

File Contents

# User Rev Content
1 valya 1.1 ### RPM external erlang R12B-5
2     Source: http://erlang.org/download/otp_src_R12B-5.tar.gz
3 valya 1.3 Requires: gcc perl openssl
4 valya 1.1
5     %prep
6     %setup -n otp_src_%{realversion}
7    
8     %build
9     LANG=C; export LANG
10     ./configure
11     make
12    
13     %install
14     make install
15     # SCRAM ToolBox toolfile
16     mkdir -p %i/etc/scram.d
17     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
18     <doc type=BuildSystem::ToolDoc version=1.0>
19     <Tool name=Erlang version=%v>
20     <lib name=erlang>
21     <client>
22     <Environment name=ERLANG_BASE default="%i"></Environment>
23     <Environment name=INCLUDE default="$ERLANG_BASE/include"></Environment>
24     <Environment name=LIBDIR default="$ERLANG_BASE/lib"></Environment>
25     </client>
26     <Runtime name=PATH value="$ERLANG_BASE/bin" type=path>
27     </Tool>
28     EOF_TOOLFILE
29    
30     %post
31     %{relocateConfig}etc/scram.d/%n
32