1 |
%define oname thrift |
2 |
|
3 |
Name: ruby-%{oname} |
4 |
Epoch: 1 |
5 |
Version: 0.8.0 |
6 |
Release: %mkrel 7 |
7 |
Summary: Ruby bindings for the Apache Thrift RPC system |
8 |
License: ASL 2.0 |
9 |
Group: Development/Ruby |
10 |
URL: http://thrift.apache.org |
11 |
Source0: http://rubygems.org/gems/%{oname}-%{version}.gem |
12 |
BuildRequires: rubygems |
13 |
BuildRequires: ruby-devel |
14 |
|
15 |
%description |
16 |
Ruby bindings for the Apache Thrift RPC system |
17 |
|
18 |
%files |
19 |
%{gem_instdir}/ |
20 |
%{gem_spec} |
21 |
%{gem_extdir_mri} |
22 |
|
23 |
#------------------------------------------------------------------------------- |
24 |
%package doc |
25 |
Summary: Documentation for %{name} |
26 |
Group: Development/Ruby |
27 |
BuildArch: noarch |
28 |
Requires: %{name} = %{epoch}:%{version}-%{release} |
29 |
|
30 |
%description doc |
31 |
Documents, Rdoc & RI documentation for %{name}. |
32 |
|
33 |
%files doc |
34 |
%doc %{gem_docdir} |
35 |
%doc CHANGELOG README |
36 |
#------------------------------------------------------------------------------- |
37 |
|
38 |
%prep |
39 |
%gem_setup |
40 |
|
41 |
%build |
42 |
%gem_build |
43 |
|
44 |
%install |
45 |
%gem_install |