10
0

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

ok

OBS-URL: https://build.opensuse.org/request/show/744101
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-mediator_lua?expand=0&rev=1
This commit is contained in:
2019-10-30 11:27:01 +00:00
committed by Git OBS Bridge
commit 32c99f2cf8
6 changed files with 97 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

4
_multibuild Normal file
View File

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

4
lua-mediator_lua.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Oct 29 17:35:49 CET 2019 - Matej Cepl <mcepl@suse.com>
- Initial import of lua-mediator_lua version 1.1.2-0

62
lua-mediator_lua.spec Normal file
View File

@@ -0,0 +1,62 @@
#
# spec file for package lua-mediator_lua
#
# 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 mediator_lua
%define upversion 1.1.2-0
Version: 1.120
Release: 0
Summary: Command-line argument parsing module for Lua
License: MIT
Group: Development/Libraries/Other
Url: https://github.com/Olivine-Labs/mediator_lua
Source: https://github.com/Olivine-Labs/mediator_lua/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
BuildRequires: %{flavor}-devel
BuildArch: noarch
Requires: %{flavor}
%if "%{flavor}" == "lua53"
Provides: lua-mediator_lua = %{version}
Obsoletes: lua-mediator_lua < %{version}
%endif
%if "%{flavor}" == ""
Name: lua-mediator_lua
ExclusiveArch: do_not_build
%else
Name: %{flavor}-mediator_lua
%endif
%description
This module adds support for accepting CLI arguments easily using multiple
notations and argument types.
mediator_lua allows you to define required, optional, and flag arguments.
%prep
%setup -q -n %{mod_name}-%{upversion}
%build
/bin/true
%install
install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir} src/mediator.lua
%files
%{lua_noarchdir}/mediator*
%changelog

BIN
mediator_lua-1.1.2-0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.