/[packages]/cauldron/ruby-thrift/current/SPECS/ruby-thrift.spec
ViewVC logotype

Contents of /cauldron/ruby-thrift/current/SPECS/ruby-thrift.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 312939 - (show annotations) (download)
Sat Nov 3 06:04:10 2012 UTC (11 years, 5 months ago) by fwang
File size: 1302 byte(s)
new version 0.8.0
1 %define oname thrift
2
3 Name: ruby-%{oname}
4 Epoch: 1
5 Version: 0.8.0
6 Release: %mkrel 1
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 %dir %{ruby_gemdir}/gems/%{oname}-%{version}/
20 %{ruby_gemdir}/gems/%{oname}-%{version}/lib
21 %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
22 %{ruby_sitearchdir}/*.so
23
24 #-------------------------------------------------------------------------------
25 %package doc
26 Summary: Documentation for %{name}
27 Group: Development/Ruby
28 BuildArch: noarch
29 Requires: %{name} = %{epoch}:%{version}-%{release}
30
31 %description doc
32 Documents, Rdoc & RI documentation for %{name}.
33
34 %files doc
35 %doc %{ruby_gemdir}/doc/%{oname}-%{version}
36 %doc %{ruby_gemdir}/gems/%{oname}-%{version}/CHANGELOG
37 %doc %{ruby_gemdir}/gems/%{oname}-%{version}/README
38 #-------------------------------------------------------------------------------
39
40 %prep
41 %setup -q
42 tar xmf data.tar.gz
43
44 %build
45 %gem_build
46
47 %install
48 %gem_install
49
50 rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/ext/

  ViewVC Help
Powered by ViewVC 1.1.30