Files
erlang-edown/erlang-edown.spec
Matwey Kornilov 1d37e27c60 Accepting request 974451 from home:jubalh:branches:devel:languages:erlang
- Update to version 0.8.4+git.20220112.3c4f660:
  * Fix typos
  * fix conditional macros in edoc_compat
  * Fix compilation under OTP 24, delete rebar2
  * Remain backwards compatible with older Erlang versions
  * Fix incompatibilities with new EDoc
  * added hex attributes
- Run spec-cleaner
- Update URL

OBS-URL: https://build.opensuse.org/request/show/974451
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-edown?expand=0&rev=4
2022-05-03 16:41:34 +00:00

53 lines
1.6 KiB
RPMSpec

#
# spec file for package erlang-edown
#
# Copyright (c) 2022 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 https://bugs.opensuse.org/
#
%define mod_ver %(echo "%{version}" | cut -d "+" -f1)
Name: erlang-edown
Version: 0.8.4+git.20220112.3c4f660
Release: 0
Summary: EDoc extension for generating Github-flavored Markdown
License: ErlPL-1.1
Group: Development/Libraries/Other
URL: https://github.com/uwiger/edown
Source: edown-%{version}.tar.gz
BuildRequires: erlang-rebar
Requires: erlang
%description
EDoc extension for generating Github-flavored Markdown.
%prep
%setup -q -n edown-%{version}
%build
%{rebar_set_vsn_cache} %{mod_ver}
%{rebar} compile
%install
for dir in ebin priv ; do
install -d %{buildroot}%{erlang_libdir}/edown-%{mod_ver}/${dir}
cp -r ${dir}/* %{buildroot}%{erlang_libdir}/edown-%{mod_ver}/${dir}/
done
%files
%dir %{erlang_libdir}/edown-%{mod_ver}
%{erlang_libdir}/edown-%{mod_ver}/ebin
%{erlang_libdir}/edown-%{mod_ver}/priv
%changelog