1 |
%define oname shoulda-matchers |
2 |
|
3 |
Name: ruby-%{oname} |
4 |
Version: 1.4.1 |
5 |
Release: %mkrel 1 |
6 |
Summary: Making tests easy on the fingers and eyes |
7 |
Group: Development/Ruby |
8 |
License: GPLv2 |
9 |
URL: http://thoughtbot.com/community/ |
10 |
Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem |
11 |
BuildRequires: rubygems |
12 |
BuildArch: noarch |
13 |
|
14 |
%description |
15 |
Making tests easy on the fingers and eyes. |
16 |
|
17 |
#------------------------------------------------------------------------------- |
18 |
%package doc |
19 |
Summary: Documentation for %{name} |
20 |
Group: Development/Ruby |
21 |
Requires: %{name} = %{version}-%{release} |
22 |
|
23 |
%description doc |
24 |
Documents, Rdoc & RI documentation for %{name}. |
25 |
#------------------------------------------------------------------------------- |
26 |
|
27 |
%prep |
28 |
%setup -q |
29 |
tar xmf data.tar.gz |
30 |
|
31 |
%build |
32 |
%gem_build |
33 |
|
34 |
%install |
35 |
%gem_install |
36 |
|
37 |
%files |
38 |
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/ |
39 |
%{ruby_gemdir}/gems/%{oname}-%{version}/lib |
40 |
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
41 |
|
42 |
%files doc |
43 |
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |