1
0
forked from pool/lua-luasystem

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

Initial import of luasystem version 0.2.1

OBS-URL: https://build.opensuse.org/request/show/743575
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasystem?expand=0&rev=1
This commit is contained in:
Matej Cepl 2019-10-28 16:49:38 +00:00 committed by Git OBS Bridge
commit 1ab9ec24a5
6 changed files with 103 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_luasystem.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun May 19 19:08:01 CEST 2019 - Matej Cepl <mcepl@suse.com>
- Initial import of luasystem version 0.2.1

68
lua_luasystem.spec Normal file
View File

@ -0,0 +1,68 @@
#
# spec file for package lua_luasystem
#
# 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 flavor lua51
%define mod_name luasystem
%define upversion 0.2.1
Version: 0.21
Release: 0
Summary: Platform independent system calls for Lua
License: MIT
URL: https://github.com/o-lim/luasystem
Source: https://github.com/o-lim/luasystem/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
BuildRequires: %{flavor}-devel
Requires: %{flavor}
%if "%{flavor}" == "lua53"
Provides: lua-luasystem = %{version}
Obsoletes: lua-luasystem < %{version}
%endif
%if "%{flavor}" == ""
Name: lua-luasystem
ExclusiveArch: do_not_build
%else
Name: %{flavor}-luasystem
%endif
%description
Adds a Lua API for making platform independent system calls.
%prep
%setup -q -n %{mod_name}-%{upversion}
%build
make %{?_smp_mflags} \
CWARNS="%{optflags}" \
LUAINC_linux=%{lua_incdir} \
CDIR_linux?=%{_lib}/lua/%{lua_version} \
LUAPREFIX_linux?=%{_prefix} \
linux
%install
%make_install \
CWARNS="%{optflags}" \
LUAINC_linux=%{lua_incdir} \
LUAPREFIX_linux?=%{_prefix} \
CDIR_linux?=%{_lib}/lua/%{lua_version} \
linux
%files
%dir %{lua_archdir}/system
%{lua_archdir}/system/*
%changelog

3
luasystem-0.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b83f68e9edbba92bef11ec0ccf1e5bb779a7337653f7bb77e0240c8e85c0b94
size 8058