3 %bcond_with tests # build without tests
6 Summary: The express way to send mail from Ruby
11 Group: Development/Languages
12 Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
13 # Source0-md5: 8a3627564e2254c0bcae29eb536ad778
14 URL: http://github.com/benprew/pony
15 BuildRequires: rpm-rubyprov
16 BuildRequires: rpmbuild(macros) >= 1.656
18 BuildRequires: ruby-rspec >= 2.0.0
20 Requires: ruby-mail >= 2.0
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Send email in one command.
28 %setup -q -n %{pkgname}-%{version}
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
33 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
41 %{ruby_vendorlibdir}/%{pkgname}.rb