Blame elixir.spec

Timothée Floure cebe42
%global debug_package %{nil}
Timothée Floure cebe42
Ricky Elrod 286007
Name:           elixir
Timothée Floure 285562
Version:        1.7.3
Timothée Floure d4db77
Release:        1%{?dist}
9a2bf2
Summary:        A modern approach to programming for the Erlang VM
Ricky Elrod 286007
Timothée Floure cebe42
License:        ASL 2.0
Ricky Elrod 286007
URL:            http://elixir-lang.org/
Ricky Elrod 35d50a
Timothée Floure 3f4ad0
Source0:        https://github.com/elixir-lang/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Timothée Floure cebe42
Source1:        https://github.com/elixir-lang/%{name}/releases/download/v%{version}/Docs.zip#/%{name}-%{version}-doc.zip
Martin Langhoff 6b382a
#BuildArch:      noarch
Ricky Elrod 286007
BuildRequires:  erlang-rebar
Ricky Elrod 57a409
BuildRequires:  git
Timothée Floure cebe42
BuildRequires:  sed
4a416f
Requires: erlang-compiler
4a416f
Requires: erlang-crypto
4a416f
Requires: erlang-erts
4a416f
Requires: erlang-inets
4a416f
Requires: erlang-kernel
4a416f
Requires: erlang-parsetools
4a416f
Requires: erlang-public_key
4a416f
Requires: erlang-stdlib
4a416f
Requires: erlang-tools
4a416f
Ricky Elrod 286007
Ricky Elrod 286007
%description
Ricky Elrod 286007
Elixir is a programming language built on top of the Erlang VM.
Ricky Elrod 286007
As Erlang, it is a functional language built to support distributed,
Ricky Elrod 286007
fault-tolerant, non-stop applications with hot code swapping.
Ricky Elrod 286007
Ricky Elrod 286007
%prep
Timothée Floure cebe42
# Unpack the HTML documentation (Source1)
Timothée Floure cebe42
%setup -q -T -c -n %{name}-%{version}/docs -a 1
Timothée Floure cebe42
find -name ".build" -exec rm \{\} \;
Timothée Floure cebe42
Timothée Floure cebe42
# Unpack elixir itself (Source0)
Timothée Floure cebe42
%setup -q -D
Timothée Floure d5df53
Timothée Floure d5df53
# Remove windows-specific scripts
Ricky Elrod 286007
find -name '*.bat' -exec rm \{\} \;
Ricky Elrod 286007
Ricky Elrod 286632
# This contains a failing test. We want `make test` for most tests, but
Ricky Elrod 286632
# this deals with ANSI codes which rpmbuild strips.
Ricky Elrod 286632
rm lib/elixir/test/elixir/io/ansi_test.exs
Ricky Elrod 286632
Timothée Floure 64239f
# Remove VCS-specific files
Timothée Floure 64239f
find . -name .gitignore -delete
Timothée Floure 64239f
find . -name .gitkeep -delete
Timothée Floure 64239f
Timothée Floure d5df53
# Let the Makefile speak!
Timothée Floure d5df53
sed -i 's/$(Q)//g' Makefile
Timothée Floure d5df53
Ricky Elrod 286007
%build
Martin Langhoff 6b382a
export LANG="en_US.UTF-8"
Timothée Floure d5df53
export REBAR=/usr/bin/rebar
Timothée Floure d5df53
export ERL_LIBS=/usr/share/erlang/lib/
Timothée Floure d5df53
export REBAR_DEPS_PREFER_LIBS=TRUE
Timothée Floure d5df53
make compile
Timothée Floure cebe42
make build_man
Timothée Floure cebe42
Ricky Elrod 286007
%check
Ricky Elrod 027161
export LANG="en_US.UTF-8"
Timothée Floure d5df53
make test
Ricky Elrod 286007
Ricky Elrod 286007
%install
Ricky Elrod 286007
mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version}
Ricky Elrod 57a409
cp -ra bin lib %{buildroot}/%{_datadir}/%{name}/%{version}
Ricky Elrod 286007
Ricky Elrod 286007
mkdir -p %{buildroot}/%{_bindir}
Ricky Elrod 08dcc4
ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex,mix} %{buildroot}/%{_bindir}/
Ricky Elrod 286007
Timothée Floure cebe42
# Manual pages
Timothée Floure cebe42
mkdir -p %{buildroot}/%{_mandir}/man1
Timothée Floure cebe42
cp -a man/elixir.1 man/elixirc.1 man/iex.1 man/mix.1 %{buildroot}/%{_mandir}/man1
Timothée Floure cebe42
Ricky Elrod 286007
%files
Timothée Floure cebe42
%license LICENSE
Ricky Elrod 286007
%{_bindir}/elixir
Ricky Elrod 286007
%{_bindir}/elixirc
Ricky Elrod 286007
%{_bindir}/iex
Ricky Elrod 08dcc4
%{_bindir}/mix
Ricky Elrod 286007
%{_datadir}/%{name}
Timothée Floure cebe42
%{_mandir}/man1/elixir.1*
Timothée Floure cebe42
%{_mandir}/man1/elixirc.1*
Timothée Floure cebe42
%{_mandir}/man1/iex.1*
Timothée Floure cebe42
%{_mandir}/man1/mix.1*
Timothée Floure cebe42
Timothée Floure cebe42
%package doc
Timothée Floure cebe42
License: ASL 2.0
Timothée Floure cebe42
Summary: Documentation for the elixir language and tools
Ricky Elrod 286007
Timothée Floure cebe42
%description doc
Timothée Floure cebe42
HTML documentation for eex, elixir, iex, logger and mix.
Timothée Floure cebe42
Timothée Floure cebe42
%files doc
Timothée Floure cebe42
%license docs/LICENSE
Timothée Floure cebe42
%doc docs/doc/eex docs/doc/elixir docs/doc/iex docs/doc/logger docs/doc/mix
Martin Langhoff 1f9ec6
Ricky Elrod 286007
%changelog
Timothée Floure 285562
* Mon Oct 22 2018 Timothée Floure <fnux@fedoraproject.org> - 1.7.3-1
Timothée Floure 285562
- New upstream release
Timothée Floure 285562
Timothée Floure 3f4ad0
* Sun Aug 19 2018 Timothée Floure <fnux@fedoraproject.org> - 1.7.2-1
Timothée Floure 3f4ad0
- New upstream release
Timothée Floure 3f4ad0
Timothée Floure 1c77d8
* Mon Jul 30 2018 Timothée Floure <fnux@fedoraproject.org> - 1.7.1-1
Timothée Floure 1c77d8
- New upstream release
Timothée Floure 1c77d8
Timothée Floure d4db77
* Thu Jul 26 2018 Timothée Floure <fnux@fedoraproject.org> - 1.7.0-1
Timothée Floure d4db77
- New upstream release
Timothée Floure d4db77
- Remove deprecated 'Group' tag
Timothée Floure d4db77
Fedora Release Engineering 103a0c
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.6-2
Fedora Release Engineering 103a0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 103a0c
7f4f1d
* Wed Jun 27 2018 Peter Lemenkov <lemenkov@gmail.com> - 1.6.6-1
7f4f1d
- New upstream release
7f4f1d
dc7685
* Wed Jun 20 2018 Timothée Floure <fnux@fedoraproject.org> - 1.6.5-3
Timothée Floure 64239f
- Fix version-control-internal-file rpmlint errors
Timothée Floure 64239f
- Fix hidden-file-or-dir rpmlint warnings
Timothée Floure 64239f
Timothée Floure d5df53
* Thu Jun 07 2018 Timothée Floure <fnux@fedoraproject.org> - 1.6.5-2
Timothée Floure d5df53
- Switch from the rebar_* macros to upstream's makefile (without forgetting to
Timothée Floure d5df53
  properly set the environment) and fix the build section.
Timothée Floure d5df53
- Backport patch0 from upstream to fix some failing tests.
Timothée Floure d5df53
91740a
* Wed May 23 2018 Peter Lemenkov <lemenkov@gmail.com> - 1.6.5-1
91740a
- New upstream release
91740a
a95def
* Wed May 23 2018 Peter Lemenkov <lemenkov@gmail.com> - 1.6.0-1
a95def
- New upstream release
a95def
Timothée Floure 69f0ff
* Mon Apr 30 2018 Timothée Floure <fnux@fedoraproject.org> - 1.5.0-4
Timothée Floure cebe42
- Package the man pages of elixir, elixirc, iex and mix.
Timothée Floure cebe42
- Package (elixir-doc subpackage) the HTML documentation of eex, elixir, iex, logger and mix.
Timothée Floure cebe42
- Change the license from ASL 2.0 and ERPL to ASL 2.0 only.
Timothée Floure cebe42
Fedora Release Engineering 99ac69
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
Fedora Release Engineering 99ac69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 99ac69
Fedora Release Engineering 4d3e0c
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
Fedora Release Engineering 4d3e0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Fedora Release Engineering 4d3e0c
Martin Langhoff 82a9fe
* Thu Jul 27 2017 Martin Langhoff <martin@laptop.org> - 1.5.0-1
Martin Langhoff 82a9fe
- New upstream release
Martin Langhoff 82a9fe
Martin Langhoff 6b382a
* Thu Jul 27 2017 Martin Langhoff <martin@laptop.org> - 1.4.5-2
Martin Langhoff 6b382a
- Make arch specific, fixes #1470583
Martin Langhoff 6b382a
- Fix build warnings about locale
Martin Langhoff 6b382a
Martin Langhoff 9d79b7
* Wed Jul 26 2017 Martin Langhoff <martin@laptop.org> - 1.4.5-1
Martin Langhoff 9d79b7
- New upstream release
Martin Langhoff 9d79b7
Fedora Release Engineering 3ec212
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
Fedora Release Engineering 3ec212
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Fedora Release Engineering 3ec212
Martin Langhoff 30f419
* Mon Apr 17 2017 Martin Langhoff <martin@laptop.org> - 1.4.2-1
Martin Langhoff 30f419
- New upstream release
Martin Langhoff 30f419
Fedora Release Engineering b24de0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-2
Fedora Release Engineering b24de0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering b24de0
Martin Langhoff 8244e3
* Tue Nov  8 2016 Martin Langhoff <martin@laptop.org> - 1.3.4-1
Martin Langhoff 8244e3
- New upstream release
Martin Langhoff 8244e3
Martin Langhoff df9e31
* Mon Sep 19 2016 Martin Langhoff <martin@laptop.org> - 1.3.3-1
Martin Langhoff df9e31
- New upstream release.
Martin Langhoff df9e31
Martin Langhoff 82dc07
* Thu Sep 1 2016 Martin Langhoff <martin@laptop.org> - 1.3.2-1
Martin Langhoff 9377ff
- New upstream release
Martin Langhoff 169547
Martin Langhoff a9b8c6
* Tue Jun 28 2016 Martin Langhoff <martin@laptop.org> - 1.3.1-1
Martin Langhoff a9b8c6
- New upstream release
Martin Langhoff a9b8c6
Martin Langhoff 169547
* Fri Jun 24 2016 Martin Langhoff <martin@laptop.org> - 1.3.0-1
Martin Langhoff 169547
- New upstream release
Martin Langhoff 169547
Martin Langhoff 0da09e
* Fri Jun 10 2016 Martin Langhoff <martin@laptop.org> - 1.2.6-1
Martin Langhoff 0da09e
- New upstream release 1.2.6
Martin Langhoff 0da09e
4a416f
* Fri May 20 2016 Peter Lemenkov <lemenkov@gmail.com> - 1.2.5-2
Martin Langhoff 8244e3
- Manually specify Requires for now - our dependency generator cannot handle
4a416f
  noarch packages yet.
4a416f
9a2bf2
* Fri May 20 2016 Peter Lemenkov <lemenkov@gmail.com> - 1.2.5-1
9a2bf2
- Ver. 1.2.5
9a2bf2
Martin Langhoff 981c53
* Mon Apr 4 2016 Martin Langhoff <martin@laptop.org> - 1.2.4-1
Martin Langhoff 981c53
- New upstream release.
Martin Langhoff 981c53
Martin Langhoff e49a85
* Wed Feb 24 2016 Martin Langhoff <martin@laptop.org> - 1.2.3-1
Martin Langhoff e49a85
- New upstream release.
Martin Langhoff e49a85
Martin Langhoff 1f9ec6
* Mon Feb 8 2016 Martin Langhoff <martin@laptop.org> - 1.2.2-1
Martin Langhoff 1f9ec6
- New upstream release.
Martin Langhoff 1f9ec6
3f2c8c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
3f2c8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3f2c8c
Ricky Elrod 359a50
* Thu Oct 29 2015 Ricky Elrod <relrod@redhat.com> - 1.1.1-1
Ricky Elrod 359a50
- Latest upstream release.
Ricky Elrod 359a50
- Re-enable test suite to see what breaks.
Ricky Elrod 359a50
Jochen Schmitt cc37f9
* Tue Jun 30 2015 Jochen Schmitt <Jochen herr-schmitt de> - 1.0.5-1
Jochen Schmitt cc37f9
- New upstream release
Jochen Schmitt 26f1cd
- set a UTF-8 locale to build elixir
Jochen Schmitt 5a23b5
- Disable test suite
Jochen Schmitt cc37f9
9c2e70
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
9c2e70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9c2e70
Jochen Schmitt 33f807
* Fri Feb 13 2015 Jochen Schmitt <Jochen herr-schmitt de> - 1.0.3-1
Jochen Schmitt 33f807
- New upstream release
Jochen Schmitt 33f807
Jochen Schmitt 3663bd
* Wed Oct 22 2014 Jochen Schmitt <Jochen herr-schmitt de> - 1.0.2-1
Jochen Schmitt 3663bd
- New upstream release
Jochen Schmitt 3663bd
Jochen Schmitt 214a97
* Thu Oct  9 2014 Jochen Schmitt <Jochen herr-schmitt de> - 1.0.1-2
Jochen Schmitt 214a97
- Fix wrong Erlang release specification in the BRs
Jochen Schmitt 214a97
Ricky Elrod e6e066
* Wed Oct 8 2014 Ricky Elrod <relrod@redhat.com> - 1.0.1-1
Ricky Elrod e6e066
- Update to upstream 1.0.1.
Ricky Elrod e6e066
Jochen Schmitt 0f4c72
* Sat Oct  4 2014 Jochen Schmitt <Jochen herr-schmitt de> - 1.0-1
Jochen Schmitt 0f4c72
- New upstream release
Jochen Schmitt 0f4c72
274306
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-2
274306
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
274306
Ricky Elrod c9dbff
* Wed Mar 12 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.5-1
Ricky Elrod c9dbff
- Update to upstream 0.12.5.
Ricky Elrod c9dbff
Ricky Elrod bef6ba
* Thu Feb 13 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.4-1
Ricky Elrod bef6ba
- Update to upstream 0.12.4.
Ricky Elrod bef6ba
Ricky Elrod 422007
* Tue Feb 4 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.3-1
Ricky Elrod 422007
- Update to upstream 0.12.3.
Ricky Elrod 422007
Ricky Elrod 9f4498
* Sun Jan 19 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.2-2
Ricky Elrod 9f4498
- Remove patch that is no longer needed.
Ricky Elrod 9f4498
Patrick Uiterwijk ea7e89
* Fri Jan 17 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.12.2-1
Patrick Uiterwijk ea7e89
- Update to upstream 0.12.2.
Patrick Uiterwijk ea7e89
Ricky Elrod 9c7b00
* Sat Jan 11 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.1-1
Ricky Elrod 9c7b00
- Update to upstream 0.12.1.
Ricky Elrod 9c7b00
Ricky Elrod 3b5053
* Sun Dec 15 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.12.0-1
Ricky Elrod 3b5053
- Update to upstream 0.12.0.
Ricky Elrod 3b5053
Ricky Elrod ce6dcd
* Sun Nov 24 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.11.2-1
Ricky Elrod ce6dcd
- Update to upstream 0.11.2.
Ricky Elrod ce6dcd
Ricky Elrod cd3a15
* Sat Nov 2 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.11.0-1
Ricky Elrod cd3a15
- Update to upstream 0.11.0.
Ricky Elrod cd3a15
Ricky Elrod 7672eb
* Tue Oct 8 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.3-1
Ricky Elrod 65d359
- Update to upstream 0.10.3.
Ricky Elrod 65d359
Ricky Elrod e10d36
* Wed Sep 4 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.2-1
Ricky Elrod e10d36
- Update to upstream 0.10.2.
Ricky Elrod e10d36
Ricky Elrod 08dcc4
* Sun Aug 4 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.1-2
Ricky Elrod 08dcc4
- Copy mix binary, too.
Ricky Elrod 08dcc4
Ricky Elrod 703e20
* Sat Aug 3 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.1-1
Ricky Elrod 703e20
- Update to upstream 0.10.1.
Ricky Elrod 703e20
7bfdd6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
7bfdd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7bfdd6
Ricky Elrod c9dd7b
* Tue Jul 16 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.10.0-1
Ricky Elrod c9dd7b
- Update to upstream 0.10.0.
Ricky Elrod c9dd7b
Ricky Elrod 0e5ad6
* Wed Jun 12 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9.3-2
Ricky Elrod 0e5ad6
- Fix patch, doctest.exs was renamed to doc_test.exs
Ricky Elrod 0e5ad6
Ricky Elrod e5e705
* Wed Jun 12 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9.3-1
Ricky Elrod e5e705
- Update to upstream 0.9.3.
Ricky Elrod e5e705
Ricky Elrod 35d50a
* Wed Jun 12 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9.1-1
Ricky Elrod 35d50a
- Update to upstream 0.9.1.
Ricky Elrod 35d50a
- Clean up specfile.
Ricky Elrod 35d50a
Ricky Elrod 35d50a
* Sun Feb 17 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.8.1-1
Ricky Elrod a5f23f
- Update to upstream 0.8.1.
Ricky Elrod a5f23f
f34efd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
f34efd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f34efd
Ricky Elrod cf9b4e
* Mon Jan 7 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.7.2-1
Ricky Elrod cf9b4e
- Update to upstream 0.7.2.
Ricky Elrod cf9b4e
Ricky Elrod f6052e
* Mon Oct 22 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.7.0-1.20121022git833e9e9
Ricky Elrod f6052e
- Update to upstream 0.7.0.
Ricky Elrod 57a409
Ricky Elrod f6052e
* Wed Aug 1 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.6.0-1.20120801git109919c
Ricky Elrod f6052e
- Update to upstream 0.6.0.
7607bd
Ricky Elrod 286007
* Sat May 26 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.5.0-1.20120526git6052352
Ricky Elrod 286007
- Initial build.