2023-03-01 16:52:02 +00:00
|
|
|
Name: lujavrite
|
2023-03-03 10:28:33 +00:00
|
|
|
Version: 1.0.2
|
2023-07-20 13:20:07 +00:00
|
|
|
Release: 2%{?dist}
|
2023-03-01 16:52:02 +00:00
|
|
|
Summary: Lua library for calling Java code
|
|
|
|
License: Apache-2.0
|
|
|
|
URL: https://github.com/mizdebsk/lujavrite
|
2023-03-03 12:39:12 +00:00
|
|
|
ExclusiveArch: %{java_arches}
|
2023-03-01 16:52:02 +00:00
|
|
|
|
|
|
|
Source0: https://github.com/mizdebsk/lujavrite/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: lua-devel
|
|
|
|
BuildRequires: java-devel
|
|
|
|
|
|
|
|
%{?lua_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
LuJavRite is a rock-solid Lua library that allows calling Java code
|
|
|
|
from Lua code. It does so by launching embedded Java Virtual Machine
|
|
|
|
and using JNI interface to invoke Java methods.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
./build.sh
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -D -p -m 0755 lujavrite.so %{buildroot}%{lua_libdir}/%{name}.so
|
|
|
|
|
|
|
|
%check
|
|
|
|
lua test.lua
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{lua_libdir}/*
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2023-07-20 13:20:07 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-03-03 10:28:33 +00:00
|
|
|
* Fri Mar 03 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.2-1
|
|
|
|
- Update to upstream version 1.0.2
|
|
|
|
|
2023-03-01 16:52:02 +00:00
|
|
|
* Wed Mar 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.1-1
|
|
|
|
- Initial packaging
|