SPECS: lua-filesystem.spec (NEW) - initial

uzsolt uzsolt at pld-linux.org
Tue Sep 16 21:29:48 CEST 2008


Author: uzsolt                       Date: Tue Sep 16 19:29:48 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   lua-filesystem.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/lua-filesystem.spec
diff -u /dev/null SPECS/lua-filesystem.spec:1.1
--- /dev/null	Tue Sep 16 21:29:48 2008
+++ SPECS/lua-filesystem.spec	Tue Sep 16 21:29:42 2008
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:	File System Library for Lua
+Summary(hu.UTF-8):	Fájlrendszer-könyvtár Lua-hoz.
+Name:		lua-filesystem
+Version:	1.4.1
+Release:	1
+License:	BSD-like
+Group:		Development/Languages
+Source0:	http://luaforge.net/frs/download.php/3345/luafilesystem-%{version}.tar.gz
+# Source0-md5:	fe2fa6decc48f0267b4f09975750280e
+URL:		http://www.keplerproject.org/luafilesystem/
+BuildRequires:	lua51-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LuaFileSystem is a Lua library developed to complement the set of
+functions related to file systems offered by the standard Lua
+distribution.
+
+
+%description -l hu.UTF-8
+LuaFileSystem egy Lua könyvtár, amely függvények halmazát nyújtja,
+hogy a fájlrendszeren műveleteket végezhess.
+
+%prep
+%setup -q -n luafilesystem-%{version}
+sed -i "s|PREFIX=.*|PREFIX=%{_prefix}|" config
+sed -i -r "s|(LUA_INC=.*)|\1/lua51|" config
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+cp src/lfs.so $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README doc/us/*
+%{_libdir}/lua/5.1/*.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+$Log$
+Revision 1.1  2008/09/16 19:29:42  uzsolt
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list