commit b04acc40c4079f0ef8f5e499565f3e632c25c99207249662a170717394793e28 Author: Matej Cepl Date: Mon Oct 28 12:31:07 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/LDoc-1.4.6.tar.gz b/LDoc-1.4.6.tar.gz new file mode 100644 index 0000000..306fb46 --- /dev/null +++ b/LDoc-1.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b73e78a0325fb3c295d015ddb60b5cee5b647cecb5c50ce8f01319b53bd536f +size 126080 diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..a01285a --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + +lua51 +lua53 + diff --git a/lua_ldoc.changes b/lua_ldoc.changes new file mode 100644 index 0000000..d5c2ae3 --- /dev/null +++ b/lua_ldoc.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun May 19 19:08:01 CEST 2019 - Matej Cepl + +- Initial import of lua_ldoc diff --git a/lua_ldoc.spec b/lua_ldoc.spec new file mode 100644 index 0000000..f720540 --- /dev/null +++ b/lua_ldoc.spec @@ -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