File rubygem-mocha.spec of Package rubygem-mocha
#
# spec file for package rubygem-mocha
#
# Copyright (c) 2011 SUSE LINUX Products 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/
#
# norootforbuild
Name: rubygem-mocha
Version: 0.9.8
Release: 1
%define mod_name mocha
#
License: Other uncritical OpenSource License
Group: Development/Languages/Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
BuildRequires: rubygem-rake
%rubygems_requires
Requires: rubygem-rake
#
Url: http://mocha.rubyforge.org/
# http://rubyforge.org/projects/mocha/
Source: http://rubyforge.org/frs/download.php/63927/mocha-0.9.8.gem
#
Summary: A library for mocking and stubbing using a syntax like that of JMock
%description
Mocha is a library for mocking and stubbing using a syntax like that of JMock.
It can be used with many testing frameworks e.g. Test::Unit, RSpec, test/spec,
expectations, Dust, MiniTest and even JtestR.
Mocha provides a unified, simple and readable syntax for both traditional
mocking and partial mocking.
Authors:
--------
James Mead
Paul Battley
Chris Roos
Ben Griffiths
%prep
%build
%install
%gem_install %{S:0}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
%changelog