summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <jwrdegoede@fedoraproject.org>2006-10-14 20:32:35 +0000
committerHans de Goede <jwrdegoede@fedoraproject.org>2006-10-14 20:32:35 +0000
commit24800980bc6625c0a645715af7410a983167a3df (patch)
tree1c89125ddcec482c0e731f7de82112e184091678
parent8f294c833823540e3090d0b8af5518c66bd0dd11 (diff)
downloadlua-24800980bc6625c0a645715af7410a983167a3df.tar.gz
lua-24800980bc6625c0a645715af7410a983167a3df.tar.xz
lua-24800980bc6625c0a645715af7410a983167a3df.zip
* Sat Oct 14 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.1-1lua-5_1_1-1_fc6
- New upstream release 5.1.1 - Fix detection of readline during compile (iow add readline support back)
-rw-r--r--.cvsignore3
-rw-r--r--lua.spec33
-rw-r--r--sources4
3 files changed, 21 insertions, 19 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
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
-find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%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 <j.w.r.degoede@hhs.nl> 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 <michael[AT]knox.net.nz> - 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