1 |
shikamaru |
48552 |
%define oname mime-types |
2 |
|
|
|
3 |
|
|
Name: ruby-%{oname} |
4 |
fwang |
489137 |
Version: 1.25 |
5 |
pterjan |
562010 |
Release: %mkrel 4 |
6 |
shikamaru |
48552 |
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 |
shlomif |
257532 |
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 |
shikamaru |
48552 |
|
19 |
shlomif |
257532 |
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 |
shikamaru |
48552 |
%prep |
25 |
pterjan |
480024 |
%gem_setup |
26 |
shikamaru |
48552 |
|
27 |
|
|
%build |
28 |
|
|
%gem_build |
29 |
|
|
|
30 |
|
|
%install |
31 |
|
|
%gem_install |
32 |
|
|
|
33 |
solbu |
257156 |
%files |
34 |
pterjan |
561397 |
%{gem_instdir}/ |
35 |
|
|
%{gem_spec} |
36 |
|
|
%doc %{gem_docdir} |
37 |
pterjan |
480024 |
%doc History.rdoc Manifest.txt Licence.rdoc README.rdoc |