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

uzsolt uzsolt at pld-linux.org
Mon Sep 15 19:56:33 CEST 2008


Author: uzsolt                       Date: Mon Sep 15 17:56:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: SPECS/lua-socket.spec
diff -u /dev/null SPECS/lua-socket.spec:1.1
--- /dev/null	Mon Sep 15 19:56:33 2008
+++ SPECS/lua-socket.spec	Mon Sep 15 19:56:28 2008
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+Summary:	LuaSocket is the most comprehensive networking support library for the Lua language
+Summary(hu.UTF-8):	LuaSocket egy hálózati kommunikációs könyvtár a Lua nyelvhez
+Name:		lua-socket
+Version:	2.0.2
+Release:	1
+License:	BSD-like
+Group:		Development/Languages
+Source0:	http://luaforge.net/frs/download.php/2664/luasocket-%{version}.tar.gz
+# Source0-md5:	41445b138deb7bcfe97bff957503da8e
+URL:		http://luaforge.net/projects/luasocket/
+BuildRequires:	lua51-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LuaSocket is the most comprehensive networking support library for the
+Lua language. It provides easy access to TCP, UDP, DNS, SMTP, FTP,
+HTTP, MIME and much more.
+
+%description -l hu.UTF-8
+LuaSocket egy hálózati kommunikációs könyvtár a Lua nyelvhez. Egy
+egyszerű hozzáférést biztosít TCP, UDP, DNS, SMTP, FTP, HTTP,
+MIME-hoz, és még sok máshoz.
+
+%prep
+%setup -q -n luasocket-%{version}
+echo "LUAINC=-I/usr/include/lua51" >> config
+sed -i "s|INSTALL_TOP_SHARE=.*|INSTALL_TOP_SHARE=$RPM_BUILD_ROOT%{_datadir}/lua/5.1/|" config
+sed -i "s|INSTALL_TOP_LIB=.*|INSTALL_TOP_LIB=$RPM_BUILD_ROOT%{_libdir}/lua/5.1/|" config
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE NEW README
+%dir %{_libdir}/lua/5.1/mime
+%dir %{_libdir}/lua/5.1/socket
+%attr(755,root,root) %{_libdir}/lua/5.1/mime/core.so
+%attr(755,root,root) %{_libdir}/lua/5.1/socket/core.so
+%attr(755,root,root) %{_datadir}/lua/5.1/*
+
+%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/15 17:56:28  uzsolt
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list