1 |
shikamaru |
48552 |
%define oname mime-types |
2 |
|
|
|
3 |
|
|
Name: ruby-%{oname} |
4 |
fwang |
312624 |
Version: 1.19 |
5 |
umeabot |
381119 |
Release: %mkrel 2 |
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 |
|
|
%setup -q |
26 |
|
|
tar xmf data.tar.gz |
27 |
|
|
|
28 |
|
|
%build |
29 |
|
|
%gem_build |
30 |
|
|
|
31 |
|
|
%install |
32 |
|
|
%gem_install |
33 |
|
|
|
34 |
solbu |
257156 |
%files |
35 |
|
|
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/ |
36 |
|
|
%{ruby_gemdir}/gems/%{oname}-%{version}/lib |
37 |
|
|
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec |
38 |
|
|
%doc %{ruby_gemdir}/doc/%{oname}-%{version} |
39 |
|
|
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/History.rdoc |
40 |
|
|
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/Manifest.txt |
41 |
|
|
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/Licence.rdoc |
42 |
|
|
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/README.rdoc |