auto-import changelog data from lua-5.0-0.fdr.2.src.rpm
* Mon Nov 17 2003 Oren Tirosh <oren at hishome.net> - 0:5.0-0.fdr.2 - Enable readline support.
This commit is contained in:
parent
d57d350401
commit
b38d6aa938
33
lua.spec
33
lua.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lua
|
Name: lua
|
||||||
Version: 5.0
|
Version: 5.0
|
||||||
Release: 0.fdr.1.rh90
|
Release: 0.fdr.2
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: A powerful light-weight programming language
|
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
|
Source0: http://www.lua.org/ftp/lua-5.0.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: readline-devel, ncurses-devel
|
||||||
Provides: %{name}-devel = %{epoch}:%{version}-%{release}
|
Provides: %{name}-devel = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -22,12 +23,10 @@ is dynamically typed, interpreted from bytecodes, and has automatic
|
|||||||
memory management with garbage collection, making it ideal for
|
memory management with garbage collection, making it ideal for
|
||||||
configuration, scripting, and rapid prototyping.
|
configuration, scripting, and rapid prototyping.
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} \
|
||||||
@ -35,10 +34,10 @@ make %{?_smp_mflags} \
|
|||||||
MYLDFLAGS="-Wl,-E" \
|
MYLDFLAGS="-Wl,-E" \
|
||||||
LOADLIB=-DUSE_DLOPEN=1 \
|
LOADLIB=-DUSE_DLOPEN=1 \
|
||||||
DLLIB=-ldl \
|
DLLIB=-ldl \
|
||||||
NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND"
|
NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND" \
|
||||||
make test
|
USERCONF="-DLUA_USERCONFIG='\"../../etc/saconfig.c\"' -DUSE_READLINE" \
|
||||||
|
EXTRA_LIBS="-lm -lreadline -lncurses"
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -48,26 +47,30 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
INSTALL_INC=$RPM_BUILD_ROOT%{_includedir} \
|
INSTALL_INC=$RPM_BUILD_ROOT%{_includedir} \
|
||||||
INSTALL_LIB=$RPM_BUILD_ROOT%{_libdir} \
|
INSTALL_LIB=$RPM_BUILD_ROOT%{_libdir} \
|
||||||
INSTALL_MAN=$RPM_BUILD_ROOT%{_mandir}/man1 \
|
INSTALL_MAN=$RPM_BUILD_ROOT%{_mandir}/man1 \
|
||||||
INSTALL_EXEC="install -p -m 0755" \
|
INSTALL_EXEC="install -pm 755" \
|
||||||
INSTALL_DATA="install -p -m 0644"
|
INSTALL_DATA="install -pm 644"
|
||||||
|
|
||||||
|
|
||||||
|
%check || :
|
||||||
|
make test
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYRIGHT HISTORY README doc/*.html doc/*.gif
|
%doc COPYRIGHT HISTORY README doc/*.html doc/*.gif
|
||||||
%{_bindir}/*
|
%{_bindir}/lua*
|
||||||
%{_includedir}/*
|
%{_includedir}/l*.h
|
||||||
%{_libdir}/*
|
%{_libdir}/liblua*.a
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/lua*.1*
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jun 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.1
|
||||||
- First build.
|
- First build.
|
||||||
|
Loading…
Reference in New Issue
Block a user