elixir/elixir-doc.spec

56 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package elixir-doc
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: elixir-doc
Accepting request 647625 from home:gsantomaggio:branches:devel:languages:erlang - Elixir 1.7.4 * Bug fixes [Calendar] Fix for converting from negative iso days on New Year in a leap year [Kernel] Ensure @spec, @callback, @type and friends can be read accordingly [Module] Avoid warnings when using Module.eval_quoted in the middle of existing definitions [mix archive.build] Unload previous archive versions before building [mix format] Expand paths so mix format path\for\windows.ex works [mix test] Ensure that --cover displays correct coverage in an umbrella app - Elixir 1.7.3 * Bug fixes [ExUnit.Assertions] Do not attempt to expand try/1 as it is a special form [mix compile.app] Do not include applications with runtime: false as a runtime dependency for applications coming from Hex [mix compile.app] Do not include applications with runtime: false as a runtime dependency for applications coming from Hex - Elixir 1.7.2 * Bug fixes [Kernel] Do not emit warnings for repeated docs over different clauses due to false positives [mix compile] Properly mark top-level dependencies as optional and as runtime. This fixes a bug where Mix attempted to start optional dependencies of a package when those optional dependencies were not available [mix compile] Avoid deadlock when a config has a timestamp later than current time [mix test] Do not fail suite if there are no test files - Elixir 1.7.1 * Bug fixes [Calendar] Work-around a Dialyzer bug that causes it to loop for a long time, potentially indefinitely - Elixir 1.7 Elixir v1.7 is the last release to support Erlang/OTP 19. We recommend everyone to migrate to Erlang/OTP 20+. See the full release notes here: https://github.com/elixir-lang/elixir/releases/tag/v1.7.0 OBS-URL: https://build.opensuse.org/request/show/647625 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=31
2018-11-09 18:20:42 +01:00
Version: 1.7.4
Release: 0
Summary: Documentation for elixir
License: Apache-2.0
Group: Documentation/Other
Url: http://elixir-lang.org
Source0: https://github.com/elixir-lang/elixir/archive/v%{version}.tar.gz#/elixir-%{version}.tar.gz
BuildRequires: elixir
BuildRequires: elixir-ex_doc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: elixir = %{version}
%description
Documentation for the Elixir language.
%prep
%setup -q -n elixir-%{version}
%build
# Elixir wants UTF-8 locale, force it
export LANG=en_US.UTF-8
ex_doc "Elixir" "%{version}" "lib/elixir/ebin" -m "Kernel" -u "https://github.com/elixir-lang/elixir" -o doc/elixir -p http://elixir-lang.org/docs.html
ex_doc "EEx" "%{version}" "lib/eex/ebin" -m "EEx" -u "https://github.com/elixir-lang/elixir" -o doc/eex -p http://elixir-lang.org/docs.html
ex_doc "Mix" "%{version}" "lib/mix/ebin" -m "Mix" -u "https://github.com/elixir-lang/elixir" -o doc/mix -p http://elixir-lang.org/docs.html
ex_doc "IEx" "%{version}" "lib/iex/ebin" -m "IEx" -u "https://github.com/elixir-lang/elixir" -o doc/iex -p http://elixir-lang.org/docs.html
ex_doc "ExUnit" "%{version}" "lib/ex_unit/ebin" -m "ExUint" -u "https://github.com/elixir-lang/elixir" -o doc/ex_unit -p http://elixir-lang.org/docs.html
ex_doc "Logger" "%{version}" "lib/logger/ebin" -m "Logger" -u "https://github.com/elixir-lang/elixir" -o doc/logger -p http://elixir-lang.org/docs.html
%install
%files
%defattr(-,root,root)
%doc doc
%changelog