SHA256
10
0
forked from pool/lua-lua-dbus

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
This commit is contained in:
Tomáš Chvátal
2017-08-21 11:33:26 +00:00
committed by Git OBS Bridge
commit 13b7700217
8 changed files with 132 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

5
_multibuild Normal file
View File

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

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/antlarr/lua-dbus</param>
<param name="filename">lua-dbus</param>
<param name="versionformat">0.0+git%cd.%h</param>
<param name="scm">git</param>
<param name="revision">8fe38d0b3e8c93343abc5c9a276b018054f07459</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled" />
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/antlarr/lua-dbus</param>
<param name="changesrevision">8fe38d0b3e8c93343abc5c9a276b018054f07459</param></service></servicedata>

View File

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

19
lua-lua-dbus.changes Normal file
View File

@@ -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

61
lua-lua-dbus.spec Normal file
View File

@@ -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