SHA256
12
0
forked from pool/lua-BitOp

osc copypac from project:devel:languages:lua package:BitOp revision:5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-BitOp?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal 2017-07-13 16:04:46 +00:00 committed by Git OBS Bridge
commit 0213c8aa02
6 changed files with 118 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

16
BitOp.changes Normal file
View File

@ -0,0 +1,16 @@
-------------------------------------------------------------------
Thu Jul 13 15:14:48 UTC 2017 - tchvatal@suse.com
- Switch to mutlibuild providing package for all compatible lua
versions
-------------------------------------------------------------------
Tue Jul 11 08:12:10 UTC 2017 - tchvatal@suse.com
- Fix build with properly namespaced lua5.1
-------------------------------------------------------------------
Wed Dec 2 14:27:12 UTC 2015 - ronisbr@gmail.com
- Initial version based on devel:languages:lua/lua-bitop

71
BitOp.spec Normal file
View File

@ -0,0 +1,71 @@
#
# spec file for package lua51-BitOp
#
# 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@
%if "%flavor" == ""
ExclusiveArch: do_not_build
%endif
%define mod_name BitOp
Name: %{flavor}-%{mod_name}
Version: 1.0.2
Release: 0
Summary: Lua Bit Operations Module
License: MIT
Group: Development/Libraries/Other
Url: http://bitop.luajit.org/index.html
Source: http://bitop.luajit.org/download/LuaBitOp-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: %{flavor}-devel
Requires: %{flavor}
%description
Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations
on numbers.
%package doc
Summary: Lua Documentation for %{mod_name}
Group: Development/Languages/Other
Requires: %{name} = %{version}
%description doc
Documentation and examples included with the library, sometimes
generated by luadoc or ldoc.
%prep
%setup -q -n LuaBitOp-%{version}
%build
export CFLAGS="%{optflags} -I%{lua_incdir}"
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_docdir}/%{name}
mkdir -p %{buildroot}%{lua_archdir}
install bit.so %{buildroot}%{lua_archdir}
%files
%defattr(-,root,root,-)
%dir %{lua_archdir}
%{lua_archdir}/*
%files doc
%defattr(-,root,root,-)
%doc README
%changelog

3
LuaBitOp-1.0.2.tar.gz Normal file
View File

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

4
_multibuild Normal file
View File

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