X-Git-Url: http://git.pld-linux.org/?p=packages%2Ferlang.git;a=blobdiff_plain;f=erlang.spec;h=4be3f1c2f3784cdb6a396dfdfb2d2c537ae33ad6;hp=1aee4c55b70dd28a852e47155da4e1c9d609a6b0;hb=5ccf0d3ed240fd508d21580544fba65ba32c067a;hpb=75067de0515b7195639eb09073e5b294f993976a diff --git a/erlang.spec b/erlang.spec index 1aee4c5..4be3f1c 100644 --- a/erlang.spec +++ b/erlang.spec @@ -14,19 +14,20 @@ Summary: OpenSource Erlang/OTP Summary(pl.UTF-8): Erlang/OTP z otwartymi źródłami Name: erlang -# keep stable line, currently R13 -Version: R13B04 -Release: 1 +# A - unstable, B - stable line, keep stable +Version: R14B03 +Release: 3 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: ca6da4921e438891967900aa6a084341 +# Source0-md5: 7979e662d11476b97c462feb7c132fb7 Source1: http://www.erlang.org/download/otp_doc_man_%{_version}.tar.gz -# Source1-md5: 681aaef70affc64743f4e8c0675034af +# Source1-md5: 357f54b174bb29d41fee97c063a47e8f Patch0: %{name}-fPIC.patch Patch1: %{name}-tinfo.patch +Patch2: %{name}-link.patch URL: http://www.erlang.org/ %{?with_java:BuildRequires: /usr/bin/jar} BuildRequires: xorg-lib-libX11-devel @@ -62,25 +63,16 @@ rozpowszechnianiu Erlanga poza Ericssonem. %{__tar} xzf %{SOURCE1} man/ COPYRIGHT #%patch0 -p1 %patch1 -p1 +%patch2 -p1 %build find . -name config.sub | xargs -n 1 cp -f /usr/share/automake/config.sub -%{__autoconf} -cd lib -%{__autoconf} -cd erl_interface -%{__autoconf} -cd ../gs -%{__autoconf} -cd ../megaco -%{__autoconf} -cd ../odbc -%{__autoconf} -cd ../snmp -%{__autoconf} -cd ../../erts/ -%{__autoconf} -cd .. +curd=$(pwd) +for i in $(find . -type f -name configure.in); do + cd $(dirname $i) + %{__autoconf} + cd $curd +done %configure \ %ifarch sparc CFLAGS="%{rpmcflags} -mv8plus" \ @@ -137,12 +129,14 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/erlang %dir %{_libdir}/%{name}/bin +%attr(755,root,root) %{_libdir}/%{name}/bin/ct_run %attr(755,root,root) %{_libdir}/%{name}/bin/dialyzer %attr(755,root,root) %{_libdir}/%{name}/bin/epmd %attr(755,root,root) %{_libdir}/%{name}/bin/erl %attr(755,root,root) %{_libdir}/%{name}/bin/erlc %attr(755,root,root) %{_libdir}/%{name}/bin/escript %attr(755,root,root) %{_libdir}/%{name}/bin/run_erl +%attr(755,root,root) %{_libdir}/%{name}/bin/run_test %attr(755,root,root) %{_libdir}/%{name}/bin/start %attr(755,root,root) %{_libdir}/%{name}/bin/start_erl %attr(755,root,root) %{_libdir}/%{name}/bin/to_erl @@ -157,6 +151,7 @@ rm -rf $RPM_BUILD_ROOT %dir %{_libdir}/%{name}/erts-*/bin %attr(755,root,root) %{_libdir}/%{name}/erts-*/bin/beam* %attr(755,root,root) %{_libdir}/%{name}/erts-*/bin/child* +%attr(755,root,root) %{_libdir}/%{name}/erts-*/bin/ct_run %attr(755,root,root) %{_libdir}/%{name}/erts-*/bin/dialyzer %attr(755,root,root) %{_libdir}/%{name}/erts-*/bin/dyn_erl %attr(755,root,root) %{_libdir}/%{name}/erts-*/bin/e*