File elixir-doc.spec of Package elixir

# spec file for package elixir-doc
# Copyright (c) 2020 SUSE LLC
# 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

Name:           elixir-doc
Version:        1.9.4
Release:        0
Summary:        Documentation for elixir
License:        Apache-2.0
Group:          Documentation/Other
BuildRequires:  elixir
BuildRequires:  elixir-ex_doc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Requires:       elixir = %{version}

Documentation for the Elixir language.

%setup -q -n elixir-%{version}

# Elixir wants UTF-8 locale, force it
export LANG=en_US.UTF-8
ex_doc "Elixir" "%{version}" "lib/elixir/ebin" -m "Kernel" -u "" -o doc/elixir -p
ex_doc "EEx" "%{version}" "lib/eex/ebin" -m "EEx" -u "" -o doc/eex -p
ex_doc "Mix" "%{version}" "lib/mix/ebin" -m "Mix" -u "" -o doc/mix -p
ex_doc "IEx" "%{version}" "lib/iex/ebin" -m "IEx" -u "" -o doc/iex -p
ex_doc "ExUnit" "%{version}" "lib/ex_unit/ebin" -m "ExUint" -u "" -o doc/ex_unit -p
ex_doc "Logger" "%{version}" "lib/logger/ebin" -m "Logger" -u "" -o doc/logger -p


%doc doc

openSUSE Build Service is sponsored by