[packages/lutok] - updated to 0.5
qboosh
qboosh at pld-linux.org
Wed Nov 27 19:57:36 CET 2024
commit a35a2cb7d46697f098268d50d32342af433e0060
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 27 19:40:35 2024 +0100
- updated to 0.5
lutok-default-lua.patch | 12 +++++-------
lutok.spec | 15 ++++++++-------
2 files changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/lutok.spec b/lutok.spec
index 9f3d491..53ee0ae 100644
--- a/lutok.spec
+++ b/lutok.spec
@@ -1,19 +1,20 @@
Summary: Lightweight C++ API library for Lua
Summary(pl.UTF-8): Lekka biblioteka API C++ dla Lua
Name: lutok
-Version: 0.4
-Release: 4
+Version: 0.5
+Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/jmmv/lutok/releases
-Source0: https://github.com/jmmv/lutok/releases/download/%{name}-%{version}/lutok-%{version}.tar.gz
-# Source0-md5: 5da43895d9209f8c19d79433dd046b3f
+Source0: https://github.com/jmmv/lutok/archive/%{name}-%{version}/lutok-%{version}.tar.gz
+# Source0-md5: 4773caf9dcfbfa58358d1cd8718d4430
Patch0: %{name}-default-lua.patch
URL: https://github.com/jmmv/lutok
-BuildRequires: autoconf >= 2.65
+BuildRequires: autoconf >= 2.68
BuildRequires: automake >= 1:1.9
BuildRequires: libatf-c++-devel >= 0.20
BuildRequires: libatf-sh-devel >= 0.20
+BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: libtool >= 2:2
BuildRequires: lua-devel >= 5.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -116,7 +117,7 @@ Static liblutok library.
Statyczna biblioteka liblutok.
%prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
%patch0 -p1
%build
@@ -153,7 +154,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING NEWS README
+%doc AUTHORS COPYING NEWS.md README.md
%doc %{_docdir}/lutok-doc-%{version}
%dir %{_libexecdir}/%{name}
%{pkgtestsdir}
diff --git a/lutok-default-lua.patch b/lutok-default-lua.patch
index d2c9f02..5a9fbbb 100644
--- a/lutok-default-lua.patch
+++ b/lutok-default-lua.patch
@@ -1,19 +1,17 @@
---- lutok-0.4/m4/lua.m4.orig 2013-10-11 23:44:43.000000000 +0200
-+++ lutok-0.4/m4/lua.m4 2020-10-26 06:21:59.318204354 +0100
-@@ -34,7 +34,11 @@
+--- lutok-lutok-0.5/m4/lua.m4.orig 2024-11-26 02:09:07.000000000 +0100
++++ lutok-lutok-0.5/m4/lua.m4 2024-11-27 19:34:41.919832785 +0100
+@@ -34,6 +34,10 @@ dnl
AC_DEFUN([KYUA_LUA], [
lua_found=no
-- for lua_release in 5.2 5.1; do
+ PKG_CHECK_MODULES([LUA], [lua >= 5.1],
+ [lua_found=yes], [true])
+
+ if test "${lua_found}" = no; then
-+ for lua_release in 5.4 5.3 5.2 5.1; do
+ for lua_release in ${LUA_VERSION:-5.4 5.3 5.2 5.1}; do
if test "${lua_found}" = no; then
PKG_CHECK_MODULES([LUA], [lua${lua_release} >= ${lua_release}],
- [lua_found=yes], [true])
-@@ -43,13 +47,10 @@
+@@ -43,13 +47,10 @@ AC_DEFUN([KYUA_LUA], [
PKG_CHECK_MODULES([LUA], [lua-${lua_release} >= ${lua_release}],
[lua_found=yes], [true])
fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lutok.git/commitdiff/a35a2cb7d46697f098268d50d32342af433e0060
More information about the pld-cvs-commit
mailing list