SHA256
12
0
forked from pool/lua-ldoc

Accepting request 743485 from home:mcepl:branches:devel:languages:lua

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

OBS-URL: https://build.opensuse.org/request/show/743485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-ldoc?expand=0&rev=1
This commit is contained in:
Matej Cepl 2019-10-28 12:31:07 +00:00 committed by Git OBS Bridge
commit b04acc40c4
6 changed files with 98 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
LDoc-1.4.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b73e78a0325fb3c295d015ddb60b5cee5b647cecb5c50ce8f01319b53bd536f
size 126080

4
_multibuild Normal file
View File

@ -0,0 +1,4 @@
<multibuild>
<package>lua51</package>
<package>lua53</package>
</multibuild>

4
lua_ldoc.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun May 19 19:08:01 CEST 2019 - Matej Cepl <mcepl@suse.com>
- Initial import of lua_ldoc

63
lua_ldoc.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package lua-lualdoc
#
# Copyright (c) 2017 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/
#
%define flavor @BUILD_FLAVOR@
%define mod_name LDoc
Version: 1.4.6
Release: 0
Summary: LuaDoc-compatible documentation generation system
License: MIT
Group: Development/Libraries/Other
Url: https://github.com/stevedonovan/LDoc
Source: https://github.com/stevedonovan/LDoc/archive/%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildArch: noarch
Requires: %{flavor}
%if "%{flavor}" == "lua53"
Provides: lua-lualdoc = %{version}
Obsoletes: lua-lualdoc < %{version}
%endif
%if "%{flavor}" == ""
Name: lua-ldoc
ExclusiveArch: do_not_build
%else
Name: %{flavor}-ldoc
%endif
%description
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.
%prep
%setup -q -n %{mod_name}-%{version}
%build
/bin/true
%install
mkdir -v -p %{buildroot}%{lua_noarchdir}/ldoc
cp -v -r -p ldoc %{buildroot}%{lua_noarchdir}
%files
%dir %{lua_noarchdir}/ldoc
%{lua_noarchdir}/ldoc*
%changelog