Пакет lua5.4-module-ldap: Specfile

Name: lua5.4-module-ldap
Release: alt1

Summary: LDAP client library for Lua, using OpenLDAP
License: MIT
Url: https://github.com/lualdap/lualdap/
Group: Development/Other

VCS: https://github.com/lualdap/lualdap/
Source: %name-%version.tar

BuildRequires: lua5.4
BuildRequires: liblua5.4-devel
BuildRequires: libldap-devel

LuaLDAP is a simple interface from Lua to an LDAP client. It enables a Lua
program to:
* Connect to an LDAP server;
* Execute any operation (search, add, compare, delete, modify and rename);
* Retrieve entries and references of the search result.


sed -Ei 's,^((LUA|INST)_LIBDIR\s=\s).*$,\1%lua_modulesdir,' config
export CFLAGS="%optflags"
%make_build LUA_LIBDIR=%lua_modulesdir


%doc README.md docs/*

* Sun Jul 03 2022 Vladimir D. Seleznev <vseleznv@altlinux.org>
- Updated to v1.3.0-2-g5714c5f.

* Thu May 21 2020 Vladimir D. Seleznev <vseleznv@altlinux.org>
- Initial build for ALT Sisyphus based on heavily reworked Fedora spec.