Name: elixir Version: 0.10.0 Release: 1%{?dist} Summary: A modern approach to programming for the Erlang VM Group: Development/Languages # See LEGAL (provided by upstream) for explaination/breakdown. License: ASL 2.0 and ERPL URL: http://elixir-lang.org/ # Source0 retrieved by pulling a Github tarball. # You can obtain the source code by executing: # git clone git://github.com/elixir-lang/elixir.git # git checkout v0.10.0 Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: erlang >= R16B BuildRequires: erlang-rebar BuildRequires: git Requires: erlang-erts >= R16B 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 %setup -q rm rebar sed -i '/REBAR := $(/d' Makefile sed -i '1i REBAR := $(shell which rebar || echo `pwd`/rebar)' Makefile sed -i -e "s/time //g" Makefile find -name '*.bat' -exec rm \{\} \; # 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 sed -i '/IO.ANSI/d' lib/elixir/test/doc_test.exs %build make %{?_smp_mflags} %check make test %install mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version} cp -ra bin lib %{buildroot}/%{_datadir}/%{name}/%{version} mkdir -p %{buildroot}/%{_bindir} ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex} %{buildroot}/%{_bindir}/ %files %doc LICENSE LEGAL %{_bindir}/elixir %{_bindir}/elixirc %{_bindir}/iex %{_datadir}/%{name} %changelog * Tue Jul 16 2013 Ricky Elrod - 0.10.0-1 - Update to upstream 0.10.0. * Wed Jun 12 2013 Ricky Elrod - 0.9.3-2 - Fix patch, doctest.exs was renamed to doc_test.exs * Wed Jun 12 2013 Ricky Elrod - 0.9.3-1 - Update to upstream 0.9.3. * Wed Jun 12 2013 Ricky Elrod - 0.9.1-1 - Update to upstream 0.9.1. - Clean up specfile. * Sun Feb 17 2013 Ricky Elrod - 0.8.1-1 - Update to upstream 0.8.1. * Wed Feb 13 2013 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 7 2013 Ricky Elrod - 0.7.2-1 - Update to upstream 0.7.2. * Mon Oct 22 2012 Ricky Elrod - 0.7.0-1.20121022git833e9e9 - Update to upstream 0.7.0. * Wed Aug 1 2012 Ricky Elrod - 0.6.0-1.20120801git109919c - Update to upstream 0.6.0. * Sat May 26 2012 Ricky Elrod - 0.5.0-1.20120526git6052352 - Initial build.