]> git.pld-linux.org Git - packages/ruby-pony.git/blame - ruby-pony.spec
- rebuild for ruby 2.0
[packages/ruby-pony.git] / ruby-pony.spec
CommitLineData
c02aefaf
ER
1#
2# Conditional build:
3%bcond_with tests # build without tests
4
5%define pkgname pony
6Summary: The express way to send mail from Ruby
7Name: ruby-%{pkgname}
4b77e7ba 8Version: 1.5.1
d28ad661 9Release: 2
c02aefaf
ER
10License: MIT
11Group: Development/Languages
12Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
4b77e7ba 13# Source0-md5: 8a3627564e2254c0bcae29eb536ad778
c02aefaf
ER
14URL: http://github.com/benprew/pony
15BuildRequires: rpm-rubyprov
16BuildRequires: rpmbuild(macros) >= 1.656
17%if %{with tests}
18BuildRequires: ruby-rspec >= 2.0.0
19%endif
4b77e7ba 20Requires: ruby-mail >= 2.0
c02aefaf
ER
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Send email in one command.
26
27%prep
28%setup -q -n %{pkgname}-%{version}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
33cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
40%doc README.rdoc
41%{ruby_vendorlibdir}/%{pkgname}.rb
This page took 0.034324 seconds and 4 git commands to generate.