|
Gérard Milmeister |
8d9a91 |
Name: erlang
|
|
Gérard Milmeister |
402a17 |
Version: R11B
|
|
Gérard Milmeister |
37d540 |
Release: 5.1%{?dist}
|
|
Gérard Milmeister |
8d9a91 |
Summary: General-purpose programming language and runtime environment
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
Group: Development/Languages
|
|
Gérard Milmeister |
8d9a91 |
License: Erlang Public License
|
|
Gérard Milmeister |
8d9a91 |
URL: http://www.erlang.org
|
|
Gérard Milmeister |
37d540 |
Source: http://www.erlang.org/download/otp_src_R11B-5.tar.gz
|
|
Gérard Milmeister |
37d540 |
Source1: http://www.erlang.org/download/otp_doc_html_R11B-5.tar.gz
|
|
Gérard Milmeister |
37d540 |
Source2: http://www.erlang.org/download/otp_doc_man_R11B-5.tar.gz
|
|
Gérard Milmeister |
402a17 |
Patch0: otp-links.patch
|
|
Gérard Milmeister |
8d9a91 |
Patch1: otp-install.patch
|
|
Gérard Milmeister |
8d9a91 |
Patch2: otp-rpath.patch
|
|
Gérard Milmeister |
9b92d7 |
Patch3: otp-sslrpath.patch
|
|
Gérard Milmeister |
8d9a91 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Gérard Milmeister |
e76567 |
|
|
Gérard Milmeister |
9b92d7 |
BuildRequires: ncurses-devel
|
|
Gérard Milmeister |
9b92d7 |
BuildRequires: openssl-devel
|
|
Gérard Milmeister |
9b92d7 |
BuildRequires: unixODBC-devel
|
|
Gérard Milmeister |
9b92d7 |
BuildRequires: tcl-devel
|
|
Gérard Milmeister |
9b92d7 |
BuildRequires: tk-devel
|
|
Thomas Fitzsimmons |
a60bf5 |
BuildRequires: java-1.5.0-gcj-devel
|
|
Gérard Milmeister |
9b92d7 |
BuildRequires: flex
|
|
Gérard Milmeister |
63aec6 |
BuildRequires: m4
|
|
Gérard Milmeister |
e76567 |
|
|
Gérard Milmeister |
4613f8 |
Requires: tk
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%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
|
|
Gérard Milmeister |
37d540 |
%setup -q -n otp_src_R11B-5
|
|
Gérard Milmeister |
402a17 |
%patch0 -p1 -b .links
|
|
Gérard Milmeister |
402a17 |
%patch1 -p1 -b .install
|
|
Gérard Milmeister |
402a17 |
%patch2 -p1 -b .rpath
|
|
Gérard Milmeister |
402a17 |
%patch3 -p1 -b .sslrpath
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%build
|
|
Gérard Milmeister |
8d9a91 |
./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}
|
|
Gérard Milmeister |
8d9a91 |
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 |
|
|
Gérard Milmeister |
88a85b |
# remove buildroot from installed files
|
|
Gérard Milmeister |
88a85b |
cd $RPM_BUILD_ROOT/%{_libdir}/erlang
|
|
Gérard Milmeister |
88a85b |
sed -i "s|$RPM_BUILD_ROOT||" erts*/bin/{erl,start} releases/RELEASES bin/{erl,start}
|
|
Gérard Milmeister |
88a85b |
|
|
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 |
|
|
Gérard Milmeister |
8d9a91 |
%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 |
9b92d7 |
%{_libdir}/erlang/Install -minimal %{_libdir}/erlang >/dev/null 2>/dev/null
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%changelog
|
|
Gérard Milmeister |
37d540 |
* Sat Aug 18 2007 Gerard Milmeister <gemi@bluewin.ch> - R11B-5.1
|
|
Gérard Milmeister |
37d540 |
- new release R11B-5
|
|
Gérard Milmeister |
37d540 |
|
|
Thomas Fitzsimmons |
a60bf5 |
* Sat Mar 24 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - R11B-2.4
|
|
Thomas Fitzsimmons |
a60bf5 |
- Require java-1.5.0-gcj-devel for build.
|
|
Thomas Fitzsimmons |
a60bf5 |
|
|
Gérard Milmeister |
88a85b |
* Sun Dec 31 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.3
|
|
Gérard Milmeister |
88a85b |
- remove buildroot from installed files
|
|
Gérard Milmeister |
88a85b |
|
|
Gérard Milmeister |
717787 |
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.2
|
|
Gérard Milmeister |
717787 |
- added patch for compiling with glibc 2.5
|
|
Gérard Milmeister |
717787 |
|
|
Gérard Milmeister |
380e40 |
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.1
|
|
Gérard Milmeister |
380e40 |
- new version R11B-2
|
|
Gérard Milmeister |
380e40 |
|
|
Gérard Milmeister |
d64f98 |
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.3
|
|
Gérard Milmeister |
d64f98 |
- Rebuild for FE6
|
|
Gérard Milmeister |
d64f98 |
|
|
Gérard Milmeister |
63aec6 |
* Wed Jul 5 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.2
|
|
Gérard Milmeister |
63aec6 |
- add BR m4
|
|
Gérard Milmeister |
63aec6 |
|
|
Gérard Milmeister |
402a17 |
* Thu May 18 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.1
|
|
Gérard Milmeister |
402a17 |
- new version R11B-0
|
|
Gérard Milmeister |
402a17 |
|
|
Gérard Milmeister |
928fb3 |
* Wed May 3 2006 Gerard Milmeister <gemi@bluewin.ch> - R10B-10.3
|
|
Gérard Milmeister |
928fb3 |
- added patch for run_erl by Knut-Håvard Aksnes
|
|
Gérard Milmeister |
928fb3 |
|
|
Gérard Milmeister |
b7307b |
* Mon Mar 13 2006 Gerard Milmeister <gemi@bluewin.ch> - R10B-10.1
|
|
Gérard Milmeister |
b7307b |
- new version R10B-10
|
|
Gérard Milmeister |
b7307b |
|
|
Gérard Milmeister |
9b92d7 |
* Thu Dec 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-9.1
|
|
Gérard Milmeister |
9b92d7 |
- New Version R10B-9
|
|
Gérard Milmeister |
9b92d7 |
|
|
Gérard Milmeister |
da518f |
* Sat Oct 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-8.2
|
|
Gérard Milmeister |
da518f |
- updated rpath patch
|
|
Gérard Milmeister |
da518f |
|
|
Gérard Milmeister |
e76567 |
* Sat Oct 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-8.1
|
|
Gérard Milmeister |
e76567 |
- New Version R10B-8
|
|
Gérard Milmeister |
e76567 |
|
|
Gérard Milmeister |
4613f8 |
* Sat Oct 1 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.4
|
|
Gérard Milmeister |
4613f8 |
- Added tk-devel and tcl-devel to buildreq
|
|
Gérard Milmeister |
4613f8 |
- Added tk to req
|
|
Gérard Milmeister |
4613f8 |
|
|
Gérard Milmeister |
4613f8 |
* 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
|