From b38d6aa93852b92d7138bba537c6f759d203eb3e Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 04:49:52 +0000 Subject: auto-import changelog data from lua-5.0-0.fdr.2.src.rpm * Mon Nov 17 2003 Oren Tirosh - 0:5.0-0.fdr.2 - Enable readline support. --- lua.spec | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'lua.spec') diff --git a/lua.spec b/lua.spec index 8d35bbf..1c2c596 100644 --- a/lua.spec +++ b/lua.spec @@ -1,6 +1,6 @@ Name: lua Version: 5.0 -Release: 0.fdr.1.rh90 +Release: 0.fdr.2 Epoch: 0 Summary: A powerful light-weight programming language @@ -10,6 +10,7 @@ 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) +BuildRequires: readline-devel, ncurses-devel Provides: %{name}-devel = %{epoch}:%{version}-%{release} %description @@ -22,12 +23,10 @@ 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} \ @@ -35,10 +34,10 @@ make %{?_smp_mflags} \ MYLDFLAGS="-Wl,-E" \ LOADLIB=-DUSE_DLOPEN=1 \ DLLIB=-ldl \ - NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND" -make test + NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND" \ + USERCONF="-DLUA_USERCONFIG='\"../../etc/saconfig.c\"' -DUSE_READLINE" \ + EXTRA_LIBS="-lm -lreadline -lncurses" -# ----------------------------------------------------------------------------- %install rm -rf $RPM_BUILD_ROOT @@ -48,26 +47,30 @@ rm -rf $RPM_BUILD_ROOT 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" + INSTALL_EXEC="install -pm 755" \ + INSTALL_DATA="install -pm 644" + + +%check || : +make test -# ----------------------------------------------------------------------------- %clean rm -rf $RPM_BUILD_ROOT -# ----------------------------------------------------------------------------- %files %defattr(-,root,root,-) %doc COPYRIGHT HISTORY README doc/*.html doc/*.gif -%{_bindir}/* -%{_includedir}/* -%{_libdir}/* -%{_mandir}/man1/* +%{_bindir}/lua* +%{_includedir}/l*.h +%{_libdir}/liblua*.a +%{_mandir}/man1/lua*.1* -# ----------------------------------------------------------------------------- %changelog +* Mon Nov 17 2003 Oren Tirosh - 0:5.0-0.fdr.2 +- Enable readline support. + * Sat Jun 21 2003 Ville Skyttä - 0:5.0-0.fdr.1 - First build. -- cgit