%define oname eventmachine Name: ruby-%{oname} Version: 1.0.0 Release: %mkrel 3 Summary: Ruby/EventMachine library Group: Development/Ruby License: MIT URL: http://rubyeventmachine.com Source0: http://rubygems.org/gems/%{oname}-%{version}.gem BuildRequires: rubygems BuildRequires: ruby-devel BuildRequires: openssl-devel BuildRequires: libevent-devel %description 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. %files %dir %{ruby_gemdir}/gems/%{oname}-%{version}/ %{ruby_gemdir}/gems/%{oname}-%{version}/lib %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec %{ruby_sitearchdir}/fastfilereaderext.so %{ruby_sitearchdir}/rubyeventmachine.so #------------------------------------------------------------------------------- %package doc Summary: Documentation for %{name} Group: Development/Ruby Buildarch: noarch Requires: %{name} = %{version}-%{release} %description doc Documents, Rdoc & RI documentation for %{name}. %files doc %doc %{ruby_gemdir}/doc/%{oname}-%{version} %doc %{ruby_gemdir}/gems/%{oname}-%{version}/docs %doc %{ruby_gemdir}/gems/%{oname}-%{version}/README.md #------------------------------------------------------------------------------- %prep %setup -q tar xmf data.tar.gz %build %gem_build %install %gem_install %changelog * Fri Feb 08 2013 umeabot <umeabot> 1.0.0-3.mga3 + Revision: 395931 - Rebuild for CVE-2013-0256 * Mon Jan 14 2013 umeabot <umeabot> 1.0.0-2.mga3 + Revision: 380863 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Nov 03 2012 fwang <fwang> 1.0.0-1.mga3 + Revision: 312899 - update file list - drop patch - new version 1.0.0 * Mon Apr 25 2011 shikamaru <shikamaru> 0.12.10-3.mga1 + Revision: 90342 - Add check section - add patch to fix https test (got 301 instead of 200 with amazon) - remove process watch test since it only supports kqueue which is not available - bump release * Thu Feb 03 2011 shikamaru <shikamaru> 0.12.10-2.mga1 + Revision: 46603 - imported package ruby-eventmachine