1 |
%define oname mime-types |
2 |
|
3 |
Name: ruby-%{oname} |
4 |
Version: 1.25 |
5 |
Release: %mkrel 1 |
6 |
Summary: MIME Content-Type database |
7 |
Group: Development/Ruby |
8 |
License: GPLv2+ or Ruby License or Artistic |
9 |
URL: http://mime-types.rubyforge.org/ |
10 |
Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem |
11 |
BuildRequires: rubygems |
12 |
BuildArch: noarch |
13 |
|
14 |
%description |
15 |
This library allows for the identification of a file's likely MIME content |
16 |
type.The identification of MIME content type is based on a file's filename |
17 |
extensions. |
18 |
|
19 |
MIME::Types for Ruby originally based on and synchronized with MIME::Types for |
20 |
Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data |
21 |
format for the MIME::Type list has changed and the synchronization will no |
22 |
longer happen. |
23 |
|
24 |
%prep |
25 |
%gem_setup |
26 |
|
27 |
%build |
28 |
%gem_build |
29 |
|
30 |
%install |
31 |
%gem_install |
32 |
|
33 |
%files |
34 |
%{ruby_gemdir}/gems/%{oname}-%{version}/ |
35 |
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
36 |
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |
37 |
%doc History.rdoc Manifest.txt Licence.rdoc README.rdoc |