SPECS: lua-sqlite3.spec (NEW) - initial - useful to awesome3 with newsbeute...

uzsolt uzsolt at pld-linux.org
Tue Sep 16 20:00:54 CEST 2008


Author: uzsolt                       Date: Tue Sep 16 18:00:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial - useful to awesome3 with newsbeuter or liferea rss-newsreader

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

---- Diffs:

================================================================
Index: SPECS/lua-sqlite3.spec
diff -u /dev/null SPECS/lua-sqlite3.spec:1.1
--- /dev/null	Tue Sep 16 20:00:55 2008
+++ SPECS/lua-sqlite3.spec	Tue Sep 16 20:00:49 2008
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	Lua-Sqlite3 is a binding of Sqlite3 for Lua
+Summary(hu.UTF-8):	Lua-Sqlite3 Sqlite3 kapcsolódási felület Lua-hoz.
+Name:		lua-sqlite3
+Version:	0.4.1
+Release:	1
+License:	BSD-like
+Group:		Development/Languages
+Source0:	http://luaforge.net/frs/download.php/1611/%{name}-%{version}.tar.bz2
+# Source0-md5:	eb14c0b5c4bf8e0052dc2d054386717a
+URL:		http://luaforge.net/projects/lua-sqlite3/
+BuildRequires:	lua51-devel
+BuildRequires:	sqlite3-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Lua-Sqlite3 is a binding of Sqlite3 for Lua. Lua-Sqlite3 provides a
+nice and smart view of the database with iterators, dynamic parameter
+binding for prepared statements user functions and aggregates and so
+on. It is useful when you use awesome3 with liferea or newsbeuter.
+
+%description -l hu.UTF-8
+Lua-Sqlite3 egy Sqlite3 kapcsolódási felület Lua-hoz. Hasznos lehet,
+ha awesome3-at használsz liferea-val vagy newsbeuter-rel.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--with-lua-includedir=%{_includedir}/lua51/ \
+	--with-lua=%{_bindir}/lua51 --with-lua-libdir=%{_libdir}/lua/5.1/
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+mv $RPM_BUILD_ROOT%{_libdir}/lua/{*.so,5.1}
+install -d $RPM_BUILD_ROOT%{_datadir}/lua/5.1/
+mv $RPM_BUILD_ROOT%{_libdir}/lua/*.lua $RPM_BUILD_ROOT%{_datadir}/lua/5.1/
+sed -i -r "s|(shared_lib_path =.*)\"|\1/5.1\"|" $RPM_BUILD_ROOT%{_datadir}/lua/5.1/libluasqlite3-loader.lua
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README examples/*
+%{_libdir}/lua/5.1/*.so
+%{_datadir}/lua/5.1/*.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 18:00:49  uzsolt
+- initial - useful to awesome3 with newsbeuter or liferea rss-newsreader
+
================================================================


More information about the pld-cvs-commit mailing list