File rubygem-mime-types-2.spec of Package rubygem-mime-types-2

#
# spec file for package rubygem-mime-types-2
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#

Name:           rubygem-mime-types-2
Version:        2.99.3
Release:        0
%define mod_name mime-types
%define mod_full_name %{mod_name}-%{version}
%define mod_version_suffix -2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  %{ruby >= 1.9.2}
BuildRequires:  %{rubygem gem2rpm}
BuildRequires:  %{rubygem rdoc > 3.10}
BuildRequires:  ruby-macros >= 5
Url:            https://github.com/mime-types/ruby-mime-types/
Source:         http://rubygems.org/gems/%{mod_full_name}.gem
Source1:        gem2rpm.yml
Summary:        The mime-types library provides a library and registry for
License:        MIT and Artistic-2.0 and GPL-2.0
Group:          Development/Languages/Ruby

%description
The mime-types library provides a library and registry for information about
MIME content type definitions. It can be used to determine defined filename
extensions for MIME types, or to use filename extensions to look up the likely
MIME type definitions.
This is release 2.99.1, the first scheduled data update for mime-types 2.x. As
of mime-types 2.99. deprecation warnings are noisy and data that has been
deprecated is now no longer available. The data is both dropped from the data
files and is stubbed out as empty or +nil+ values as appropriate.
mime-types-2.6 was the last version of mime-types 2.x with newly available
features, and mime-types 2.99 will only receive quarterly updates to the IANA
registered MIME media types plus any security updates that may be required.
If the loss of the deprecated data matters, be sure to set your dependency
appropriately:
gem 'mime-types', '~> 2.6, < 2.99'.

%prep

%build

%install
%gem_install \
  --doc-files="History.rdoc Licence.rdoc README.rdoc" \
  -f

%gem_packages

%changelog
openSUSE Build Service is sponsored by