9c94c27b |
%global debug_package %{nil}
Name: elixir
Summary: A modern approach to programming for the Erlang VM |
eca71be8 |
Version: 1.8.2 |
9c8727eb |
Release: 2%{?dist} |
9c94c27b |
License: ASL 2.0
URL: http://elixir-lang.org/
Source0: https://github.com/elixir-lang/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Vendor: VMware, Inc.
Distribution: Photon
Group: Development/Languages |
eca71be8 |
%define sha1 elixir=62265bb3660bfc17a1ad209be9ca9304ae9d3035 |
9c94c27b |
BuildRequires: git
BuildRequires: sed
BuildRequires: erlang
Requires: erlang |
9c8727eb |
Conflicts: toybox < 0.8.2-3 |
9c94c27b |
%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 -n %{name}-%{version}
%build
export LANG="en_US.UTF-8"
make compile
%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,mix} %{buildroot}/%{_bindir}/
%files
%license LICENSE
%{_bindir}/elixir
%{_bindir}/elixirc
%{_bindir}/iex
%{_bindir}/mix
%{_datadir}/%{name}
%changelog |
9c8727eb |
* Tue Jun 30 2020 Prashant S Chauhan <psinghchauha@vmware.com> 1.8.2-2
- Do not conflict with toybox >= 0.8.2-3 |
eca71be8 |
* Tue Oct 29 2019 Keerthana K <keerthanak@vmware.com> 1.8.2-1
- Update to 1.8.2 |
9c94c27b |
* Mon Aug 26 2019 Keerthana K <keerthanak@vmware.com> 1.5.0-1
- Initial package for PhotonOS. |