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
|
Name: luajit
|
||||||
Version: 2.0.5
|
Version: 2.1.0~beta3
|
||||||
Release: 3mamba
|
Release: 1mamba
|
||||||
Summary: A Just-In-Time Compiler for Lua
|
Summary: A Just-In-Time Compiler for Lua
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://luajit.org/luajit.html
|
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
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ldconfig
|
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Just-In-Time Compiler for Lua
|
A Just-In-Time Compiler for Lua
|
||||||
@ -41,7 +42,7 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n LuaJIT-%{version}
|
%setup -q -n LuaJIT-%{pkgver}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make amalg \
|
%make amalg \
|
||||||
@ -58,6 +59,7 @@ This package contains libraries and header files for developing applications tha
|
|||||||
DESTDIR=%{buildroot} \
|
DESTDIR=%{buildroot} \
|
||||||
MULTILIB=%{_lib}
|
MULTILIB=%{_lib}
|
||||||
|
|
||||||
|
ln -s luajit-%{pkgver} %{buildroot}%{_bindir}/luajit
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -68,25 +70,29 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/luajit
|
%{_bindir}/luajit
|
||||||
%{_bindir}/luajit-%{version}
|
%{_bindir}/luajit-%{pkgver}
|
||||||
%dir %{_datadir}/luajit-%{version}
|
%dir %{_datadir}/luajit-%{pkgver}
|
||||||
%dir %{_datadir}/luajit-%{version}/jit
|
%dir %{_datadir}/luajit-%{pkgver}/jit
|
||||||
|
%{_datadir}/luajit-%{pkgver}/jit/*.lua
|
||||||
%{_mandir}/man1/%{name}*
|
%{_mandir}/man1/%{name}*
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/luajit-%{version}/jit/*.lua
|
|
||||||
%{_libdir}/libluajit-5.1.so.*
|
%{_libdir}/libluajit-5.1.so.*
|
||||||
|
%doc COPYRIGHT
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/luajit-2.0
|
%dir %{_includedir}/luajit-%{apiver}
|
||||||
%{_includedir}/luajit-2.0/*.h
|
%{_includedir}/luajit-%{apiver}/*.h
|
||||||
%{_includedir}/luajit-2.0/lua.hpp
|
%{_includedir}/luajit-%{apiver}/lua.hpp
|
||||||
%{_libdir}/libluajit-5.1.a
|
%{_libdir}/libluajit-5.1.a
|
||||||
%{_libdir}/pkgconfig/luajit.pc
|
%{_libdir}/pkgconfig/luajit.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Apr 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.5-3mamba
|
||||||
- added CFLAGS to compile with -fPIC
|
- added CFLAGS to compile with -fPIC
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user