robert pushed to lua-socket (epel7). "Initial Fedora import"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 24 22:27:34 UTC 2015


>From 8c1da1f4a41730b1ece0e445503a213ab8bf3708 Mon Sep 17 00:00:00 2001
From: Tim Niemueller <timn at fedoraproject.org>
Date: Tue, 8 Apr 2008 21:43:54 +0000
Subject: Initial Fedora import


diff --git a/.cvsignore b/.cvsignore
index e69de29..cfb65dd 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+luasocket-2.0.2.tar.gz
diff --git a/lua-socket.spec b/lua-socket.spec
new file mode 100644
index 0000000..499a9c3
--- /dev/null
+++ b/lua-socket.spec
@@ -0,0 +1,63 @@
+%define luaver 5.1
+%define lualibdir %{_libdir}/lua/%{luaver}
+%define luapkgdir %{_datadir}/lua/%{luaver}
+
+Name:           lua-socket
+Version:        2.0.2
+Release:        2%{?dist}
+Summary:        Network support for the Lua language
+
+Group:          Development/Libraries
+License:        MIT
+URL:            http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+Source0:        http://luaforge.net/frs/download.php/2664/luasocket-2.0.2.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  lua >= %{luaver}, lua-devel >= %{luaver}
+BuildRequires:  /usr/bin/iconv
+Requires:       lua >= %{luaver}
+
+%description
+LuaSocket is a Lua extension library that is composed by two parts: a C core
+that provides support for the TCP and UDP transport layers, and a set of Lua
+modules that add support for functionality commonly needed by applications
+that deal with the Internet.
+
+Among the support modules, the most commonly used implement the SMTP, HTTP
+and FTP. In addition there are modules for MIME, URL handling and LTN12.
+
+%prep
+%setup -q -n luasocket-%{version}
+
+
+%build
+make %{?_smp_mflags} CFLAGS="%{optflags} -fPIC"
+/usr/bin/iconv -f ISO8859-1 -t UTF8 LICENSE >LICENSE.UTF8
+mv -f LICENSE.UTF8 LICENSE
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install INSTALL_TOP_LIB=$RPM_BUILD_ROOT%{lualibdir} INSTALL_TOP_SHARE=$RPM_BUILD_ROOT%{luapkgdir}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc doc/*
+%doc README LICENSE
+%{lualibdir}/*
+%{luapkgdir}/*
+
+
+%changelog
+* Sat Apr 05 2008 Tim Niemueller <tim at niemueller.de> - 2.0.2-2
+- Pass proper CFLAGS to produce valid debuginfo
+- Pass LICENSE file through iconv to produce proper UTF8
+
+* Fri Apr 04 2008 Tim Niemueller <tim at niemueller.de> - 2.0.2-1
+- Initial package
+
diff --git a/sources b/sources
index e69de29..c50bb18 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+41445b138deb7bcfe97bff957503da8e  luasocket-2.0.2.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/lua-socket.git/commit/?h=epel7&id=8c1da1f4a41730b1ece0e445503a213ab8bf3708


More information about the scm-commits mailing list