Sync from SUSE:SLFO:Main lua-luaterm revision 4ee3238c1d105d3df5ca040675f27975

This commit is contained in:
Adrian Schröter 2024-05-03 16:25:28 +02:00
commit 84499528a5
5 changed files with 157 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

5
_multibuild Normal file
View File

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

61
lua-luaterm.changes Normal file
View File

@ -0,0 +1,61 @@
-------------------------------------------------------------------
Wed Jan 25 10:52:05 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
- Opencode %make_build to prevent build failure when not defined.
-------------------------------------------------------------------
Wed Nov 23 10:38:27 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
- Fix missing dependency on lua-macros (boo#1205612)
-------------------------------------------------------------------
Wed Jan 27 15:57:55 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Use %lua_provides macro
-------------------------------------------------------------------
Mon Jul 6 19:06:39 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add lua54 as new build target
-------------------------------------------------------------------
Mon Oct 28 16:53:36 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Run spec-cleaner.
-------------------------------------------------------------------
Mon Oct 30 14:45:32 UTC 2017 - jmatejek@suse.com
- do not build for Lua 5.2
-------------------------------------------------------------------
Thu Aug 10 08:39:57 UTC 2017 - tchvatal@suse.com
- Fix provides/obsoletes for the old package name
-------------------------------------------------------------------
Thu Jul 13 18:19:03 UTC 2017 - tchvatal@suse.com
- Switch to multibuild layout to deploy all lua versions at once
-------------------------------------------------------------------
Thu Jul 13 18:17:50 UTC 2017 - tchvatal@suse.com
- Fix build with namespaced lua
-------------------------------------------------------------------
Wed Jan 4 15:52:54 UTC 2017 - eich@suse.com
- Replaced 'makeinstall' by 'make_install'.
-------------------------------------------------------------------
Mon Oct 17 13:32:19 UTC 2016 - eich@suse.com
- Setting 'download_files' service to mode='localonly'
and adding source tarball. (Required for Factory).
-------------------------------------------------------------------
Wed Oct 12 18:21:45 UTC 2016 - eich@suse.com
- Initial import of lua-term version 0.07

65
lua-luaterm.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package lua-luaterm
#
# Copyright (c) 2022 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@
%define mod_name luaterm
%define rname lua-term
Version: 0.07
Release: 0
Summary: Terminal operations for Lua
License: MIT
URL: https://github.com/hoelzro/lua-term
Source: https://github.com/hoelzro/lua-term/archive/%{version}.tar.gz#$/%{rname}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: lua-macros
Requires: %{flavor}
%lua_provides
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
%description
This package provides terminal operations for Lua
%prep
%setup -q -n %{rname}-%{version}
%build
make %{?_make_output_sync} %{?_smp_mflags} \
CWARNS="%{optflags}" \
LUA_INC=%{lua_incdir} \
LUA_SHARE=%{lua_noarchdir}/term \
LUA_LIBDIR=%{lua_archdir}/term
%install
%make_install \
CWARNS="%{optflags}" \
LUA_INC=%{lua_incdir} \
LUA_SHARE=%{buildroot}%{lua_noarchdir}/term \
LUA_LIBDIR=%{buildroot}%{lua_archdir}/term
%files
%dir %{lua_archdir}/term
%{lua_archdir}/term/core.so*
%dir %{lua_noarchdir}/term
%{lua_noarchdir}/term
%changelog

BIN
lua-term-0.07.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.