* 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)
This commit is contained in:
parent
8f294c8338
commit
24800980bc
@ -1 +1,2 @@
|
|||||||
lua-5.1-autotoolize-r1.patch.bz2
|
lua-5.1.1.tar.gz
|
||||||
|
lua-5.1.1-autotoolize.patch.gz
|
||||||
|
35
lua.spec
35
lua.spec
@ -1,16 +1,14 @@
|
|||||||
Name: lua
|
Name: lua
|
||||||
Version: 5.1
|
Version: 5.1.1
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Powerful light-weight programming language
|
Summary: Powerful light-weight programming language
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.lua.org/
|
URL: http://www.lua.org/
|
||||||
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildRequires: readline-devel ncurses-devel
|
||||||
BuildRequires: readline-devel, ncurses-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lua is a powerful light-weight programming language designed for
|
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
|
memory management with garbage collection, making it ideal for
|
||||||
configuration, scripting, and rapid prototyping.
|
configuration, scripting, and rapid prototyping.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -31,28 +30,27 @@ Requires: ncurses-devel, pkgconfig
|
|||||||
%description devel
|
%description devel
|
||||||
This package contains development files for %{name}.
|
This package contains development files for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1 -E
|
||||||
|
|
||||||
%build
|
|
||||||
# fix perms on auto files
|
# fix perms on auto files
|
||||||
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
|
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
|
||||||
|
|
||||||
./autogen.sh
|
|
||||||
|
|
||||||
|
%build
|
||||||
%configure --with-readline
|
%configure --with-readline
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
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
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -67,11 +65,14 @@ rm -rf %{buildroot}
|
|||||||
%{_includedir}/l*.h
|
%{_includedir}/l*.h
|
||||||
%{_includedir}/l*.hpp
|
%{_includedir}/l*.hpp
|
||||||
%{_libdir}/liblua.so
|
%{_libdir}/liblua.so
|
||||||
%{_libdir}/*.a
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-7
|
||||||
- Rebuild for FC6
|
- Rebuild for FC6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user