[rubygem-shindo] Initial import (#745383).

Bohuslav Kabrda bkabrda at fedoraproject.org
Thu Oct 13 12:56:31 UTC 2011


commit ee8c06e528cd3121149e8f8fcc5ae84a6159f848
Author: bkabrda <bkabrda at dhcp-0-215.brq.redhat.com>
Date:   Thu Oct 13 14:55:29 2011 +0200

    Initial import (#745383).

 .gitignore          |    1 +
 rubygem-shindo.spec |   88 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 90 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7efcddf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/shindo-0.3.4.gem
diff --git a/rubygem-shindo.spec b/rubygem-shindo.spec
new file mode 100644
index 0000000..af4df2c
--- /dev/null
+++ b/rubygem-shindo.spec
@@ -0,0 +1,88 @@
+# Generated from shindo-0.3.4.gem by gem2rpm -*- rpm-spec -*-
+%global gemname shindo
+
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: Simple depth first Ruby testing
+Name: rubygem-%{gemname}
+Version: 0.3.4
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/geemus/shindo
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems) 
+Requires: ruby 
+Requires: rubygem(formatador) >= 0.1.1
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(rubygems) 
+BuildRequires: ruby
+BuildRequires: rubygem(formatador) >= 0.1.1
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+Work with your tests, not against them.
+
+
+%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 .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+            --bindir .%{_bindir} \
+            --force %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* \
+        %{buildroot}%{gemdir}/
+
+mkdir -p %{buildroot}%{_bindir}
+cp -a .%{_bindir}/* \
+        %{buildroot}%{_bindir}/
+
+find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
+
+%check
+pushd .%{geminstdir}
+bin/shindo
+popd
+
+%files
+%dir %{geminstdir}
+%{_bindir}/shindo
+%{_bindir}/shindont
+%{geminstdir}/bin
+%{geminstdir}/lib
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%doc %{geminstdir}/README.rdoc
+
+%files doc
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%{geminstdir}/tests
+%{geminstdir}/Gemfile
+%{geminstdir}/Rakefile
+%{geminstdir}/shindo.gemspec
+
+%changelog
+* Thu Oct 13 2011 Bohuslav Kabrda <bkabrda at redhat.com> - 0.3.4-2
+- Simplified the test running.
+
+* Wed Oct 12 2011 Bohuslav Kabrda <bkabrda at redhat.com> - 0.3.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..36dab9e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a9a35bc3d0ceff453bc845cb7d9933f2  shindo-0.3.4.gem


More information about the scm-commits mailing list