Update to 5.1.14
This commit is contained in:
parent
4f3a59fe1a
commit
0e5a211f9c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
luaposix-5.1.7.tar.bz2
|
/luaposix-5.1.14.tar.gz
|
||||||
|
@ -3,17 +3,18 @@
|
|||||||
%define luapkgdir %{_datadir}/lua/%{luaver}
|
%define luapkgdir %{_datadir}/lua/%{luaver}
|
||||||
|
|
||||||
Name: lua-posix
|
Name: lua-posix
|
||||||
Version: 5.1.7
|
Version: 5.1.14
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A POSIX library for Lua
|
Summary: A POSIX library for Lua
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: http://luaforge.net/projects/luaposix/
|
URL: http://luaforge.net/projects/luaposix/
|
||||||
Source0: http://git.alpinelinux.org/cgit/luaposix/snapshot/luaposix-5.1.7.tar.bz2
|
Source0: http://luaforge.net/frs/download.php/4848/luaposix-5.1.14.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
|
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
Requires: lua >= %{luaver}
|
Requires: lua >= %{luaver}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -25,12 +26,17 @@ to Lua programs.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} PREFIX=%{_prefix} LUALIB=%{lualibdir} LUABIN=%{_bindir} CFLAGS="%{optflags} -fPIC"
|
%configure --libdir=%{lualibdir} --datadir=/%{luapkgdir}
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LUALIB=%{lualibdir}
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -39,11 +45,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README ChangeLog
|
%doc README ChangeLog NEWS *.html
|
||||||
%{lualibdir}/*
|
%{lualibdir}/*
|
||||||
|
%{luapkgdir}/*.lua
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 27 2011 Michel Salim <salimma@fedoraproject.org> - 5.1.14-1
|
||||||
|
- Update to 5.1.14
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.7-2
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.7-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user