/[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 48552 - (show annotations) (download)
Mon Feb 7 13:37:06 2011 UTC (13 years, 2 months ago) by shikamaru
File size: 1470 byte(s)
imported package ruby-mime-types
1 %define oname mime-types
2
3 Name: ruby-%{oname}
4 Version: 1.16
5 Release: %mkrel 5
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.16-fix-hoe-call.patch
12 BuildRequires: rubygems
13 BuildRequires: rubygem(hoe) >= 1.8.3
14 BuildRequires: rubygem(nokogiri) >= 1.2
15 BuildRequires: rubygem(rcov) >= 0.8
16 BuildRequires: rubygem(archive-tar-minitar) >= 0.5
17 Requires: ruby(abi) = 1.8
18 BuildArch: noarch
19
20 %description
21 MIME::Types for Ruby originally based on and synchronized with MIME::Types
22 for Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the
23 data format for the MIME::Type list has changed and the synchronization will
24 no longer happen.
25
26 %files
27 %defattr(-, root, root, -)
28 %dir %{ruby_gemdir}/gems/%{oname}-%{version}/
29 %{ruby_gemdir}/gems/%{oname}-%{version}/lib
30 %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
31 %doc %{ruby_gemdir}/doc/%{oname}-%{version}
32 %doc %{ruby_gemdir}/gems/%{oname}-%{version}/History.txt
33 %doc %{ruby_gemdir}/gems/%{oname}-%{version}/Install.txt
34 %doc %{ruby_gemdir}/gems/%{oname}-%{version}/Licence.txt
35 %doc %{ruby_gemdir}/gems/%{oname}-%{version}/README.txt
36
37 %prep
38 %setup -q
39 tar xmf data.tar.gz
40 %patch0 -p0
41
42 %build
43 %gem_build
44
45 %install
46 rm -rf %{buildroot}
47 %gem_install
48
49 %check
50 rake test
51
52 %clean
53 rm -rf %{buildroot}
54

  ViewVC Help
Powered by ViewVC 1.1.30