lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

listproc rejected this message (don't ask me why), so I'm posting it on behalf
of Bennett Todd <>.


 From  Wed Dec 30 13:55:22 1998
 Date: Wed, 30 Dec 1998 11:10:29 -0500
 From: Bennett Todd <>
 To: Lua list <>
 Subject: Red Hat Package Manager (RPM) for Lua

 I just whipped up a simple spec file for Lua.

 On a system running RPM (like e.g. any Red Hat Linux release) you can place
 this file in /usr/src/redhat/SPECS/lua.spec, place the source code in
 /usr/src/redhat/SOURCES/lua-3.1.tar.gz, then issue the command

	 rpm -ba /usr/src/redhat/SPECS/lua.spec

 This will create the files


 (i386 will be alpha or sparc or whatever is you're using another

 Cleanup after the build with

	 rm -rf /usr/src/redhat/{BUILD/lua,SOURCES/lua-3.1.tar.gz,SPEC/lua.spec}

 Install the rpm with

	 rpm -i /usr/src/redhat/RPMS/i386/lua-3.1-1.i386.rpm

 Spec file attached.


 Summary:   Lua --- small, fast, extensible, embeddable extension language
 Name:      lua
 Version:   3.1
 Release:   1
 Copyright: distributable
 Group:     Development/Languages/Lua
 Packager:  Bennett Todd <>


 Lua is a very small and fast extension language, easy to extend and customize
 to fit the needs of various applications.

 %setup -n lua



 install -s bin/* /usr/bin
 install doc/ /usr/man/man1/luac.1
 install -d /usr/include/lua
 install include/*.h /usr/include/lua
 install lib/liblua*.a /usr/lib

 %doc [A-Z]* doc test etc

 * Wed Dec 30 1998 Bennett Todd <>
   - Initial wrap