Blame SPECS/rubygem-mail.spec

33286a
%{!?scl:%global pkg_name %{name}}
33286a
%{?scl:%scl_package rubygem-%{gem_name}}
33286a
33286a
# Generated from mail-2.3.0.gem by gem2rpm -*- rpm-spec -*-
33286a
%global gem_name mail
33286a
33286a
Summary: Mail provides a nice Ruby DSL for making, sending and reading emails
33286a
Name: %{?scl_prefix}rubygem-%{gem_name}
33286a
Version: 2.5.4
33286a
Release: 2%{?dist}
33286a
Group: Development/Languages
33286a
License: MIT
33286a
URL: http://github.com/mikel/mail
33286a
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
33286a
# git clone https://github.com/mikel/mail.git && cd mail && git checkout 2.4.4
33286a
# tar czvf mail-2.4.4-specs.tgz spec/
33286a
Source1: %{gem_name}-%{version}-specs.tgz
33286a
Requires: %{?scl_prefix_ruby}ruby(release)
33286a
Requires: %{?scl_prefix_ruby}ruby(rubygems)
33286a
Requires: %{?scl_prefix}rubygem(mime-types) >= 1.16
33286a
Requires: %{?scl_prefix}rubygem(mime-types) < 2
33286a
Requires: %{?scl_prefix}rubygem(treetop) >= 1.4.8
33286a
Requires: %{?scl_prefix}rubygem(treetop) < 1.5
33286a
Requires: %{?scl_prefix}rubygem(i18n) >= 0.4.0
33286a
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
33286a
BuildRequires: %{?scl_prefix_ruby}ruby(release)
33286a
BuildRequires: %{?scl_prefix}rubygem(rspec)
33286a
BuildRequires: %{?scl_prefix}rubygem(mime-types) >= 1.16
33286a
BuildRequires: %{?scl_prefix}rubygem(mime-types) < 2
33286a
BuildRequires: %{?scl_prefix}rubygem(treetop) >= 1.4.8
33286a
BuildRequires: %{?scl_prefix}rubygem(treetop) < 1.5
33286a
BuildRequires: %{?scl_prefix}rubygem(activesupport)
33286a
BuildArch: noarch
33286a
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
33286a
33286a
%description
33286a
A really Ruby Mail handler.
33286a
33286a
%package doc
33286a
Summary: Documentation for %{pkg_name}
33286a
Group: Documentation
33286a
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
33286a
33286a
%description doc
33286a
This package contains documentation for %{pkg_name}.
33286a
33286a
33286a
%prep
33286a
%setup -q -c -T
33286a
%{?scl:scl enable %scl - << \EOF}
33286a
%gem_install -n %{SOURCE0}
33286a
%{?scl:EOF}
33286a
33286a
33286a
%build
33286a
33286a
%install
33286a
mkdir -p %{buildroot}%{gem_dir}
33286a
cp -a .%{gem_dir}/* \
33286a
        %{buildroot}%{gem_dir}/
33286a
33286a
%check
33286a
tar xzvf %{SOURCE1} -C .%{gem_instdir}
33286a
pushd .%{gem_instdir}
33286a
%{?scl:scl enable %scl - << \EOF}
33286a
LANG=en_US.utf8 rspec -rmail/fields/common/common_address spec
33286a
%{?scl:EOF}
33286a
popd
33286a
33286a
%files
33286a
%dir %{gem_instdir}
33286a
%{gem_libdir}
33286a
%exclude %{gem_cache}
33286a
%{gem_spec}
33286a
%doc %{gem_instdir}/README.md
33286a
%doc %{gem_instdir}/MIT-LICENSE
33286a
%doc %{gem_instdir}/Gemfile
33286a
%doc %{gem_instdir}/Rakefile
33286a
33286a
%files doc
33286a
%{gem_docdir}
33286a
%{gem_instdir}/CONTRIBUTING.md
33286a
%{gem_instdir}/CHANGELOG.rdoc
33286a
%{gem_instdir}/Dependencies.txt
33286a
%{gem_instdir}/TODO.rdoc
33286a
33286a
%changelog
33286a
* Mon Jan 19 2015 Josef Stribny <jstribny@redhat.com> - 2.5.4-2
33286a
- rebuilt for ror41
33286a
33286a
* Wed Oct 16 2013 Josef Stribny <jstribny@redhat.com> - 2.5.4-1
33286a
- Update to mail 2.5.4
33286a
33286a
* Wed Jun 19 2013 Josef Stribny <jstribny@redhat.com> - 2.4.4-5
33286a
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
33286a
33286a
* Wed Jun 12 2013 Josef Stribny <jstribny@redhat.com> - 2.4.4-4
33286a
- Patch encoding for Ruby 1.9.3
33286a
  Resolves: rhbz#973650
33286a
33286a
* Tue Jul 31 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.4.4-3
33286a
- Exclude the cached gem.
33286a
33286a
* Thu Jul 26 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.4.4-2
33286a
- Specfile cleanup
33286a
33286a
* Tue Apr 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.4.4-1
33286a
- Rebuilt for scl.
33286a
- Updated to 2.4.4.
33286a
33286a
* Tue Jan 31 2012 Vít Ondruch <vondruch@redhat.com> - 2.3.0-3
33286a
- Rebuilt for Ruby 1.9.3.
33286a
33286a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-2
33286a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
33286a
33286a
* Wed May 04 2011  <Minnikhanov@gmail.com> - 2.3.0-1
33286a
- Updated mail to latest upstream release (v.2.3.0 2011-04-27)
33286a
- Test excluded. May be need Zentest >= 4.4.0 and rubygem(rcov).
33286a
33286a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.15-3
33286a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
33286a
33286a
* Mon Jan 31 2011  <Minnikhanov@gmail.com> - 2.2.15-2
33286a
- Fix Comment 18 #665560. https://bugzilla.redhat.com/show_bug.cgi?id=665560#c18 
33286a
- Remove create Gemfile.lock at prep-section.
33286a
33286a
* Sat Jan 29 2011  <Minnikhanov@gmail.com> - 2.2.15-1
33286a
- Updated mail to latest upstream release (v.2.2.15 2011-01-25)
33286a
33286a
* Thu Jan 27 2011  <Minnikhanov@gmail.com> - 2.2.14-5
33286a
- Fix Comment 14 #665560. https://bugzilla.redhat.com/show_bug.cgi?id=665560#c14 
33286a
33286a
* Mon Jan 24 2011  <Minnikhanov@gmail.com> - 2.2.14-4
33286a
- Fix Comment 12 #665560. https://bugzilla.redhat.com/show_bug.cgi?id=665560#c12 
33286a
33286a
* Sun Jan 23 2011  <Minnikhanov@gmail.com> - 2.2.14-3
33286a
- 'BuildRequires:%{?scl:%scl_prefix}' correct wrong tag 'BuildRequires(check):'. 
33286a
33286a
* Sat Jan 22 2011  <Minnikhanov@gmail.com> - 2.2.14-2
33286a
- Fix Comment 6 #665560. https://bugzilla.redhat.com/show_bug.cgi?id=665560#c6 
33286a
33286a
* Thu Jan 13 2011  <Minnikhanov@gmail.com> - 2.2.14-1
33286a
- Updated mail to latest upstream release
33286a
33286a
* Fri Dec 24 2010  <Minnikhanov@gmail.com> - 2.2.13-1
33286a
- Initial package
33286a