update to 2.1.0~beta3 [release 2.1.0~beta3-1mamba;Thu Oct 14 2021]
This commit is contained in:
parent
eb63a6c523
commit
0ad7e2b140
34
luajit.spec
34
luajit.spec
@ -1,21 +1,22 @@
|
||||
%define pkgver %(echo %version | tr '~' -)
|
||||
%define apiver %(echo %version | cut -d. -f1-2)
|
||||
Name: luajit
|
||||
Version: 2.0.5
|
||||
Release: 3mamba
|
||||
Version: 2.1.0~beta3
|
||||
Release: 1mamba
|
||||
Summary: A Just-In-Time Compiler for Lua
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://luajit.org/luajit.html
|
||||
Source: https://luajit.org/download/LuaJIT-%{version}.tar.gz
|
||||
Source: https://github.com/LuaJIT/LuaJIT/archive/v%{pkgver}.tar.gz
|
||||
#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
|
||||
@ -41,7 +42,7 @@ This package contains libraries and header files for developing applications tha
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n LuaJIT-%{version}
|
||||
%setup -q -n LuaJIT-%{pkgver}
|
||||
|
||||
%build
|
||||
%make amalg \
|
||||
@ -58,6 +59,7 @@ This package contains libraries and header files for developing applications tha
|
||||
DESTDIR=%{buildroot} \
|
||||
MULTILIB=%{_lib}
|
||||
|
||||
ln -s luajit-%{pkgver} %{buildroot}%{_bindir}/luajit
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -68,25 +70,29 @@ This package contains libraries and header files for developing applications tha
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/luajit
|
||||
%{_bindir}/luajit-%{version}
|
||||
%dir %{_datadir}/luajit-%{version}
|
||||
%dir %{_datadir}/luajit-%{version}/jit
|
||||
%{_bindir}/luajit-%{pkgver}
|
||||
%dir %{_datadir}/luajit-%{pkgver}
|
||||
%dir %{_datadir}/luajit-%{pkgver}/jit
|
||||
%{_datadir}/luajit-%{pkgver}/jit/*.lua
|
||||
%{_mandir}/man1/%{name}*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/luajit-%{version}/jit/*.lua
|
||||
%{_libdir}/libluajit-5.1.so.*
|
||||
%doc COPYRIGHT
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/luajit-2.0
|
||||
%{_includedir}/luajit-2.0/*.h
|
||||
%{_includedir}/luajit-2.0/lua.hpp
|
||||
%dir %{_includedir}/luajit-%{apiver}
|
||||
%{_includedir}/luajit-%{apiver}/*.h
|
||||
%{_includedir}/luajit-%{apiver}/lua.hpp
|
||||
%{_libdir}/libluajit-5.1.a
|
||||
%{_libdir}/pkgconfig/luajit.pc
|
||||
|
||||
%changelog
|
||||
* Thu Oct 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0~beta3-1mamba
|
||||
- update to 2.1.0~beta3
|
||||
|
||||
* Fri Apr 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.5-3mamba
|
||||
- added CFLAGS to compile with -fPIC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user