forked from pool/elixir
c5ac5de614
Add unzip to "build require" - Elixir 1.9.4 * Bug fixes Mix [mix local.hex] Remove invalid deprecation warning on mix local.hex command - Elixir 1.9.3 * Enhancements Mix [mix release] Add :tar option for releases to create a tarball * Bug fixes Mix [mix release] Use default_release option when name is not given [mix release] Make release's boot script contents deterministic * Deprecations Mix [mix archive.install] Warn when installing from URI [mix escript.install] Warn when installing from URI - Elixir 1.9.2 * Enhancements Mix [mix release] Allow {:from_app, app_name} as a version for releases * Bug fixes Elixir [Kernel] Ensure compilation works for a variable named super [Kernel] Ensure capture operator of a local function expands correctly inside a macro [Regex] Ensure dynamic recompilation of regexes considers options. This fixes an issue where parsing the protocol in URI.parse/1 seemingly looked case sensitive when running Elixir precompiled on another machine * Mix [mix release] Use Base.encode32 when generating cookie to avoid unsafe chars [mix release] Fix install command on Windows [mix release] Quote executable path on Windows to ensure it works on directories with spaces - Elixir 1.9.1 * Enhancements Mix [mix format] Print relative paths in --check-formatted output [mix release] Support included applications * Bug fixes Elixir [Code] Fix formatter wrongly removing nested parens in nested calls * Logger [Logger] Do not crash translator on poorly formatted supervisor names * Mix [mix compile] Raise readable error for mismatched sources during compilation [mix release] Preserve UTF8 encoding in release config files OBS-URL: https://build.opensuse.org/request/show/755456 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=48
56 lines
2.3 KiB
RPMSpec
56 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package elixir-doc
|
|
#
|
|
# Copyright (c) 2019 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: elixir-doc
|
|
Version: 1.9.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
|