Initial Fedora import
This commit is contained in:
parent
defc6801a5
commit
5f237b55d4
@ -0,0 +1 @@
|
|||||||
|
luaposix-5.1.2.tar.gz
|
52
lua-posix.spec
Normal file
52
lua-posix.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
%define luaver 5.1
|
||||||
|
%define lualibdir %{_libdir}/lua/%{luaver}
|
||||||
|
%define luapkgdir %{_datadir}/lua/%{luaver}
|
||||||
|
|
||||||
|
Name: lua-posix
|
||||||
|
Version: 5.1.2
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: A POSIX library for Lua
|
||||||
|
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: Public Domain
|
||||||
|
URL: http://luaforge.net/projects/luaposix/
|
||||||
|
Source0: http://luaforge.net/frs/download.php/3063/luaposix-5.1.2.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
|
||||||
|
Requires: lua >= %{luaver}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a POSIX library for Lua which provides access to many POSIX features
|
||||||
|
to Lua programs.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n luaposix-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
make %{?_smp_mflags} PREFIX=%{_prefix} LUALIB=%{lualibdir} LUABIN=%{_bindir} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LUALIB=%{lualibdir}
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README ChangeLog
|
||||||
|
%{lualibdir}/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Apr 05 2008 Tim Niemueller <tim@niemueller.de> - 5.1.2-2
|
||||||
|
- Set proper CFLAGS for valid debuginfo
|
||||||
|
|
||||||
|
* Fri Apr 04 2008 Tim Niemueller <tim@niemueller.de> - 5.1.2-1
|
||||||
|
- Initial package
|
||||||
|
|
Loading…
Reference in New Issue
Block a user