SHA256
10
0
forked from pool/lua-lpeg

Accepting request 288544 from home:scarabeus_iv

OBS-URL: https://build.opensuse.org/request/show/288544
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lpeg?expand=0&rev=1
This commit is contained in:
2015-03-03 11:27:49 +00:00
committed by Git OBS Bridge
commit 01be8ec432
5 changed files with 109 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

BIN
lpeg-0.12.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

11
lua-lpeg.changes Normal file
View File

@@ -0,0 +1,11 @@
-------------------------------------------------------------------
Mon Mar 2 18:05:58 UTC 2015 - tchvatal@suse.com
- Version bump to 0.12.1:
* no upstream changelog provided
-------------------------------------------------------------------
Mon Mar 2 17:55:14 UTC 2015 - tchvatal@suse.com
- Initial commit. Required for neovim.

71
lua-lpeg.spec Normal file
View File

@@ -0,0 +1,71 @@
#
# spec file for package lua-lpeg
#
# Copyright (c) 2015 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 mod_name lpeg
Name: lua-%{mod_name}
Version: 0.12.1
Release: 0
Summary: Parsing Expression Grammars For Lua
License: MIT
Group: Development/Libraries/Other
Url: http://www.inf.puc-rio.br/~roberto/lpeg
Source: http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-%{version}.tar.gz
BuildRequires: lua-devel
Requires: lua
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs).
%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 lpeg-%{version}
# Set our cflags
sed -i \
-e 's: -O2: %{optflags}:g' \
makefile
%build
make -j1
%install
mkdir -p %{buildroot}%{_docdir}/%{name}
mkdir -p %{buildroot}%{lua_archdir}
install lpeg.so %{buildroot}%{lua_archdir}
%files
%defattr(-,root,root,-)
%dir %{lua_archdir}
%{lua_archdir}/*
%files doc
%defattr(-,root,root,-)
%doc re.html lpeg.html HISTORY
%changelog