commit c7a663c4be2440c862ae9712fc10e7eeac95ce9b1c09f148cda2585cb647babf Author: Matej Cepl Date: Thu Apr 2 01:10:35 2020 +0000 - 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 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/_multibuild b/_multibuild new file mode 100644 index 0000000..8711cd1 --- /dev/null +++ b/_multibuild @@ -0,0 +1,5 @@ + +lua51 +lua53 +test + diff --git a/loadkit-1.1.0.tar.gz b/loadkit-1.1.0.tar.gz new file mode 100644 index 0000000..2e6d7e5 --- /dev/null +++ b/loadkit-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39742dd5db94f13886810cf69fc9b3db89bba3180c060384136115c9da431196 +size 5844 diff --git a/lua-loadkit.changes b/lua-loadkit.changes new file mode 100644 index 0000000..7fa9722 --- /dev/null +++ b/lua-loadkit.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Apr 2 01:03:19 UTC 2020 - Matej Cepl + +- Initial packaging effort to package version 1.1.0. diff --git a/lua-loadkit.spec b/lua-loadkit.spec new file mode 100644 index 0000000..2effb9a --- /dev/null +++ b/lua-loadkit.spec @@ -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