SHA256
10
0
forked from pool/lua-ldbus

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
This commit is contained in:
Tomáš Chvátal
2017-08-21 10:53:05 +00:00
committed by Git OBS Bridge
commit b632e0deac
8 changed files with 137 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/daurnimator/ldbus</param>
<param name="filename">lua-ldbus</param>
<param name="versionformat">0.0+git%cd.%h</param>
<param name="scm">git</param>
<param name="revision">e277e22eecbc1234aea70c7edf18a86266e841b1</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/daurnimator/ldbus</param>
<param name="changesrevision">e277e22eecbc1234aea70c7edf18a86266e841b1</param></service></servicedata>

View File

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

19
lua-ldbus.changes Normal file
View File

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

66
lua-ldbus.spec Normal file
View File

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