Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 1af38ff9209ffaba5240c18ff42a9f5f > files > 1

lua-logging-1.1.4-5.mga1.src.rpm

%define luaver 5.1
%define lualibdir %{_libdir}/lua/%{luaver}
%define luapkgdir %{_datadir}/lua/%{luaver}
%define oname lualogging

Name:           lua-logging
Version:        1.1.4
Release:        %mkrel 5
Summary:        A simple API to use logging features in Lua

Group:          Development/Other
License:        MIT
URL:            http://www.keplerproject.org/lualogging/
Source0:        http://luaforge.net/frs/download.php/2693/%{oname}-%{version}.tar.gz
Requires:       lua >= %{luaver}
Requires:       lua-socket
Requires:       lua-sql
BuildArch:      noarch

%description
LuaLogging provides a simple API to use logging features
in Lua. Its design was based on log4j. LuaLogging currently
supports, through the use of appenders, console, file, email,
socket and sql outputs.

%prep
%setup -q -n %{oname}-%{version}

%build
%make

%install
rm -rf %{buildroot}
make install PREFIX=$RPM_BUILD_ROOT/%{_prefix} LUA_LIBDIR=$RPM_BUILD_ROOT/%{lualibdir} LUA_DIR=$RPM_BUILD_ROOT/%{luapkgdir} SYS_BINDIR=$RPM_BUILD_ROOT/%{_bindir} LUA_INTERPRETER=%{_bindir}/lua


%clean
rm -rf $RPM_BUILD_ROOT


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




%changelog
* Sun Mar 13 2011 shikamaru <shikamaru> 1.1.4-5.mga1
+ Revision: 70265
- imported package lua-logging


* Sat Mar 12 2011 Rémy Clouard <shikamaru@mandriva.org> 1.1.4-5.mga1
- clean spec (buildroot)

* Wed Dec 08 2010 Rémy Clouard <shikamaru@mandriva.org> 1.1.4-4mdv2011.0
+ Revision: 616182
- rebuild for the mass rebuild

* Mon Sep 14 2009 Thierry Vignaud <tv@mandriva.org> 1.1.4-3mdv2010.0
+ Revision: 439643
- rebuild

* Sun Dec 28 2008 Jérôme Soyer <saispo@mandriva.org> 1.1.4-2mdv2009.1
+ Revision: 320488
- Add Requires

* Sun Dec 28 2008 Jérôme Soyer <saispo@mandriva.org> 1.1.4-1mdv2009.1
+ Revision: 320487
- Remove dot in Summary
- import lua-logging