Name: luajit Version: 2.0.5 Release: 3mamba Summary: A Just-In-Time Compiler for Lua Group: Applications/Development Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto URL: https://luajit.org/luajit.html Source: https://luajit.org/download/LuaJIT-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libgcc ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A Just-In-Time Compiler for Lua %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n LuaJIT-%{version} %build %make amalg \ CFLAGS="%{optflags} -fPIC" \ PREFIX=%{_prefix} \ TARGET_STRIP=: \ MULTILIB=%{_lib} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ CFLAGS="%{optflags} -fPIC" \ PREFIX=%{_prefix} \ DESTDIR=%{buildroot} \ MULTILIB=%{_lib} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/luajit %{_bindir}/luajit-%{version} %dir %{_datadir}/luajit-%{version} %dir %{_datadir}/luajit-%{version}/jit %{_mandir}/man1/%{name}* %files -n lib%{name} %defattr(-,root,root) %{_datadir}/luajit-%{version}/jit/*.lua %{_libdir}/libluajit-5.1.so.* %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/luajit-2.0 %{_includedir}/luajit-2.0/*.h %{_includedir}/luajit-2.0/lua.hpp %{_libdir}/libluajit-5.1.a %{_libdir}/pkgconfig/luajit.pc %changelog * Fri Apr 24 2020 Silvan Calarco 2.0.5-3mamba - added CFLAGS to compile with -fPIC * Thu Apr 02 2020 Silvan Calarco 2.0.5-2mamba - enable debug package, libluajit: require luajit, cleanups * Thu Apr 02 2020 Ercole 'ercolinux' Carpanetto 2.0.5-1mamba - package created using the webbuild interface