- make distfiles happy (maybe) - use tr instead of sed.
[packages/erlang.git] / erlang.spec
CommitLineData
c7068bd4
JK
1Summary: OpenSource Erlang/OTP
2Name: otp
3Version: R9C_2
4Release: 0.1
5Epoch: 1
6License: distributable
7Group: Development/Languages
36520c64 8%define _version %(echo %{version} | tr _ -)
c7068bd4
JK
9Source0: http://www.erlang.org/download/%{name}_src_%{_version}.tar.gz
10URL: http://www.erlang.org/
11BuildRequires: perl-base
12BuildRequires: flex
13BuildRequires: XFree86-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Erlang is a programming language designed at the Ericsson Computer
18Science Laboratory. Open-source Erlang is being released to help
19encourage the spread of Erlang outside Ericsson.
20
21%prep
22%setup -q -n %{name}_src_%{_version}
23
24%build
25%{__autoconf}
26cd lib
27%{__autoconf}
28cd erl_interface
29%{__autoconf}
30cd ../gs
31%{__autoconf}
32cd ../megaco
33%{__autoconf}
34cd ../snmp
35%{__autoconf}
36cd ..
37cd ../erts/
38%{__autoconf}
39cd ..
40%configure
41ERL_TOP=`pwd`; export ERL_TOP
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%pre
54
55%post
56
57%preun
58
59%postun
60
61%files
62%defattr(644,root,root,755)
63%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
64%attr(755,root,root) %{_bindir}/*
65%{_datadir}/%{name}
This page took 0.042652 seconds and 4 git commands to generate.