commit 13b77002177b2529de7e4dcb93da6f0e2e04147913a443d4669c24d3ec227562 Author: Tomáš Chvátal Date: Mon Aug 21 11:33:26 2017 +0000 Accepting request 517906 from home:alarrosa:branches:devel:languages:lua Don't leave %build section empty OBS-URL: https://build.opensuse.org/request/show/517906 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lua-dbus?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..b9bdec1 --- /dev/null +++ b/_multibuild @@ -0,0 +1,5 @@ + +lua51 +lua52 +lua53 + diff --git a/_service b/_service new file mode 100644 index 0000000..ca77de0 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/antlarr/lua-dbus + lua-dbus + 0.0+git%cd.%h + git + 8fe38d0b3e8c93343abc5c9a276b018054f07459 + enable + + + xz + *.tar + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..a7ef489 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/antlarr/lua-dbus + 8fe38d0b3e8c93343abc5c9a276b018054f07459 diff --git a/lua-dbus-0.0+git20170818.8fe38d0.tar.xz b/lua-dbus-0.0+git20170818.8fe38d0.tar.xz new file mode 100644 index 0000000..0333081 --- /dev/null +++ b/lua-dbus-0.0+git20170818.8fe38d0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc44f8a349de27e1a427c9dea661f3210bd3ca9e38f9b9c8a0b3c55c85efe53b +size 6592 diff --git a/lua-lua-dbus.changes b/lua-lua-dbus.changes new file mode 100644 index 0000000..234f3c8 --- /dev/null +++ b/lua-lua-dbus.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Fri Aug 18 16:25:14 UTC 2017 - opensuse-packaging@opensuse.org + +- Update to version 0.0+git20170818.8fe38d0: + * fix not calling callbacks when property changed to false + * update test file + * fix requiring in lua 5.2 + * add dbus.Interface + * note my ldbus fork + * add rockspec + * add ldbus to deps + * Modify rockspec to install nicely with luarocks + * use current luarocks version of ldbus (does not require my PR) + * Create LICENSE + +------------------------------------------------------------------- +Fri Aug 18 15:31:07 UTC 2017 - alarrosa@suse.com + +- Initial release diff --git a/lua-lua-dbus.spec b/lua-lua-dbus.spec new file mode 100644 index 0000000..d47a09b --- /dev/null +++ b/lua-lua-dbus.spec @@ -0,0 +1,61 @@ +# +# spec file for package lua-ldbus +# +# 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@ +%define mod_name lua-dbus +Version: 0.0+git20170818.8fe38d0 +Release: 0 +Summary: Convenient dbus api for lua +License: MIT +Group: Development/Libraries/Other +Url: https://github.com/antlarr/lua-dbus/ +Source: lua-dbus-%{version}.tar.xz +BuildRequires: pkgconfig(dbus-1) +BuildRequires: %{flavor}-ldbus +BuildRequires: %{flavor}-devel +Requires: %{flavor} +Requires: %{flavor}-ldbus +%if "%{flavor}" == "lua53" +Provides: lua-%{mod_name} = %{version} +Obsoletes: lua-%{mod_name} < %{version} +%endif +%if "%{flavor}" == "" +Name: lua-%{mod_name} +ExclusiveArch: do_not_build +%else +Name: %{flavor}-%{mod_name} +%endif + +%description +lua-dbus is a convenient lua api for dbus + +%prep +%setup -q -n lua-dbus-%{version} + +%build +: + +%install +mkdir -p %{buildroot}%{lua_noarchdir}/lua-dbus +cp -Ra awesome init.lua interface.lua %{buildroot}%{lua_noarchdir}/lua-dbus/ + +%files +%doc LICENSE +%{lua_noarchdir}/lua-dbus + +%changelog