2008-08-25 17:44:03 +02:00
|
|
|
#
|
|
|
|
# spec file for package rubygem-eventmachine (Version 0.10.0)
|
|
|
|
#
|
|
|
|
# Copyright (c) 2007-2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: rubygem-eventmachine
|
|
|
|
%define mod_name eventmachine
|
|
|
|
#
|
|
|
|
Version: 0.12.0
|
|
|
|
Release: 0
|
|
|
|
#
|
|
|
|
Group: Development/Languages/Ruby
|
|
|
|
License: GPL
|
|
|
|
#
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: rubygems_with_buildroot_patch
|
2008-08-26 17:48:44 +02:00
|
|
|
BuildRequires: gcc-c++ openssl-devel
|
2008-08-25 17:44:03 +02:00
|
|
|
Requires: rubygems >= 0.9
|
|
|
|
#
|
|
|
|
Url: http://rubyeventmachine.com/
|
|
|
|
# http://rubyforge.org/projects/eventmachine
|
|
|
|
Source: http://rubyforge.org/frs/download.php/37853/eventmachine-0.12.0.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
|
|
|
|
Ruby/EventMachine is a fast, simple event-processing library for Ruby programs.
|
|
|
|
It lets you write network clients and servers without handling sockets- all you
|
|
|
|
do is send and receive data. Single-threaded socket engine- scalable and FAST!
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Francis Cianfrocca <garbagecat10@gmail.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
gem install --build-root=%{buildroot} %{S:0}
|
|
|
|
gem_build_cleanup %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
|
|
|
|
|
|
|
|
%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
|