Vít Ondruch 12 years ago
parent bfd3bdbe6d
commit 6b1bdc58f3

@ -1,20 +1,19 @@
# Generated from mime-types-1.16.gem by gem2rpm -*- rpm-spec -*-
%global gem_name mime-types
%global rubyabi 1.9.1
Summary: Return the MIME Content-Type for a given filename
Name: rubygem-%{gem_name}
Version: 1.19
Release: 2%{?dist}
Release: 3%{?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(abi) = %{rubyabi}
Requires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(release)
BuildRequires: rubygem(minitest)
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
@ -40,12 +39,7 @@ This package contains documentation for %{name}.
%prep
%setup -q -c -T
mkdir -p .%{gem_dir}
gem install -V \
--local \
--install-dir $(pwd)/%{gem_dir} \
--force --rdoc \
%{SOURCE0}
%gem_install -n %{SOURCE0}
%build
@ -81,6 +75,9 @@ popd
%{gem_docdir}
%changelog
* Thu Feb 28 2013 Vít Ondruch <vondruch@redhat.com> - 1.19-3
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

Loading…
Cancel
Save