forked from pool/lua-lgi
Accepting request 147640 from home:etamPL:branches:X11:windowmanagers
please add lua-lgi to d:l:l OBS-URL: https://build.opensuse.org/request/show/147640 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lgi?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
lgi-0.6.2.tar.gz
Normal file
3
lgi-0.6.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d613d187bb4b1aa1e713ce0528395e12f17ce8950b7375ad451e9fab993daa90
|
||||
size 253037
|
5
lua-lgi.changes
Normal file
5
lua-lgi.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 18:48:57 UTC 2013 - adam@mizerski.pl
|
||||
|
||||
- new package; version 0.6.2
|
||||
|
76
lua-lgi.spec
Normal file
76
lua-lgi.spec
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# spec file for package lua-lgi
|
||||
#
|
||||
# Copyright (c) 2012 Adam Mizerski <adam@mizerski.pl>
|
||||
#
|
||||
# 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 _lua lua
|
||||
%define _name lgi
|
||||
|
||||
Name: %{_lua}-%{_name}
|
||||
Version: 0.6.2
|
||||
Release: 0
|
||||
Summary: Lua bindings to GObject libraries
|
||||
Group: Development/Libraries/Other
|
||||
License: MIT
|
||||
Url: https://github.com/pavouk/lgi
|
||||
Source0: %{_name}-%{version}.tar.gz
|
||||
BuildRequires: %{_lua}-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.8
|
||||
BuildRequires: pkgconfig(gmodule-2.0)
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
Requires: %{_lua}
|
||||
|
||||
%description
|
||||
Dynamic Lua binding to any library which is introspectable
|
||||
using gobject-introspection. Allows using GObject-based libraries
|
||||
directly from Lua.
|
||||
|
||||
%package doc
|
||||
Summary: Lua bindings to GObject libraries - documentation and samples
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
Dynamic Lua binding to any library which is introspectable
|
||||
using gobject-introspection. Allows using GObject-based libraries
|
||||
directly from Lua.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
|
||||
%build
|
||||
make \
|
||||
COPTFLAGS="%{optflags}" \
|
||||
%{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install \
|
||||
PREFIX="%{_prefix}" \
|
||||
LUA_LIBDIR="%{lua_archdir}" \
|
||||
LUA_SHAREDIR="%{lua_noarchdir}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.md
|
||||
%{lua_archdir}/%{_name}/
|
||||
%{lua_noarchdir}/%{_name}.lua
|
||||
%{lua_noarchdir}/%{_name}/
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs samples tools
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user