[packages/lua-penlight] Initial

arekm arekm at pld-linux.org
Wed May 20 09:16:27 CEST 2026


commit 59d68d47cf70e65b8c199fd4c2814d5761fa7589
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 09:16:05 2026 +0200

    Initial

 lua-penlight.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
---
diff --git a/lua-penlight.spec b/lua-penlight.spec
new file mode 100644
index 0000000..3bd1bfa
--- /dev/null
+++ b/lua-penlight.spec
@@ -0,0 +1,47 @@
+Summary:	Lua utility libraries loosely based on the Python standard libraries
+Summary(pl.UTF-8):	Biblioteki narzędziowe Lua wzorowane na bibliotece standardowej Pythona
+Name:		lua-penlight
+Version:	1.15.0
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	https://github.com/lunarmodules/Penlight/archive/%{version}/Penlight-%{version}.tar.gz
+# Source0-md5:	d4fac1bb40cde024213e69abcd437447
+URL:		https://lunarmodules.github.io/Penlight/
+Requires:	lua51
+Requires:	lua51-filesystem
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Penlight is a set of pure Lua libraries focusing on input data
+handling (such as reading configuration files), functional programming
+(such as map, reduce, placeholder expressions, etc.), and OS path
+management. Much of the functionality is inspired by the Python
+standard libraries.
+
+%description -l pl.UTF-8
+Penlight to zbiór bibliotek napisanych w czystym Lua, skupiających się
+na obsłudze danych wejściowych (np. czytaniu plików konfiguracyjnych),
+programowaniu funkcyjnym (map, reduce, wyrażenia z zastępnikami itp.)
+oraz zarządzaniu ścieżkami systemowymi. Wiele funkcji jest wzorowanych
+na bibliotece standardowej Pythona.
+
+%prep
+%setup -q -n Penlight-%{version}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/lua/5.1/pl
+cp -p lua/pl/*.lua $RPM_BUILD_ROOT%{_datadir}/lua/5.1/pl/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md README.md LICENSE.md docs
+%dir %{_datadir}/lua/5.1/pl
+%{_datadir}/lua/5.1/pl/*.lua
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lua-penlight.git/commitdiff/59d68d47cf70e65b8c199fd4c2814d5761fa7589



More information about the pld-cvs-commit mailing list