Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 2e779cbb0a818cb57f595b7af868c45e > files > 2

ruby-minitest-4.2.0-3.mga3.src.rpm

%define oname   minitest

Name:       ruby-%{oname}
Version:    4.2.0
Release:    %mkrel 3
Summary:    A complete suite of testing facilities
Group:      Development/Ruby
License:    MIT
URL:        http://rubyforge.org/projects/bfts
Source0:    http://rubygems.org/gems/%{oname}-%{version}.gem
BuildRequires: rubygems
BuildRequires: rubygem(hoe) >= 3.1
BuildArch:  noarch

%description
minitest provides a complete suite of testing facilities supporting
TDD, BDD, mocking, and benchmarking. minitest/unit is a small and
incredibly fast unit testing framework. It provides a rich set of
assertions to make your tests clean and readable. minitest/spec is a
functionally complete spec engine. It hooks onto minitest/unit and
seamlessly bridges test assertions over to spec expectations.
minitest/benchmark is an awesome way to assert the performance of your
algorithms in a repeatable manner. Now you can assert that your newb
co-worker doesn't replace your linear algorithm with an exponential
one. minitest/mock by Steven Baker, is a beautifully tiny mock object
framework. minitest/pride shows pride in testing and adds coloring to your
test output. minitest/unit is meant to have a clean implementation for
language implementors that need a minimal set of methods to bootstrap a
working test suite. For example, there is no magic involved for test-case
discovery.


#-------------------------------------------------------------------------------
%package        doc
Summary:    Documentation for %{name}
Group:      Development/Ruby
Requires:   %{name} = %{version}-%{release}

%description    doc
Documents, Rdoc & RI documentation for %{name}.
#-------------------------------------------------------------------------------

%prep
%setup -q
tar xmf data.tar.gz

%build
%gem_build

%install
%gem_install

# fix shebang
sed -i '/^#!/d' %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/lib/minitest/spec.rb

%files
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/
%{ruby_gemdir}/gems/%{oname}-%{version}/lib
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec

%files          doc
%doc %{ruby_gemdir}/doc/%{oname}-%{version}
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/History.txt
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/Manifest.txt
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/README.txt


%changelog

* Fri Feb 08 2013 umeabot <umeabot> 4.2.0-3.mga3
+ Revision: 396159
- Rebuild for CVE-2013-0256

* Mon Jan 14 2013 umeabot <umeabot> 4.2.0-2.mga3
+ Revision: 381120
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Nov 09 2012 shlomif <shlomif> 4.2.0-1.mga3
+ Revision: 316751
- New version 4.2.0

* Thu Nov 01 2012 fwang <fwang> 3.3.0-2.mga3
+ Revision: 311953
- rebuild for new ruby
- cleanup spec

* Sat Aug 11 2012 shlomif <shlomif> 3.3.0-1.mga3
+ Revision: 280666
- New version 3.3.0 + removed trailing space from the .spec.

  + solbu <solbu>
    - Fix unpackaged files
    - Fix to long description
    - New version
    - Spec cleanup

* Wed Apr 13 2011 shikamaru <shikamaru> 2.1.0-1.mga1
+ Revision: 84707
- new version 2.1.0

* Sat Jan 29 2011 shikamaru <shikamaru> 2.0.2-1.mga1
+ Revision: 43468
- New version 2.0.2
- update summary according to upstream

* Fri Jan 28 2011 shikamaru <shikamaru> 2.0.0-1.mga1
+ Revision: 42996
- New version 2.0.0
- add BR
- fix group for doc subpackage
- update description from upstream
- remove useless BuildArch

* Tue Jan 25 2011 shikamaru <shikamaru> 1.7.1-5.mga1
+ Revision: 39598
- rebuild for new rubygems.rb

* Sun Jan 23 2011 shikamaru <shikamaru> 1.7.1-4.mga1
+ Revision: 34685
- add check section

* Sun Jan 23 2011 shikamaru <shikamaru> 1.7.1-3.mga1
+ Revision: 34652
- imported package ruby-minitest