# $Id: lua.spec 4260 2006-03-29 17:04:33Z thias $ # Authority: rudolf Summary: Lua scripting language Name: lua Version: 5.1.4 Release: 1 License: MIT Group: Development/Libraries URL: http://www.lua.org/ Source: http://www.lua.org/ftp/lua-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua is free software. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping. %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %prep %setup %build %{__make} %{?_smp_mflags} linux \ MYCFLAGS="%{optflags} -fPIC" %install %{__rm} -rf %{buildroot} make install INSTALL_TOP=%{buildroot}/usr INSTALL_MAN=%{buildroot}/usr/share/man/man1 INSTALL_LIB=%{buildroot}/usr/lib64 %post /sbin/ldconfig 2>/dev/null %postun /sbin/ldconfig 2>/dev/null %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc COPYRIGHT HISTORY INSTALL README %doc doc/*.html doc/*.gif %doc %{_mandir}/man?/* %{_bindir}/* %{_libdir}/*.a %files devel %defattr(-, root, root, 0755) %{_includedir}/*.h %{_includedir}/lua.hpp %{_libdir}/*.a %changelog * Tue Mar 23 2004 Dag Wieers - 5.0.2-1 - Updated to release 5.0.2. * Sun Oct 12 2003 Dag Wieers - 5.0-0 - Initial package. (using DAR)