commit b632e0deac1bedea4e506e58f11777255b355a5b6662627f6f1f51bd912ac079 Author: Tomáš Chvátal Date: Mon Aug 21 10:53:05 2017 +0000 Accepting request 517897 from home:alarrosa:branches:devel:languages:lua Add LICENSE file too OBS-URL: https://build.opensuse.org/request/show/517897 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-ldbus?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..45924e0 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/daurnimator/ldbus + lua-ldbus + 0.0+git%cd.%h + git + e277e22eecbc1234aea70c7edf18a86266e841b1 + enable + + + xz + *.tar + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..560c5f8 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/daurnimator/ldbus + e277e22eecbc1234aea70c7edf18a86266e841b1 \ No newline at end of file diff --git a/lua-ldbus-0.0+git20161023.e277e22.tar.xz b/lua-ldbus-0.0+git20161023.e277e22.tar.xz new file mode 100644 index 0000000..72c0a81 --- /dev/null +++ b/lua-ldbus-0.0+git20161023.e277e22.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c543922f9763d1992a91fd8a80143919e050352dfe73f2cc398cc53e9aa49ee8 +size 49856 diff --git a/lua-ldbus.changes b/lua-ldbus.changes new file mode 100644 index 0000000..6a9abe2 --- /dev/null +++ b/lua-ldbus.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Fri Aug 18 15:35:41 UTC 2017 - opensuse-packaging@opensuse.org + +- Update to version 0.0+git20161023.e277e22: + * rockspec: Add library to external_dependencies + * .gitignore: add .rock files + * Add binding to dbus_bus_get_private + * Mention get_private in README + * src/: Fix segfault when callback registered from a thread which gets collected + * README: Fix formatting in table + * rockspec: Formatting + * rockspec: Only claim compat up to 5.3 + * rockspec: Add libdir for dbus + * Allow overriding the pkg-config executable + +------------------------------------------------------------------- +Fri Aug 18 15:31:07 UTC 2017 - alarrosa@suse.com + +- Initial release diff --git a/lua-ldbus.spec b/lua-ldbus.spec new file mode 100644 index 0000000..e0b82ac --- /dev/null +++ b/lua-ldbus.spec @@ -0,0 +1,66 @@ +# +# 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 ldbus +Version: 0.0+git20161023.e277e22 +Release: 0 +Summary: Lua bindings to dbus +License: MIT +Group: Development/Libraries/Other +Url: https://github.com/daurnimator/ldbus/ +Source: lua-ldbus-%{version}.tar.xz +BuildRequires: pkgconfig(dbus-1) +BuildRequires: %{flavor}-devel +Requires: %{flavor} +%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 +ldbus is a C binding to dbus for Lua. + +%prep +%setup -q -n lua-ldbus-%{version} +%if "%{flavor}" == "lua52" +sed -i -e "s/lua5.3/lua5.2/" src/Makefile +%endif +%if "%{flavor}" == "lua51" +sed -i -e "s/lua5.3/lua5.1/" src/Makefile +%endif + +%build +cd src +make + +%install +cd src +%make_install LUA_LIBDIR='$(DESTDIR)%{lua_archdir}' + +%files +%doc LICENSE +%{lua_archdir}/ldbus.so + +%changelog