|
|
|
@ -4,19 +4,16 @@
|
|
|
|
|
|
|
|
|
|
Summary: Return the MIME Content-Type for a given filename
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 1.19
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.25.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: GPL+ or Ruby or Artistic
|
|
|
|
|
URL: http://mime-types.rubyforge.org/
|
|
|
|
|
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygem(minitest)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
MIME::Types for Ruby manages a MIME Content-Type database that will return the
|
|
|
|
@ -54,12 +51,15 @@ find %{buildroot}%{gem_instdir}/{Rakefile,test} -type f | \
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
testrb -Ilib test/*
|
|
|
|
|
ruby -Ilib -rminitest/autorun -rfileutils -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc %{gem_instdir}/History.rdoc
|
|
|
|
|
%doc %{gem_instdir}/Licence.rdoc
|
|
|
|
|
%dir %{gem_instdir}/docs
|
|
|
|
|
%doc %{gem_instdir}/docs/COPYING.txt
|
|
|
|
|
%doc %{gem_instdir}/docs/artistic.txt
|
|
|
|
|
%doc %{gem_instdir}/README.rdoc
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
|
%exclude %{gem_instdir}/.*
|
|
|
|
@ -68,13 +68,17 @@ popd
|
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc %{gem_instdir}/Contributing.rdoc
|
|
|
|
|
%{gem_instdir}/Gemfile
|
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
|
%{gem_instdir}/mime-types.gemspec
|
|
|
|
|
%{gem_instdir}/Manifest.txt
|
|
|
|
|
%{gem_instdir}/test
|
|
|
|
|
%{gem_docdir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 16 2014 Vít Ondruch <vondruch@redhat.com> - 1.25.1-1
|
|
|
|
|
- Update to mime-types 1.25.1.
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|