6 Star 1 Fork 12

src-openEuler/luarocks
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
luarocks.spec 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2025-08-24 20:24 +08:00 . 3.12.2
Name: luarocks
Version: 3.12.2
Release: 1
Summary: A deployment and management system for Lua modules
License: MIT
URL: https://luarocks.org/
Source0: https://luarocks.github.io/luarocks/releases/%{name}-%{version}.tar.gz
Patch0: luarocks-3.5.0-dynamic_libdir.patch
BuildArch: noarch
BuildRequires: make
BuildRequires: lua-devel
Requires: unzip
Requires: zip
Requires: (/usr/bin/wget or /usr/bin/curl)
Requires: (/usr/bin/md5sum or /usr/bin/openssl or /usr/bin/md5)
%description
LuaRocks allows you to install Lua modules as self-contained packages
called "rocks", which also contain version dependency
information. This information is used both during installation, so
that when one rock is requested all rocks it depends on are installed
as well, and at run time, so that when a module is required, the
correct version is loaded. LuaRocks supports both local and remote
repositories, and multiple local rocks trees.
%prep
%autosetup -p1
%build
./configure \
--prefix=%{_prefix} \
--lua-version=%{lua_version} \
--with-lua=%{_prefix}
%make_build
%install
%make_install
mkdir -p %{buildroot}%{_prefix}/lib/luarocks/rocks-%{lua_version}
%files
%license COPYING
%doc README.md
%dir %{_sysconfdir}/luarocks
%config(noreplace) %{_sysconfdir}/luarocks/config-%{lua_version}.lua
%{_bindir}/luarocks
%{_bindir}/luarocks-admin
%{_prefix}/lib/luarocks
%{lua_pkgdir}/luarocks
%changelog
* Sun Aug 24 2025 Funda Wang <fundawang@yeah.net> - 3.12.2-1
- update to 3.12.2
* Tue Aug 1 2023 Xinwei Hu <shinwell_hu@openeuler.sh> - 3.9.2-1
- Decouple luarocks from openresty
- Upgrade to 3.9.2
. Improved connectivity resiliency
. A couple of minor feature additions
* Thu Jan 5 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 3.5.0-3
- fix build error for loongarch64
* Thu Mar 24 2022 liyanan <liyanan32@huawei.com> - 3.5.0-2
- remove %dist
* Fri Jul 30 2021 Joey Ma <majunjie@apache.org> - 3.5.0-1
- Initial package with 3.5.0, which only suppports openresty luajit for now
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/luarocks.git
git@gitee.com:src-openeuler/luarocks.git
src-openeuler
luarocks
luarocks
master

搜索帮助