rpms/lua-filesystem/F-7 lua-filesystem.spec, NONE, 1.1 luafilesystem-1.4.0-includefix.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tim Niemueller (timn) fedora-extras-commits at redhat.com
Sun Apr 6 14:04:46 UTC 2008


Author: timn

Update of /cvs/pkgs/rpms/lua-filesystem/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26635/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	lua-filesystem.spec luafilesystem-1.4.0-includefix.patch 
Log Message:
Initial import


--- NEW FILE lua-filesystem.spec ---
%define luaver 5.1
%define lualibdir %{_libdir}/lua/%{luaver}
%define luapkgdir %{_datadir}/lua/%{luaver}

Name:           lua-filesystem
Version:        1.4.0
Release:        3%{?dist}
Summary:        File System Library for the Lua Programming Language

Group:          Development/Libraries
License:        MIT
URL:            http://www.keplerproject.org/luafilesystem/
Source0:        http://luaforge.net/frs/download.php/3158/luafilesystem-1.4.0.tar.gz
Patch0:         luafilesystem-1.4.0-includefix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  lua >= %{luaver}, lua-devel >= %{luaver}
Requires:       lua >= %{luaver}

%description
LuaFileSystem is a Lua library developed to complement the set of functions
related to file systems offered by the standard Lua distribution.

LuaFileSystem offers a portable way to access the underlying directory
structure and file attributes.

%prep
%setup -q -n luafilesystem-%{version}
%patch0 -p1 -b includefix


%build
make %{?_smp_mflags} PREFIX=%{_prefix} LUA_LIBDIR=%{lualibdir} CFLAGS="%{optflags} -fPIC"


%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT%{_prefix} LUA_LIBDIR=$RPM_BUILD_ROOT%{lualibdir}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc doc/us/*
%doc README
%{lualibdir}/*


%changelog
* Sat Apr 05 2008 Tim Niemueller <tim at niemueller.de> - 1.4.0-3
- Add patch to add missing include of stdlib.h

* Sat Apr 05 2008 Tim Niemueller <tim at niemueller.de> - 1.4.0-2
- Pass correct CFLAGS to make to produce proper debuginfo

* Fri Apr 04 2008 Tim Niemueller <tim at niemueller.de> - 1.4.0-1
- Initial package


luafilesystem-1.4.0-includefix.patch:

--- NEW FILE luafilesystem-1.4.0-includefix.patch ---
diff -urN luafilesystem-1.4.0/src/lfs.c luafilesystem-1.4.0.includefix/src/lfs.c
--- luafilesystem-1.4.0/src/lfs.c	2008-02-11 23:42:21.000000000 +0100
+++ luafilesystem-1.4.0.includefix/src/lfs.c	2008-04-05 01:17:00.000000000 +0200
@@ -22,6 +22,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 #include <time.h>
 #include <sys/stat.h>
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lua-filesystem/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Apr 2008 16:49:42 -0000	1.1
+++ .cvsignore	6 Apr 2008 14:04:11 -0000	1.2
@@ -0,0 +1 @@
+luafilesystem-1.4.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lua-filesystem/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Apr 2008 16:49:42 -0000	1.1
+++ sources	6 Apr 2008 14:04:11 -0000	1.2
@@ -0,0 +1 @@
+6f3d247f27820b8f045431ad81bcd3ad  luafilesystem-1.4.0.tar.gz




More information about the fedora-extras-commits mailing list