File rubygem-mailtrap.spec of Package rubygem-mailtrap

# spec file for package rubygem-mailtrap (Version 0.2.1)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

# norootforbuild
Name:           rubygem-mailtrap
Version:        0.2.1
Release:        0
%define mod_name mailtrap
Group:          Development/Languages/Ruby
License:        GPLv2+ or Ruby
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch

Requires:       ruby 
BuildRequires:  ruby-devel 
BuildRequires:  rubygem-daemons >= 1.0.8
Requires:       rubygem-daemons >= 1.0.8
BuildRequires:  rubygem-trollop >= 1.7
Requires:       rubygem-trollop >= 1.7
BuildRequires:  rubygem-hoe >= 1.3.0
Requires:       rubygem-hoe >= 1.3.0
Source:         %{mod_name}-%{version}.gem
Summary:        Mailtrap is a mock SMTP server for use in Rails development
Mailtrap is a mock SMTP server for use in Rails development.  Mailtrap waits on your choosen port for a client to connect and talks _just enough_ SMTP protocol for ActionMailer to successfully deliver its message.  Mailtrap makes *no* attempt to actually deliver messages and, instead, writes them into a file (hence the name 	Mail_trap_). Handy tip: use tail -f to see emails being received.  You can configure the hostname (default: localhost) and port (default: 2525) for the server and also where the messages get written (default: /var/tmp/mailtrap.log).  == FEATURES/PROBLEMS:

%gem_install %{S:0}

%{__rm} -rf %{buildroot}

%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/