forked from pool/lua-lualdap
Accepting request 927369 from home:gmbr3:Lua
New prosody dep https://prosody.im/doc/packagers#navbar OBS-URL: https://build.opensuse.org/request/show/927369 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lualdap?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
|
5
_multibuild
Normal file
5
_multibuild
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>lua51</package>
|
||||||
|
<package>lua53</package>
|
||||||
|
<package>lua54</package>
|
||||||
|
</multibuild>
|
16
_service
Normal file
16
_service
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/lualdap/lualdap.git</param>
|
||||||
|
<param name="revision">v1.3.0</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual"/>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/lualdap/lualdap.git</param>
|
||||||
|
<param name="changesrevision">be380f5d98f779c813a4fb4ae1400262366fc8d4</param></service></servicedata>
|
5
lua-lualdap.changes
Normal file
5
lua-lualdap.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 25 19:53:48 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
- initial version 1.3.0
|
||||||
|
|
59
lua-lualdap.spec
Normal file
59
lua-lualdap.spec
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
#
|
||||||
|
# spec file for package lua-lualdap
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%define mod_name lualdap
|
||||||
|
Version: 1.3.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Lua binding to OpenLDAP
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
URL: https://github.com/lualdap/lualdap
|
||||||
|
Source0: %{mod_name}-%{version}.tar.xz
|
||||||
|
BuildRequires: %{flavor}-devel
|
||||||
|
BuildRequires: lua-macros
|
||||||
|
BuildRequires: openldap2-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
Requires: %{flavor}
|
||||||
|
%{lua_provides}
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
Name: lua-lualdap
|
||||||
|
ExclusiveArch: do_not_build
|
||||||
|
%else
|
||||||
|
Name: %{flavor}-lualdap
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
LuaLDAP is a simple interface from Lua to an LDAP client, in fact it is a bind to OpenLDAP client or ADSI
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{mod_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build CFLAGS="%{optflags} -std=c99" LUA_LIBDIR=%{_libdir} LDAP_LIBDIR=%{_libdir} \
|
||||||
|
LBER_LIBDIR=%{_libdir} \
|
||||||
|
%{nil}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install INST_LIBDIR=%{lua_archdir}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license docs/license.md
|
||||||
|
%{lua_archdir}/lualdap.so
|
||||||
|
|
||||||
|
%changelog
|
3
lualdap-1.3.0.obscpio
Normal file
3
lualdap-1.3.0.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be9e1607947913e38319e058548ca4f62bf950e8fc655faad4b7f680f818e36b
|
||||||
|
size 197643
|
5
lualdap.obsinfo
Normal file
5
lualdap.obsinfo
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
name: lualdap
|
||||||
|
version: 1.3.0
|
||||||
|
mtime: 1622900982
|
||||||
|
commit: be380f5d98f779c813a4fb4ae1400262366fc8d4
|
||||||
|
|
Reference in New Issue
Block a user