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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 482200 - (hide annotations) (download)
Fri Sep 20 15:06:39 2013 UTC (10 years, 7 months ago) by pterjan
File size: 1104 byte(s)
Rebuild for Ruby 2
1 shikamaru 48552 %define oname mime-types
2    
3     Name: ruby-%{oname}
4 fwang 312624 Version: 1.19
5 pterjan 482200 Release: %mkrel 5
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 pterjan 480024 Patch0: mime-types-1.19-files.patch
12 shikamaru 48552 BuildRequires: rubygems
13     BuildArch: noarch
14    
15     %description
16 shlomif 257532 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 shikamaru 48552
20 shlomif 257532 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 shikamaru 48552 %prep
26 pterjan 480024 %gem_setup
27     %apply_patches
28 shikamaru 48552
29     %build
30     %gem_build
31    
32     %install
33     %gem_install
34    
35 solbu 257156 %files
36 pterjan 480024 %{ruby_gemdir}/gems/%{oname}-%{version}/
37 solbu 257156 %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
38     %doc %{ruby_gemdir}/doc/%{oname}-%{version}
39 pterjan 480024 %doc History.rdoc Manifest.txt Licence.rdoc README.rdoc

  ViewVC Help
Powered by ViewVC 1.1.30