summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvsextras <cvsextras@fedoraproject.org>2004-11-08 04:49:52 +0000
committercvsextras <cvsextras@fedoraproject.org>2004-11-08 04:49:52 +0000
commitb38d6aa93852b92d7138bba537c6f759d203eb3e (patch)
treecf31dd0f9a6723f6df36591e2915d539f1df0bb9
parentd57d350401dca7d67de79c0b1b9dfb496c2a0daf (diff)
downloadlua-b38d6aa93852b92d7138bba537c6f759d203eb3e.tar.gz
lua-b38d6aa93852b92d7138bba537c6f759d203eb3e.tar.xz
lua-b38d6aa93852b92d7138bba537c6f759d203eb3e.zip
auto-import changelog data from lua-5.0-0.fdr.2.src.rpmRHL-9-split
* Mon Nov 17 2003 Oren Tirosh <oren at hishome.net> - 0:5.0-0.fdr.2 - Enable readline support.
-rw-r--r--lua.spec33
1 files changed, 18 insertions, 15 deletions
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 <oren at hishome.net> - 0:5.0-0.fdr.2
+- Enable readline support.
+
* Sat Jun 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.1
- First build.