From d57d350401dca7d67de79c0b1b9dfb496c2a0daf Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 04:49:49 +0000 Subject: auto-import changelog data from lua-5.0-0.fdr.1.rh90.src.rpm * Sat Jun 21 2003 Ville Skyttä - 0:5.0-0.fdr.1 - First build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + lua.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 75 insertions(+) create mode 100644 lua.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b1ac556 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lua-5.0.tar.gz diff --git a/lua.spec b/lua.spec new file mode 100644 index 0000000..8d35bbf --- /dev/null +++ b/lua.spec @@ -0,0 +1,73 @@ +Name: lua +Version: 5.0 +Release: 0.fdr.1.rh90 +Epoch: 0 +Summary: A powerful light-weight programming language + +Group: Development/Languages +License: MIT +URL: http://www.lua.org/ +Source0: http://www.lua.org/ftp/lua-5.0.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Provides: %{name}-devel = %{epoch}:%{version}-%{release} + +%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. + +# ----------------------------------------------------------------------------- + +%prep +%setup -q + +# ----------------------------------------------------------------------------- + +%build +make %{?_smp_mflags} \ + MYCFLAGS="$RPM_OPT_FLAGS -fPIC" \ + MYLDFLAGS="-Wl,-E" \ + LOADLIB=-DUSE_DLOPEN=1 \ + DLLIB=-ldl \ + NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND" +make test + +# ----------------------------------------------------------------------------- + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall \ + INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix} \ + INSTALL_BIN=$RPM_BUILD_ROOT%{_bindir} \ + INSTALL_INC=$RPM_BUILD_ROOT%{_includedir} \ + INSTALL_LIB=$RPM_BUILD_ROOT%{_libdir} \ + INSTALL_MAN=$RPM_BUILD_ROOT%{_mandir}/man1 \ + INSTALL_EXEC="install -p -m 0755" \ + INSTALL_DATA="install -p -m 0644" + +# ----------------------------------------------------------------------------- + +%clean +rm -rf $RPM_BUILD_ROOT + +# ----------------------------------------------------------------------------- + +%files +%defattr(-,root,root,-) +%doc COPYRIGHT HISTORY README doc/*.html doc/*.gif +%{_bindir}/* +%{_includedir}/* +%{_libdir}/* +%{_mandir}/man1/* + +# ----------------------------------------------------------------------------- + +%changelog +* Sat Jun 21 2003 Ville Skyttä - 0:5.0-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..e36676a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6f14803fad389fb1cb15d17edfeddd91 lua-5.0.tar.gz -- cgit