File lua-ldoc.spec of Package lua-ldoc

# spec file for package lua-ldoc
# 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

%define flavor @BUILD_FLAVOR@
%define mod_name ldoc
%define rname LDoc
Version:        1.4.6
Release:        0
Summary:        LuaDoc-compatible documentation generation system
License:        MIT
Group:          Development/Libraries/Other
BuildRequires:  %{flavor}-devel
BuildArch:      noarch
Requires:       %{flavor}
%if "%{flavor}" == ""
Name:           lua-ldoc
ExclusiveArch:  do_not_build
Name:           %{flavor}-ldoc

LDoc is a LuaDoc-compatible documentation generator which can
also process C extension source. Markdown may be optionally used
to render comments, as well as integrated readme documentation
and pretty-printed example files.

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


mkdir -v -p %{buildroot}%{lua_noarchdir}/ldoc
cp -v -r -p ldoc %{buildroot}%{lua_noarchdir}

%dir %{lua_noarchdir}/ldoc

openSUSE Build Service is sponsored by