forked from pool/lua-markdown
Accepting request 743493 from home:mcepl:branches:devel:languages:lua
Markdown text-to-html markup system OBS-URL: https://build.opensuse.org/request/show/743493 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-markdown?expand=0&rev=1
This commit is contained in:
commit
13c84597c7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>lua51</package>
|
||||||
|
<package>lua53</package>
|
||||||
|
</multibuild>
|
4
lua_markdown.changes
Normal file
4
lua_markdown.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 13:40:09 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Initial import of lua rock Markdown version 0.33
|
63
lua_markdown.spec
Normal file
63
lua_markdown.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#
|
||||||
|
# spec file for package lua_markdown
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define flavor @BUILD_FLAVOR@
|
||||||
|
%define mod_name markdown
|
||||||
|
%define upversion 0.33
|
||||||
|
Version: 0.331
|
||||||
|
Release: 0
|
||||||
|
Summary: Markdown text-to-html markup system
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/mpeterv/markdown
|
||||||
|
Source: https://github.com/mpeterv/markdown/archive/%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
|
||||||
|
BuildRequires: %{flavor}-devel
|
||||||
|
Requires: %{flavor}
|
||||||
|
BuildArch: noarch
|
||||||
|
%if "%{flavor}" == "lua53"
|
||||||
|
Provides: lua-markdown = %{version}
|
||||||
|
Obsoletes: lua-markdown < %{version}
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
Name: lua-markdown
|
||||||
|
ExclusiveArch: do_not_build
|
||||||
|
%else
|
||||||
|
Name: %{flavor}-markdown
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
A pure-lua implementation of the Markdown text-to-html markup system.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{mod_name}-%{upversion}
|
||||||
|
sed -i '\|%{_bindir}/env |d' markdown.lua
|
||||||
|
|
||||||
|
%build
|
||||||
|
/bin/true
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir} markdown.lua
|
||||||
|
|
||||||
|
%check
|
||||||
|
lua%{lua_version} markdown-tests.lua
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{lua_noarchdir}/markdown*
|
||||||
|
|
||||||
|
%changelog
|
3
markdown-0.33.tar.gz
Normal file
3
markdown-0.33.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c94fa6669f3b00a1047c50de4ee26e422a3bacb15ca4ed576b2f4d67d16f1f09
|
||||||
|
size 35028
|
Loading…
x
Reference in New Issue
Block a user