From Fedora Project Wiki
 
(7 intermediate revisions by 3 users not shown)
Line 13: Line 13:
== Packages ==
== Packages ==
Currently packaged:
Currently packaged:
* [https://admin.fedoraproject.org/pkgdb/packages/name/lua lua] : Lua interpreter, compiler and library
* {{package|lua}} : Lua interpreter, compiler and library
* [https://admin.fedoraproject.org/pkgdb/packages/name/luadoc luadoc] : Documentation generator tool for Lua
* {{package|luadoc}} : Documentation generator tool for Lua
* [https://admin.fedoraproject.org/pkgdb/packages/name/tolua++ tolua++] : Automatic wrapper generator for C/C++ code
* {{package|tolua++}} : Automatic wrapper generator for C/C++ code
* [https://admin.fedoraproject.org/pkgdb/packages/name/lua-posix lua-posix] : POSIX library for Lua
* {{package|lua-posix}} : POSIX library for Lua
* [https://admin.fedoraproject.org/pkgdb/packages/name/lua-logging lua-logging] : Easy logging API for Lua
* {{package|lua-logging}} : Easy logging API for Lua
* [https://admin.fedoraproject.org/pkgdb/packages/name/lua-sql lua-sql] : database access with Lua
* {{package|lua-sql}} : database access with Lua
* [https://admin.fedoraproject.org/pkgdb/packages/name/lua-socket lua-socket] : networking with Lua
* {{package|lua-socket}} : networking with Lua
* [https://admin.fedoraproject.org/pkgdb/packages/name/lua-filesystem lua-filesystem] : file system access functions
* {{package|lua-filesystem}} : file system access functions
* {{package|lua-sec}} : Lua binding for OpenSSL library


Currently no packages are awaiting review. Start a new one!
Currently awaiting review:
* [https://bugzilla.redhat.com/show_bug.cgi?id=551765 prosody] : flexible communications server for Jabber/XMPP  written in Lua (review has been accepted, waiting for lua-dbi to build)
* [https://bugzilla.redhat.com/show_bug.cgi?id=720857 datalog] : A Lightweight Deductive Database using Datalog
* [https://bugzilla.redhat.com/show_bug.cgi?id=707016 lua-dbi] : Database interface library for Lua


== Tasks ==
== Tasks ==
Line 39: Line 43:


[[Category:Language-specific SIGs]]
[[Category:Language-specific SIGs]]
== Spec files ==
In your spec file, you can compute the current directory for installing Lua source files with the following definitions.
<pre>%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")}
%global luapkgdir %{_datadir}/lua/%{luaver}</pre>
Now install Lua source files with:
<pre>install -m 644 LUA-SOURCE-FILES %{luapkgdir}</pre>

Latest revision as of 12:12, 25 May 2012

Lua Special Interest Group

Mission

Bring the Lua scripting language and related software and packages into Fedora and integrate nicely into the base system.

Members

Tim Niemueller
Michel Salim
João Felipe Santos

Packages

Currently packaged:

  • lua : Lua interpreter, compiler and library
  • luadoc : Documentation generator tool for Lua
  • tolua++ : Automatic wrapper generator for C/C++ code
  • lua-posix : POSIX library for Lua
  • lua-logging : Easy logging API for Lua
  • lua-sql : database access with Lua
  • lua-socket : networking with Lua
  • lua-filesystem : file system access functions
  • lua-sec : Lua binding for OpenSSL library

Currently awaiting review:

  • prosody : flexible communications server for Jabber/XMPP written in Lua (review has been accepted, waiting for lua-dbi to build)
  • datalog : A Lightweight Deductive Database using Datalog
  • lua-dbi : Database interface library for Lua

Tasks

  • Find more people interested in Lua and get them involved
  • Identify interesting new packages to import into Fedora
  • Get more packagers

Links

Lua : Main website for Lua.

Lua users wiki : Tons of good documentation, howtos, snippets and links to add-on packages.

Programming in Lua : First edition of the Lua book. Most is still relevant, a few things got changed though. It's worth buying and reading the second edition.

Lua reference manual : The Lua reference manual. Very handy, especially if you have it besides your laptop as a real book (really cheap!).

Spec files

In your spec file, you can compute the current directory for installing Lua source files with the following definitions.

%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")}
%global luapkgdir %{_datadir}/lua/%{luaver}

Now install Lua source files with:

install -m 644 LUA-SOURCE-FILES %{luapkgdir}