rpms/lua-socket/F-8 lua-socket.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tim Niemueller (timn) fedora-extras-commits at redhat.com
Tue Apr 8 21:45:50 UTC 2008


Author: timn

Update of /cvs/pkgs/rpms/lua-socket/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6686/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	lua-socket.spec 
Log Message:
Initial Fedora import


--- NEW FILE lua-socket.spec ---
%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



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lua-socket/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Apr 2008 18:10:24 -0000	1.1
+++ .cvsignore	8 Apr 2008 21:45:12 -0000	1.2
@@ -0,0 +1 @@
+luasocket-2.0.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lua-socket/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Apr 2008 18:10:24 -0000	1.1
+++ sources	8 Apr 2008 21:45:12 -0000	1.2
@@ -0,0 +1 @@
+41445b138deb7bcfe97bff957503da8e  luasocket-2.0.2.tar.gz




More information about the fedora-extras-commits mailing list