Summary: OpenSource Erlang/OTP
Summary(pl.UTF-8): Erlang/OTP z otwartymi źródłami
Name: erlang
-Version: R11B_5
+Version: R12B_2
Release: 1
Epoch: 1
%define _version %(echo %{version} | tr _ -)
License: distributable
Group: Development/Languages
Source0: http://www.erlang.org/download/otp_src_%{_version}.tar.gz
-# Source0-md5: 96acec41da87d6ee0ef18e1aab36ffdd
-Source1: http://www.erlang.org/download/otp_doc_man_R11B-3.tar.gz
-# Source1-md5: 645ef1ded84b470e9c05a4757dce88cf
+# Source0-md5: 05861c7f75d7b2ed5af42c93cebe5801
+Source1: http://www.erlang.org/download/otp_doc_man_%{_version}.tar.gz
+# Source1-md5: 645a4486f02338a5cf22be7563b862f9
Patch0: %{name}-fPIC.patch
Patch1: %{name}-optional_java.patch
-Patch2: %{name}-hipe_optimistic_regalloc_once_only.patch
-Patch3: %{name}-tinfo.patch
+Patch2: %{name}-tinfo.patch
+Patch3: %{name}-new_glibc.patch
URL: http://www.erlang.org/
%{?with_java:BuildRequires: /usr/bin/jar}
BuildRequires: xorg-lib-libX11-devel
%{__autoconf}
cd ..
%configure \
+%ifarch sparc
+ CFLAGS="%{rpmcflags} -mv8plus" \
+%endif
--with%{!?with_java:out}-java
+rm -f lib/ssl/SKIP
ERL_TOP=`pwd`; export ERL_TOP
%{__make} -j1 \
TARGET="%{_erl_target}" \
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -j1 install \
TARGET="%{_erl_target}" \
INSTALL_PREFIX=$RPM_BUILD_ROOT