1 Summary: OpenSource Erlang/OTP
7 Group: Development/Languages
8 %define _version %(echo %{version} | sed -e 's#_#-#g')
9 Source0: http://www.erlang.org/download/%{name}_src_%{_version}.tar.gz
10 URL: http://www.erlang.org/
11 BuildRequires: perl-base
13 BuildRequires: XFree86-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Erlang is a programming language designed at the Ericsson Computer
18 Science Laboratory. Open-source Erlang is being released to help
19 encourage the spread of Erlang outside Ericsson.
22 %setup -q -n %{name}_src_%{_version}
41 ERL_TOP=`pwd`; export ERL_TOP
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
64 %attr(755,root,root) %{_bindir}/*