|
Gérard Milmeister |
8d9a91 |
Name: erlang
|
|
Peter Lemenkov |
03eee9 |
Version: R11B
|
|
Peter Lemenkov |
03eee9 |
Release: 2.4%{?dist}
|
|
Gérard Milmeister |
8d9a91 |
Summary: General-purpose programming language and runtime environment
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
Group: Development/Languages
|
|
Peter Lemenkov |
03eee9 |
License: Erlang Public License
|
|
Gérard Milmeister |
8d9a91 |
URL: http://www.erlang.org
|
|
Peter Lemenkov |
03eee9 |
Source: http://www.erlang.org/download/otp_src_R11B-2.tar.gz
|
|
Peter Lemenkov |
03eee9 |
Source1: http://www.erlang.org/download/otp_doc_html_R11B-2.tar.gz
|
|
Peter Lemenkov |
03eee9 |
Source2: http://www.erlang.org/download/otp_doc_man_R11B-2.tar.gz
|
|
Peter Lemenkov |
03eee9 |
Patch1: otp-R11B-2-0001-Do-not-create-links-instead-of-real-files.patch
|
|
Peter Lemenkov |
03eee9 |
Patch2: otp-R11B-2-0002-Fix-symlinking-of-epmd.patch
|
|
Peter Lemenkov |
03eee9 |
Patch3: otp-R11B-2-0003-Do-not-format-man-pages.patch
|
|
Peter Lemenkov |
03eee9 |
Patch4: otp-R11B-2-0004-Remove-rpath.patch
|
|
Peter Lemenkov |
03eee9 |
Patch5: otp-R11B-2-0005-Fix-shared-libraries-installation.patch
|
|
Peter Lemenkov |
03eee9 |
Patch6: otp-R11B-2-0006-Fix-missing-ssl-libraries-in-EPEL.patch
|
|
Peter Lemenkov |
03eee9 |
Patch7: otp-R11B-2-0007-Fix-for-Glibc-2.5.patch
|
|
Peter Lemenkov |
03eee9 |
Patch8: otp-R11B-2-0008-Fix-for-run_erl-utility.patch
|
|
Gérard Milmeister |
8d9a91 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Gérard Milmeister |
3b3f0b |
|
|
Gérard Milmeister |
3b3f0b |
BuildRequires: ncurses-devel
|
|
Gérard Milmeister |
3b3f0b |
BuildRequires: openssl-devel
|
|
Gérard Milmeister |
3b3f0b |
BuildRequires: unixODBC-devel
|
|
Gérard Milmeister |
3b3f0b |
BuildRequires: tcl-devel
|
|
Gérard Milmeister |
3b3f0b |
BuildRequires: tk-devel
|
|
Gérard Milmeister |
a93f12 |
BuildRequires: java-1.4.2-gcj-compat-devel
|
|
Gérard Milmeister |
3b3f0b |
BuildRequires: flex
|
|
Peter Lemenkov |
619037 |
BuildRequires: m4
|
|
Gérard Milmeister |
a93f12 |
|
|
Gérard Milmeister |
4d8795 |
Requires: tk
|
|
Gérard Milmeister |
8d9a91 |
|
|
Peter Lemenkov |
03eee9 |
%description
|
|
Gérard Milmeister |
8d9a91 |
Erlang is a general-purpose programming language and runtime
|
|
Gérard Milmeister |
8d9a91 |
environment. Erlang has built-in support for concurrency, distribution
|
|
Gérard Milmeister |
8d9a91 |
and fault tolerance. Erlang is used in several large telecommunication
|
|
Gérard Milmeister |
8d9a91 |
systems from Ericsson.
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%package doc
|
|
Gérard Milmeister |
8d9a91 |
Summary: Erlang documentation
|
|
Gérard Milmeister |
8d9a91 |
Group: Development/Languages
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%description doc
|
|
Gérard Milmeister |
8d9a91 |
Documentation for Erlang.
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%prep
|
|
Peter Lemenkov |
03eee9 |
%setup -q -n otp_src_R11B-2
|
|
Peter Lemenkov |
03eee9 |
%patch1 -p1 -b .links
|
|
Peter Lemenkov |
03eee9 |
%patch2 -p1 -b .epmd
|
|
Peter Lemenkov |
03eee9 |
%patch3 -p1 -b .manpages
|
|
Peter Lemenkov |
03eee9 |
%patch4 -p1 -b .rpath
|
|
Peter Lemenkov |
03eee9 |
%patch5 -p1 -b .shared_libs
|
|
Peter Lemenkov |
03eee9 |
%patch6 -p1 -b .missing_ssl_libs
|
|
Peter Lemenkov |
03eee9 |
%patch7 -p1 -b .glibc25
|
|
Peter Lemenkov |
03eee9 |
%patch8 -p1 -b .run_erl
|
|
Peter Lemenkov |
02ad4e |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%build
|
|
Peter Lemenkov |
03eee9 |
./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --libdir=%{_libdir}
|
|
Gérard Milmeister |
8d9a91 |
chmod -R u+w .
|
|
Gérard Milmeister |
8d9a91 |
make
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%install
|
|
Gérard Milmeister |
8d9a91 |
rm -rf $RPM_BUILD_ROOT
|
|
Gérard Milmeister |
8d9a91 |
make INSTALL_PREFIX=$RPM_BUILD_ROOT install
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
# clean up
|
|
Gérard Milmeister |
8d9a91 |
find $RPM_BUILD_ROOT%{_libdir}/erlang -perm 0775 | xargs chmod 755
|
|
Gérard Milmeister |
8d9a91 |
find $RPM_BUILD_ROOT%{_libdir}/erlang -name Makefile | xargs chmod 644
|
|
Gérard Milmeister |
8d9a91 |
find $RPM_BUILD_ROOT%{_libdir}/erlang -name \*.bat | xargs rm -f
|
|
Gérard Milmeister |
8d9a91 |
find $RPM_BUILD_ROOT%{_libdir}/erlang -name index.txt.old | xargs rm -f
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
# doc
|
|
Gérard Milmeister |
8d9a91 |
mkdir -p erlang_doc
|
|
Gérard Milmeister |
8d9a91 |
tar -C erlang_doc -zxf %{SOURCE1}
|
|
Gérard Milmeister |
8d9a91 |
tar -C $RPM_BUILD_ROOT/%{_libdir}/erlang -zxf %{SOURCE2}
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
# make links to binaries
|
|
Gérard Milmeister |
8d9a91 |
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
Gérard Milmeister |
8d9a91 |
cd $RPM_BUILD_ROOT/%{_bindir}
|
|
Peter Lemenkov |
03eee9 |
for file in erl erlc
|
|
Gérard Milmeister |
8d9a91 |
do
|
|
Gérard Milmeister |
8d9a91 |
ln -sf ../%{_lib}/erlang/bin/$file .
|
|
Gérard Milmeister |
8d9a91 |
done
|
|
Gérard Milmeister |
8d9a91 |
|
|
Peter Lemenkov |
619037 |
# remove buildroot from installed files
|
|
Peter Lemenkov |
619037 |
cd $RPM_BUILD_ROOT/%{_libdir}/erlang
|
|
Peter Lemenkov |
619037 |
sed -i "s|$RPM_BUILD_ROOT||" erts*/bin/{erl,start} releases/RELEASES bin/{erl,start}
|
|
Peter Lemenkov |
619037 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%clean
|
|
Gérard Milmeister |
8d9a91 |
rm -rf $RPM_BUILD_ROOT
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Peter Lemenkov |
9e7e74 |
%files
|
|
Gérard Milmeister |
8d9a91 |
%defattr(-,root,root)
|
|
Gérard Milmeister |
8d9a91 |
%doc AUTHORS EPLICENCE README
|
|
Gérard Milmeister |
8d9a91 |
%{_bindir}/*
|
|
Gérard Milmeister |
8d9a91 |
%{_libdir}/erlang
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%files doc
|
|
Gérard Milmeister |
8d9a91 |
%defattr(-,root,root)
|
|
Gérard Milmeister |
8d9a91 |
%doc erlang_doc/*
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%post
|
|
Gérard Milmeister |
3b3f0b |
%{_libdir}/erlang/Install -minimal %{_libdir}/erlang >/dev/null 2>/dev/null
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%changelog
|
|
Peter Lemenkov |
03eee9 |
* Mon Apr 19 2010 Peter Lemenkov <lemenkov@gmail.com> - R11B-2.4
|
|
Peter Lemenkov |
03eee9 |
- Patches rebased
|
|
Peter Lemenkov |
03eee9 |
- Added patches 6,7 from trunk
|
|
Peter Lemenkov |
ec0fd9 |
|
|
Peter Lemenkov |
619037 |
* Sun Dec 31 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.3
|
|
Peter Lemenkov |
619037 |
- remove buildroot from installed files
|
|
Peter Lemenkov |
619037 |
|
|
Peter Lemenkov |
619037 |
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.2
|
|
Peter Lemenkov |
619037 |
- added patch for compiling with glibc 2.5
|
|
Peter Lemenkov |
619037 |
|
|
Peter Lemenkov |
619037 |
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.1
|
|
Peter Lemenkov |
619037 |
- new version R11B-2
|
|
Peter Lemenkov |
619037 |
|
|
Peter Lemenkov |
619037 |
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.3
|
|
Peter Lemenkov |
619037 |
- Rebuild for FE6
|
|
Peter Lemenkov |
0bf650 |
|
|
Peter Lemenkov |
619037 |
* Wed Jul 5 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.2
|
|
Peter Lemenkov |
619037 |
- add BR m4
|
|
Peter Lemenkov |
0bf650 |
|
|
Gérard Milmeister |
3b3f0b |
* Thu May 18 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.1
|
|
Gérard Milmeister |
3b3f0b |
- new version R11B-0
|
|
Gérard Milmeister |
3b3f0b |
|
|
Peter Lemenkov |
619037 |
* Wed May 3 2006 Gerard Milmeister <gemi@bluewin.ch> - R10B-10.3
|
|
Peter Lemenkov |
619037 |
- added patch for run_erl by Knut-Håvard Aksnes
|
|
Peter Lemenkov |
619037 |
|
|
Peter Lemenkov |
619037 |
* Mon Mar 13 2006 Gerard Milmeister <gemi@bluewin.ch> - R10B-10.1
|
|
Peter Lemenkov |
619037 |
- new version R10B-10
|
|
Peter Lemenkov |
619037 |
|
|
Peter Lemenkov |
619037 |
* Thu Dec 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-9.1
|
|
Peter Lemenkov |
619037 |
- New Version R10B-9
|
|
Peter Lemenkov |
619037 |
|
|
Gérard Milmeister |
a93f12 |
* Sat Oct 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-8.2
|
|
Gérard Milmeister |
a93f12 |
- updated rpath patch
|
|
Gérard Milmeister |
a93f12 |
|
|
Gérard Milmeister |
a93f12 |
* Sat Oct 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-8.1
|
|
Gérard Milmeister |
a93f12 |
- New Version R10B-8
|
|
Gérard Milmeister |
a93f12 |
|
|
Gérard Milmeister |
4d8795 |
* Sat Oct 1 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.4
|
|
Gérard Milmeister |
4d8795 |
- Added tk-devel and tcl-devel to buildreq
|
|
Gérard Milmeister |
4d8795 |
- Added tk to req
|
|
Gérard Milmeister |
4d8795 |
|
|
Gérard Milmeister |
8d9a91 |
* Tue Sep 6 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.3
|
|
Gérard Milmeister |
8d9a91 |
- Remove perl BuildRequires
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
* Tue Aug 30 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.2
|
|
Gérard Milmeister |
8d9a91 |
- change /usr/lib to %%{_libdir}
|
|
Gérard Milmeister |
8d9a91 |
- redirect output in %%post to /dev/null
|
|
Gérard Milmeister |
8d9a91 |
- add unixODBC-devel to BuildRequires
|
|
Gérard Milmeister |
8d9a91 |
- split doc off to erlang-doc package
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
* Sat Jun 25 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.1
|
|
Gérard Milmeister |
8d9a91 |
- New Version R10B-6
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
* Sun Feb 13 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-3.1
|
|
Gérard Milmeister |
8d9a91 |
- New Version R10B-3
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
* Mon Dec 27 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:R10B-2-0.fdr.1
|
|
Gérard Milmeister |
8d9a91 |
- New Version R10B-2
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
* Wed Oct 6 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:R10B-0.fdr.1
|
|
Gérard Milmeister |
8d9a91 |
- New Version R10B
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
* Thu Oct 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:R9B-1.fdr.1
|
|
Gérard Milmeister |
8d9a91 |
- First Fedora release
|