%define oname mime-types Name: ruby-%{oname} Version: 1.19 Release: %mkrel 3 Summary: MIME Content-Type database Group: Development/Ruby License: GPLv2+ or Ruby License or Artistic URL: http://mime-types.rubyforge.org/ Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem BuildRequires: rubygems BuildArch: noarch %description This library allows for the identification of a file's likely MIME content type.The identification of MIME content type is based on a file's filename extensions. MIME::Types for Ruby originally based on and synchronized with MIME::Types for Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data format for the MIME::Type list has changed and the synchronization will no longer happen. %prep %setup -q tar xmf data.tar.gz %build %gem_build %install %gem_install %files %dir %{ruby_gemdir}/gems/%{oname}-%{version}/ %{ruby_gemdir}/gems/%{oname}-%{version}/lib %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec %doc %{ruby_gemdir}/doc/%{oname}-%{version} %doc %{ruby_gemdir}/gems/%{oname}-%{version}/History.rdoc %doc %{ruby_gemdir}/gems/%{oname}-%{version}/Manifest.txt %doc %{ruby_gemdir}/gems/%{oname}-%{version}/Licence.rdoc %doc %{ruby_gemdir}/gems/%{oname}-%{version}/README.rdoc %changelog * Fri Feb 08 2013 umeabot <umeabot> 1.19-3.mga3 + Revision: 396155 - Rebuild for CVE-2013-0256 * Mon Jan 14 2013 umeabot <umeabot> 1.19-2.mga3 + Revision: 381119 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Nov 02 2012 fwang <fwang> 1.19-1.mga3 + Revision: 312624 - new version 1.19 * Fri Jun 08 2012 shlomif <shlomif> 1.18-1.mga3 + Revision: 257532 - Made the description more meaningful + solbu <solbu> - New version - Spec cleanup - Drop patch * Mon Feb 07 2011 shikamaru <shikamaru> 1.16-5.mga1 + Revision: 48552 - imported package ruby-mime-types