2012-05-27 03:46:10 +00:00
|
|
|
Name: elixir
|
2014-10-22 14:56:03 +00:00
|
|
|
Version: 1.0.2
|
|
|
|
Release: 1%{?dist}
|
2012-08-01 16:55:59 +00:00
|
|
|
Summary: A modern approach to programming for the Erlang VM
|
2012-05-27 03:46:10 +00:00
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
# See LEGAL (provided by upstream) for explaination/breakdown.
|
|
|
|
License: ASL 2.0 and ERPL
|
|
|
|
URL: http://elixir-lang.org/
|
2013-06-12 22:22:36 +00:00
|
|
|
|
2014-01-17 14:44:19 +00:00
|
|
|
Source0: https://github.com/elixir-lang/elixir/archive/v%{version}/%{name}-%{version}.tar.gz
|
2012-05-27 03:46:10 +00:00
|
|
|
BuildArch: noarch
|
2014-10-09 08:57:22 +00:00
|
|
|
BuildRequires: erlang >= R17
|
2012-05-27 03:46:10 +00:00
|
|
|
BuildRequires: erlang-rebar
|
2012-08-01 16:55:59 +00:00
|
|
|
BuildRequires: git
|
2014-10-08 14:17:55 +00:00
|
|
|
Requires: erlang-erts >= R17
|
2012-05-27 03:46:10 +00:00
|
|
|
Requires: erlang-inets
|
|
|
|
|
|
|
|
%description
|
|
|
|
Elixir is a programming language built on top of the Erlang VM.
|
|
|
|
As Erlang, it is a functional language built to support distributed,
|
|
|
|
fault-tolerant, non-stop applications with hot code swapping.
|
|
|
|
|
|
|
|
%prep
|
2013-01-07 11:05:24 +00:00
|
|
|
%setup -q
|
2012-10-25 06:34:58 +00:00
|
|
|
rm rebar
|
2014-01-19 19:38:10 +00:00
|
|
|
ln -s "$(which rebar)" .
|
2012-05-27 03:46:10 +00:00
|
|
|
sed -i -e "s/time //g" Makefile
|
|
|
|
find -name '*.bat' -exec rm \{\} \;
|
|
|
|
|
2013-06-13 00:19:24 +00:00
|
|
|
# This contains a failing test. We want `make test` for most tests, but
|
|
|
|
# this deals with ANSI codes which rpmbuild strips.
|
|
|
|
rm lib/elixir/test/elixir/io/ansi_test.exs
|
2013-07-04 20:12:25 +00:00
|
|
|
sed -i '/IO.ANSI/d' lib/elixir/test/doc_test.exs
|
2013-06-13 00:19:24 +00:00
|
|
|
|
2012-05-27 03:46:10 +00:00
|
|
|
%build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
2014-10-08 14:17:55 +00:00
|
|
|
LANG="en_US.UTF-8"; make test
|
2012-05-27 03:46:10 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version}
|
2012-08-01 16:55:59 +00:00
|
|
|
cp -ra bin lib %{buildroot}/%{_datadir}/%{name}/%{version}
|
2012-05-27 03:46:10 +00:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
2013-08-04 08:45:23 +00:00
|
|
|
ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex,mix} %{buildroot}/%{_bindir}/
|
2012-05-27 03:46:10 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENSE LEGAL
|
|
|
|
%{_bindir}/elixir
|
|
|
|
%{_bindir}/elixirc
|
|
|
|
%{_bindir}/iex
|
2013-08-04 08:45:23 +00:00
|
|
|
%{_bindir}/mix
|
2012-05-27 03:46:10 +00:00
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2014-10-22 14:56:03 +00:00
|
|
|
* Wed Oct 22 2014 Jochen Schmitt <Jochen herr-schmitt de> - 1.0.2-1
|
|
|
|
- New upstream release
|
|
|
|
|
2014-10-09 08:57:22 +00:00
|
|
|
* Thu Oct 9 2014 Jochen Schmitt <Jochen herr-schmitt de> - 1.0.1-2
|
|
|
|
- Fix wrong Erlang release specification in the BRs
|
|
|
|
|
2014-10-08 19:32:21 +00:00
|
|
|
* Wed Oct 8 2014 Ricky Elrod <relrod@redhat.com> - 1.0.1-1
|
|
|
|
- Update to upstream 1.0.1.
|
|
|
|
|
2014-10-08 14:17:55 +00:00
|
|
|
* Sat Oct 4 2014 Jochen Schmitt <Jochen herr-schmitt de> - 1.0-1
|
|
|
|
- New upstream release
|
|
|
|
|
2014-06-07 10:07:57 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-12 09:31:40 +00:00
|
|
|
* Wed Mar 12 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.5-1
|
|
|
|
- Update to upstream 0.12.5.
|
|
|
|
|
2014-02-13 17:07:29 +00:00
|
|
|
* Thu Feb 13 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.4-1
|
|
|
|
- Update to upstream 0.12.4.
|
|
|
|
|
2014-02-04 12:10:09 +00:00
|
|
|
* Tue Feb 4 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.3-1
|
|
|
|
- Update to upstream 0.12.3.
|
|
|
|
|
2014-01-19 08:37:28 +00:00
|
|
|
* Sun Jan 19 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.2-2
|
|
|
|
- Remove patch that is no longer needed.
|
|
|
|
|
2014-01-17 14:44:19 +00:00
|
|
|
* Fri Jan 17 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.12.2-1
|
|
|
|
- Update to upstream 0.12.2.
|
|
|
|
|
2014-01-11 08:28:11 +00:00
|
|
|
* Sat Jan 11 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.1-1
|
|
|
|
- Update to upstream 0.12.1.
|
|
|
|
|
2013-12-15 22:50:14 +00:00
|
|
|
* Sun Dec 15 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.0-1
|
|
|
|
- Update to upstream 0.12.0.
|
|
|
|
|
2013-11-24 23:26:36 +00:00
|
|
|
* Sun Nov 24 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.11.2-1
|
|
|
|
- Update to upstream 0.11.2.
|
|
|
|
|
2013-11-03 03:25:50 +00:00
|
|
|
* Sat Nov 2 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.11.0-1
|
|
|
|
- Update to upstream 0.11.0.
|
|
|
|
|
2013-10-08 21:47:53 +00:00
|
|
|
* Tue Oct 8 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.3-1
|
2013-10-08 21:42:13 +00:00
|
|
|
- Update to upstream 0.10.3.
|
|
|
|
|
2013-09-04 18:33:47 +00:00
|
|
|
* Wed Sep 4 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.2-1
|
|
|
|
- Update to upstream 0.10.2.
|
|
|
|
|
2013-08-04 08:45:23 +00:00
|
|
|
* Sun Aug 4 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.1-2
|
|
|
|
- Copy mix binary, too.
|
|
|
|
|
2013-08-03 20:52:16 +00:00
|
|
|
* Sat Aug 3 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.1-1
|
|
|
|
- Update to upstream 0.10.1.
|
|
|
|
|
2013-08-03 09:32:19 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-16 05:07:17 +00:00
|
|
|
* Tue Jul 16 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.0-1
|
|
|
|
- Update to upstream 0.10.0.
|
|
|
|
|
2013-07-04 20:12:25 +00:00
|
|
|
* Wed Jun 12 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9.3-2
|
|
|
|
- Fix patch, doctest.exs was renamed to doc_test.exs
|
|
|
|
|
2013-07-04 20:01:26 +00:00
|
|
|
* Wed Jun 12 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9.3-1
|
|
|
|
- Update to upstream 0.9.3.
|
|
|
|
|
2013-06-12 22:22:36 +00:00
|
|
|
* Wed Jun 12 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9.1-1
|
|
|
|
- Update to upstream 0.9.1.
|
|
|
|
- Clean up specfile.
|
|
|
|
|
|
|
|
* Sun Feb 17 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.8.1-1
|
2013-02-27 02:56:47 +00:00
|
|
|
- Update to upstream 0.8.1.
|
|
|
|
|
2013-02-13 20:47:46 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-07 11:05:24 +00:00
|
|
|
* Mon Jan 7 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.7.2-1
|
|
|
|
- Update to upstream 0.7.2.
|
|
|
|
|
2012-10-25 06:34:58 +00:00
|
|
|
* Mon Oct 22 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.7.0-1.20121022git833e9e9
|
|
|
|
- Update to upstream 0.7.0.
|
2012-08-01 16:55:59 +00:00
|
|
|
|
2012-10-25 06:34:58 +00:00
|
|
|
* Wed Aug 1 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.6.0-1.20120801git109919c
|
|
|
|
- Update to upstream 0.6.0.
|
2012-07-18 23:13:01 +00:00
|
|
|
|
2012-05-27 03:46:10 +00:00
|
|
|
* Sat May 26 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.5.0-1.20120526git6052352
|
|
|
|
- Initial build.
|