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

Contents of /cauldron/ruby-mime-types/current/SPECS/ruby-mime-types.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 480024 - (show annotations) (download)
Sun Sep 15 14:37:43 2013 UTC (10 years, 6 months ago) by pterjan
File size: 1104 byte(s)
- Fix file list
- Use gem_setup
- Patch to remove missing files from gemspec
1 %define oname mime-types
2
3 Name: ruby-%{oname}
4 Version: 1.19
5 Release: %mkrel 4
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 Patch0: mime-types-1.19-files.patch
12 BuildRequires: rubygems
13 BuildArch: noarch
14
15 %description
16 This library allows for the identification of a file's likely MIME content
17 type.The identification of MIME content type is based on a file's filename
18 extensions.
19
20 MIME::Types for Ruby originally based on and synchronized with MIME::Types for
21 Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data
22 format for the MIME::Type list has changed and the synchronization will no
23 longer happen.
24
25 %prep
26 %gem_setup
27 %apply_patches
28
29 %build
30 %gem_build
31
32 %install
33 %gem_install
34
35 %files
36 %{ruby_gemdir}/gems/%{oname}-%{version}/
37 %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
38 %doc %{ruby_gemdir}/doc/%{oname}-%{version}
39 %doc History.rdoc Manifest.txt Licence.rdoc README.rdoc

  ViewVC Help
Powered by ViewVC 1.1.30