## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 12; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: lujavrite Version: 1.0.2 Release: %autorelease Summary: Lua library for calling Java code License: Apache-2.0 URL: https://github.com/mizdebsk/lujavrite ExclusiveArch: %{java_arches} Source0: https://github.com/mizdebsk/lujavrite/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: lua-devel BuildRequires: java-21-openjdk-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 %autosetup -p1 -C %build export JAVA_HOME=%{_jvmdir}/jre-21-openjdk ./build.sh %install install -D -p -m 0755 lujavrite.so %{buildroot}%{lua_libdir}/%{name}.so %check export JAVA_HOME=%{_jvmdir}/jre-21-openjdk lua test.lua %files %{lua_libdir}/* %license LICENSE NOTICE %doc README.md %changelog ## START: Generated by rpmautospec * Thu Sep 26 2024 Mikolaj Izdebski - 1.0.2-12 - Explicitly build with java-21-openjdk-devel * Thu Jul 18 2024 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Mar 03 2023 Mikolaj Izdebski - 1.0.2-1 - Update to upstream version 1.0.2 * Wed Mar 01 2023 Mikolaj Izdebski - 1.0.1-1 - Initial packaging ## END: Generated by rpmautospec