SPECS: lua-logging.spec (NEW) - initial
uzsolt
uzsolt at pld-linux.org
Tue Sep 16 21:51:02 CEST 2008
Author: uzsolt Date: Tue Sep 16 19:51:02 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
lua-logging.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/lua-logging.spec
diff -u /dev/null SPECS/lua-logging.spec:1.1
--- /dev/null Tue Sep 16 21:51:02 2008
+++ SPECS/lua-logging.spec Tue Sep 16 21:50:56 2008
@@ -0,0 +1,50 @@
+# $Revision$, $Date$
+Summary: LuaLogging provides a simple API to use logging features in Lua
+Summary(hu.UTF-8): LuaLogging egy egyszerű API-t biztosít naplózó funkciókhoz Lua-ban.
+Name: lua-logging
+Version: 1.1.4
+Release: 1
+License: BSD-like
+Group: Development/Languages
+Source0: http://luaforge.net/frs/download.php/2693/lualogging-%{version}.tar.gz
+# Source0-md5: 72a8622748a525f5fb8ed23278326f80
+URL: http://www.keplerproject.org/lualogging/
+BuildRequires: lua51-devel
+BuildRequires: sed >= 4.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LuaLogging provides a simple API to use logging features in Lua.
+
+%description -l hu.UTF-8
+LuaLogging egy egyszerű API-t biztosít naplózó funkciókhoz Lua-ban.
+
+%prep
+%setup -q -n lualogging-%{version}
+sed -i "s|PREFIX =.*|PREFIX =$RPM_BUILD_ROOT%{_prefix}|" Makefile
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+%{__make} install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README doc/us/*
+%dir %{_datadir}/lua/5.1/logging
+%{_datadir}/lua/5.1/logging/*.lua
+%{_datadir}/lua/5.1/logging.lua
+
+%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:50:56 uzsolt
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list