Revision 8ebb033b
Added by Dominic Cleal about 10 years ago
rel-eng/tito.props | ||
---|---|---|
rubygem-ffi
|
||
rubygem-hammer_cli
|
||
rubygem-hammer_cli_foreman
|
||
rubygem-mime-types
|
||
rubygem-powerbar
|
||
rubygem-table_print
|
||
rubygem-terminal-table
|
||
... | ... | |
[foreman-nightly-nonscl-rhel7]
|
||
disttag = .el7
|
||
whitelist = rubygem-ffi
|
||
rubygem-mime-types
|
||
|
||
[foreman-nightly-fedora19]
|
||
disttag = .fc19
|
rubygem-mime-types/mime-types-1.19.gem | ||
---|---|---|
../.git/annex/objects/7P/W3/SHA256E-s38912--4658ed1c3945625e2b1464061ef5d1163d2fb101a14fa9bc04d1ec347fa684ac.19.gem/SHA256E-s38912--4658ed1c3945625e2b1464061ef5d1163d2fb101a14fa9bc04d1ec347fa684ac.19.gem
|
rubygem-mime-types/rubygem-mime-types.spec | ||
---|---|---|
# Generated from mime-types-1.16.gem by gem2rpm -*- rpm-spec -*-
|
||
%global gem_name mime-types
|
||
|
||
|
||
Summary: Return the MIME Content-Type for a given filename
|
||
Name: rubygem-%{gem_name}
|
||
Version: 1.19
|
||
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(release)
|
||
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
|
||
Content-Type for a given filename.
|
||
|
||
MIME::Types was 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.
|
||
|
||
%package doc
|
||
Summary: Documentation for %{name}
|
||
Group: Documentation
|
||
|
||
Requires: %{name} = %{version}-%{release}
|
||
|
||
%description doc
|
||
This package contains documentation for %{name}.
|
||
|
||
%prep
|
||
%setup -q -c -T
|
||
|
||
%gem_install -n %{SOURCE0}
|
||
|
||
%build
|
||
|
||
%install
|
||
rm -rf %{buildroot}
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
|
||
|
||
# These aren't executables
|
||
find %{buildroot}%{gem_instdir}/{Rakefile,test} -type f | \
|
||
xargs -n 1 sed -i -e '/^#! \/usr\/bin\/env .*/d'
|
||
|
||
%check
|
||
pushd .%{gem_instdir}
|
||
testrb -Ilib test/*
|
||
popd
|
||
|
||
%files
|
||
%doc %{gem_instdir}/History.rdoc
|
||
%doc %{gem_instdir}/Licence.rdoc
|
||
%doc %{gem_instdir}/README.rdoc
|
||
%dir %{gem_instdir}
|
||
%exclude %{gem_instdir}/.*
|
||
%{gem_libdir}
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
|
||
%files doc
|
||
%{gem_instdir}/Rakefile
|
||
%{gem_instdir}/mime-types.gemspec
|
||
%{gem_instdir}/Manifest.txt
|
||
%{gem_instdir}/test
|
||
%{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
|
||
|
||
* Fri Oct 26 2012 Vít Ondruch <vondruch@redhat.com> - 1.19-1
|
||
- Update to mime-types 1.19.
|
||
|
||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-8
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
||
* Tue Jan 31 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.16-7
|
||
- Rebuilt for Ruby 1.9.3.
|
||
|
||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-6
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
||
* Mon Aug 08 2011 Mo Morsi <mmorsi@redhat.com> - 1.16-5
|
||
- Replace BR(check) with BR
|
||
|
||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
||
* Wed Dec 30 2009 Matthew Kent <mkent@magoazul.com> - 1.16-3
|
||
- Remove needless rcov task in Rakefile causing issue (#544964).
|
||
|
||
* Sun Dec 27 2009 Matthew Kent <mkent@magoazul.com> - 1.16-2
|
||
- Fix license (#544964).
|
||
- Add note about rcov warning in test phase (#544964).
|
||
|
||
* Sun Dec 06 2009 Matthew Kent <mkent@magoazul.com> - 1.16-1
|
||
- Initial package
|
Also available in: Unified diff
Import rubygem-mime-types for EL7