|
Gérard Milmeister |
8d9a91 |
Name: erlang
|
|
Gérard Milmeister |
8d9a91 |
Version: R10B
|
|
Gérard Milmeister |
e76567 |
Release: 8.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 |
e76567 |
Source: http://www.erlang.org/download/otp_src_R10B-8.tar.gz
|
|
Gérard Milmeister |
e76567 |
Source1: http://www.erlang.org/download/otp_doc_html_R10B-8.tar.gz
|
|
Gérard Milmeister |
e76567 |
Source2: http://www.erlang.org/download/otp_doc_man_R10B-8.tar.gz
|
|
Gérard Milmeister |
8d9a91 |
Patch: otp-links.patch
|
|
Gérard Milmeister |
8d9a91 |
Patch1: otp-install.patch
|
|
Gérard Milmeister |
8d9a91 |
Patch2: otp-rpath.patch
|
|
Gérard Milmeister |
8d9a91 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Gérard Milmeister |
e76567 |
|
|
Gérard Milmeister |
8d9a91 |
BuildRequires: ncurses-devel, openssl-devel, flex, unixODBC-devel
|
|
Gérard Milmeister |
4613f8 |
BuildRequires: tcl-devel, tk-devel
|
|
Gérard Milmeister |
e76567 |
BuildRequires: java-1.4.2-gcj-compat-devel
|
|
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 |
e76567 |
%setup -q -n otp_src_R10B-8
|
|
Gérard Milmeister |
8d9a91 |
%patch -p1
|
|
Gérard Milmeister |
8d9a91 |
%patch1 -p1
|
|
Gérard Milmeister |
8d9a91 |
%patch2 -p1
|
|
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 |
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 |
8d9a91 |
%{_libdir}/erlang/Install -minimal %{_libdir}/erlang > /dev/null
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
|
|
Gérard Milmeister |
8d9a91 |
%changelog
|
|
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
|