From 24800980bc6625c0a645715af7410a983167a3df Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 14 Oct 2006 20:32:35 +0000 Subject: [PATCH] * Sat Oct 14 2006 Hans de Goede 5.1.1-1 - New upstream release 5.1.1 - Fix detection of readline during compile (iow add readline support back) --- .cvsignore | 3 ++- lua.spec | 35 ++++++++++++++++++----------------- sources | 4 ++-- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.cvsignore b/.cvsignore index 93ebdb0..187b5c5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ -lua-5.1-autotoolize-r1.patch.bz2 +lua-5.1.1.tar.gz +lua-5.1.1-autotoolize.patch.gz diff --git a/lua.spec b/lua.spec index e6b8b6b..47230bc 100644 --- a/lua.spec +++ b/lua.spec @@ -1,16 +1,14 @@ Name: lua -Version: 5.1 -Release: 7%{?dist} +Version: 5.1.1 +Release: 1%{?dist} Summary: Powerful light-weight programming language - Group: Development/Languages License: MIT URL: http://www.lua.org/ Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz -Patch0: lua-5.1-autotoolize-r1.patch.bz2 +Patch0: lua-5.1.1-autotoolize.patch.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: readline-devel, ncurses-devel +BuildRequires: readline-devel ncurses-devel %description Lua is a powerful light-weight programming language designed for @@ -22,6 +20,7 @@ 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: Development files for %{name} Group: System Environment/Libraries @@ -31,28 +30,27 @@ Requires: ncurses-devel, pkgconfig %description devel This package contains development files for %{name}. + %prep %setup -q -%patch0 -p1 - -%build +%patch0 -p1 -E # fix perms on auto files chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing -./autogen.sh +%build %configure --with-readline - make %{?_smp_mflags} -%install -rm -rf %{buildroot} -%makeinstall -find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{_libdir}/*.{la,a} + %clean -rm -rf %{buildroot} +rm -rf $RPM_BUILD_ROOT %files @@ -67,11 +65,14 @@ rm -rf %{buildroot} %{_includedir}/l*.h %{_includedir}/l*.hpp %{_libdir}/liblua.so -%{_libdir}/*.a %{_libdir}/pkgconfig/*.pc %changelog +* Sat Oct 14 2006 Hans de Goede 5.1.1-1 +- New upstream release 5.1.1 +- Fix detection of readline during compile (iow add readline support back) + * Mon Aug 27 2006 Michael J. Knox - 5.1-7 - Rebuild for FC6 diff --git a/sources b/sources index f122ec0..bda1ce0 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -3e8dfe8be00a744cec2f9e766b2f2aee lua-5.1.tar.gz -9e6a9655694450e26aa4e01220dd3636 lua-5.1-autotoolize-r1.patch.bz2 +22f4f912f20802c11006fe9b84d5c461 lua-5.1.1.tar.gz +d4116caee10a37951b413436f9e2a119 lua-5.1.1-autotoolize.patch.gz