1 |
%define oname ruby-libvirt |
2 |
%global gem_name ruby-libvirt |
3 |
|
4 |
Name: ruby-libvirt |
5 |
Version: 0.5.2 |
6 |
Release: %mkrel 1 |
7 |
Summary: Ruby bindings for libvirt |
8 |
License: LGPLv2+ |
9 |
Group: Development/Ruby |
10 |
URL: http://libvirt.org/ruby/ |
11 |
Source0: http://libvirt.org/ruby/download/%{name}-%{version}.gem |
12 |
|
13 |
BuildRequires: rubygems |
14 |
BuildRequires: ruby-devel |
15 |
BuildRequires: libvirt-devel >= 0.4.0 |
16 |
BuildRequires: libvirt-utils |
17 |
BuildRequires: qemu |
18 |
|
19 |
%description |
20 |
Ruby bindings for libvirt. |
21 |
|
22 |
%prep |
23 |
%gem_setup |
24 |
|
25 |
%build |
26 |
%gem_build |
27 |
|
28 |
%install |
29 |
%gem_install |
30 |
rm -rf %{buildroot}/%{gem_extdir_mri}/ext |
31 |
|
32 |
%files |
33 |
%doc COPYING NEWS README |
34 |
%doc %{gem_docdir} |
35 |
%{gem_instdir} |
36 |
%{gem_spec} |
37 |
%{gem_extdir_mri} |