[rubygem-riot] Initial import

Josef Stribny jstribny at fedoraproject.org
Wed Jan 2 09:48:27 UTC 2013


commit 549bfca17e6a171f97472a5c0b091bf0db6a4d24
Author: Josef Stribny <jstribny at redhat.com>
Date:   Wed Jan 2 10:47:50 2013 +0100

    Initial import

 .gitignore        |    1 +
 rubygem-riot.spec |   83 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9bce4aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/riot-0.12.5.gem
diff --git a/rubygem-riot.spec b/rubygem-riot.spec
new file mode 100644
index 0000000..f045949
--- /dev/null
+++ b/rubygem-riot.spec
@@ -0,0 +1,83 @@
+# Generated from riot-0.12.5.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name riot
+%global rubyabi 1.9.1
+
+Summary: An extremely fast, expressive, and context-driven unit-testing framework
+Name: rubygem-%{gem_name}
+Version: 0.12.5
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/thumblemonks/riot
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems) 
+Requires: rubygem(rr) 
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel 
+BuildRequires: rubygem(rr) 
+BuildRequires: rubygem(minitest) 
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+An extremely fast, expressive, and context-driven unit-testing framework.
+A replacement for all other testing frameworks. Protest the slow test.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+%setup -q -c -T
+mkdir -p .%{gem_dir}
+gem install --local --install-dir .%{gem_dir} \
+            --force %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+%check
+pushd .%{gem_instdir}
+
+testrb -Ilib:test test/core/**/*_test.rb
+testrb -Ilib:test test/extensions/*_test.rb
+
+popd
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/.gitignore
+%{gem_spec}
+%doc %{gem_instdir}/MIT-LICENSE
+%exclude %{gem_instdir}/.yardopts
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.markdown
+%doc %{gem_instdir}/CHANGELOG
+%{gem_instdir}/%{gem_name}.gemspec
+%{gem_instdir}/Rakefile
+%{gem_instdir}/Gemfile
+%{gem_instdir}/test
+
+%changelog
+* Tue Dec 10 2012 Josef Stribny <jstribny at redhat.com> - 0.12.5-2
+- Fixed license
+- Moved .gemspec to doc subpackage
+- Excluded .yardopts from the package
+- Changed to testrb -Ilib:test to avoid issues with bootsrap
+
+* Tue Dec 04 2012 Josef Stribny <jstribny at redhat.com> - 0.12.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..f74bea1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6c3efcf9149de34edc931668d2606acc  riot-0.12.5.gem


More information about the scm-commits mailing list