Author: ruben
Update of /cvs/pkgs/rpms/rubygem-eventmachine/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26264/F-12
Modified Files:
.cvsignore sources
Added Files:
import.log rubygem-eventmachine.spec
Log Message:
Initial import
--- NEW FILE import.log ---
rubygem-eventmachine-0_12_10-3_fc13:F-12:rubygem-eventmachine-0.12.10-3.fc13.src.rpm:1264968254
--- NEW FILE rubygem-eventmachine.spec ---
%global ruby_sitearch %(ruby -rrbconfig -e "puts
Config::CONFIG['sitearchdir']")
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname eventmachine
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
Summary: Ruby/EventMachine library
Name: rubygem-%{gemname}
Version: 0.12.10
Release: 3%{?dist}
Group: Development/Languages
License: GPLv2 or Ruby
URL:
http://rubyeventmachine.com
Source0:
http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
Requires: rubygems
Requires: ruby(abi) = 1.8
Provides: rubygem(%{gemname}) = %{version}
BuildRequires: rubygems, ruby-devel, openssl-devel, rubygem(rake), net-tools
%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.
%package doc
Summary: Documentation for %{name}
Group: Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
This package contains documentation for %{name}.
%prep
%setup -q -T -c
%build
mkdir -p .%{gemdir}
gem install -V \
--local \
--install-dir $(pwd)/%{gemdir} \
--force --rdoc \
%{SOURCE0}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
mkdir -p %{buildroot}%{ruby_sitearch}
cp -a ./%{gemdir}/* %{buildroot}/%{gemdir}/
rm -rf %{buildroot}%{geminstdir}/{ext,java,.gitignore,setup.rb,%{gemname}.gemspec}
mv %{buildroot}%{geminstdir}/lib/*.so %{buildroot}%{ruby_sitearch}
%clean
rm -rf %{buildroot}
%check
pushd .%{geminstdir}
# no kqueue support on Linux
rm -f tests/test_process_watch.rb
rake test || :
%files
%defattr(-, root, root, -)
%doc %{geminstdir}/README
%dir %{geminstdir}/
%{geminstdir}/lib
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%{ruby_sitearch}/rubyeventmachine.so
%{ruby_sitearch}/fastfilereaderext.so
%files doc
%defattr(-, root, root, -)
%{gemdir}/doc/%{gemname}-%{version}
%{geminstdir}/Rakefile
%{geminstdir}/docs
%{geminstdir}/examples
%{geminstdir}/tasks
%{geminstdir}/tests
%{geminstdir}/web
%changelog
* Sun Jan 31 2010 Ruben Kerkhof <ruben(a)rubenkerkhof.com> 0.12.10-3
- More review fixes
* Sun Jan 31 2010 Ruben Kerkhof <ruben(a)rubenkerkhof.com> 0.12.10-2
- Review fixes (#556433)
* Mon Jan 18 2010 Ruben Kerkhof <ruben(a)rubenkerkhof.com> - 0.12.10-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-eventmachine/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 31 Jan 2010 19:10:23 -0000 1.1
+++ .cvsignore 31 Jan 2010 20:04:30 -0000 1.2
@@ -0,0 +1 @@
+eventmachine-0.12.10.gem
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-eventmachine/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 31 Jan 2010 19:10:23 -0000 1.1
+++ sources 31 Jan 2010 20:04:30 -0000 1.2
@@ -0,0 +1 @@
+1379ea93ad77132fb3756b492025f172 eventmachine-0.12.10.gem