forked from pool/lua-loadkit
- Initial packaging effort to package version 1.1.0.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-loadkit?expand=0&rev=1
This commit is contained in:
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
|
5
_multibuild
Normal file
5
_multibuild
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>lua51</package>
|
||||||
|
<package>lua53</package>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
BIN
loadkit-1.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
loadkit-1.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
4
lua-loadkit.changes
Normal file
4
lua-loadkit.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 2 01:03:19 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging effort to package version 1.1.0.
|
68
lua-loadkit.spec
Normal file
68
lua-loadkit.spec
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
#
|
||||||
|
# spec file for package lua-loadkit
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define flavor @BUILD_FLAVOR@
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%define flavor lua51
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
|
%define mod_name loadkit
|
||||||
|
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
Name: lua-loadkit
|
||||||
|
ExclusiveArch: do_not_build
|
||||||
|
%else
|
||||||
|
Name: %{flavor}-loadkit
|
||||||
|
%endif
|
||||||
|
Version: 1.1.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Loadkit allows you to load arbitrary files within the Lua package path
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
URL: https://github.com/leafo/loadkit
|
||||||
|
Source: https://github.com/leafo/%{mod_name}/archive/v%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{flavor}-moonscript
|
||||||
|
BuildRequires: %{flavor}-busted
|
||||||
|
BuildRequires: %{flavor}-devel
|
||||||
|
Requires: %{flavor}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Loadkit lets you register new file extension handlers that
|
||||||
|
can be opened with require, or you can just search for files
|
||||||
|
of any extension using the current search path.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{mod_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
# moonc loadkit.moon ... missing alt_getopt
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -v -D -m 0644 -t %{buildroot}%{lua_noarchdir} -p loadkit.lua
|
||||||
|
|
||||||
|
%check
|
||||||
|
busted
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%{lua_noarchdir}/%{mod_name}*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user