2008-08-25 17:44:03 +02:00
|
|
|
#
|
2009-11-12 04:47:20 +01:00
|
|
|
# spec file for package rubygem-eventmachine (Version 0.12.10)
|
2008-08-25 17:44:03 +02:00
|
|
|
#
|
2009-11-12 04:47:20 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-08-25 17:44:03 +02:00
|
|
|
#
|
2009-11-12 04:47:20 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-08-25 17:44:03 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: rubygem-eventmachine
|
2009-11-12 04:47:20 +01:00
|
|
|
Version: 0.12.10
|
2008-08-25 17:44:03 +02:00
|
|
|
Release: 0
|
2008-11-03 15:24:24 +01:00
|
|
|
%define mod_name eventmachine
|
2008-08-25 17:44:03 +02:00
|
|
|
#
|
|
|
|
Group: Development/Languages/Ruby
|
|
|
|
License: GPL
|
|
|
|
#
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: rubygems_with_buildroot_patch
|
2008-11-03 15:24:24 +01:00
|
|
|
BuildRequires: gcc-c++ openssl-devel pkg-config
|
2010-06-11 17:44:55 +02:00
|
|
|
%rubygems_requires
|
2008-08-25 17:44:03 +02:00
|
|
|
#
|
|
|
|
Url: http://rubyeventmachine.com/
|
|
|
|
# http://rubyforge.org/projects/eventmachine
|
2009-11-12 04:47:20 +01:00
|
|
|
Source: %{mod_name}-%{version}.gem
|
2008-08-26 17:48:44 +02:00
|
|
|
Source1: rubygem-eventmachine.rpmlintrc
|
2008-08-25 17:44:03 +02:00
|
|
|
#
|
|
|
|
Summary: Ruby/EventMachine socket engine library
|
|
|
|
%description
|
2009-11-12 04:47:20 +01:00
|
|
|
EventMachine implements a fast, single-threaded engine for arbitrary network
|
|
|
|
communications. It's extremely easy to use in Ruby. EventMachine wraps all
|
|
|
|
interactions with IP sockets, allowing programs to concentrate on the
|
|
|
|
implementation of network protocols. It can be used to create both network
|
|
|
|
servers and clients. To create a server or client, a Ruby program only needs
|
|
|
|
to specify the IP address and port, and provide a Module that implements the
|
|
|
|
communications protocol. Implementations of several standard network protocols
|
|
|
|
are provided with the package, primarily to serve as examples. The real goal
|
|
|
|
of EventMachine is to enable programs to easily interface with other programs
|
|
|
|
using TCP/IP, especially if custom protocols are required.
|
2008-08-25 17:44:03 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
2009-04-20 16:57:19 +02:00
|
|
|
%gem_install %{S:0}
|
|
|
|
%gem_cleanup
|
2008-08-25 17:44:03 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
|
|
|
|
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
|
|
|
|
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
|
|
|
|
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
|
|
|
|
|
|
|
|
%changelog
|