[rubygem-colored/f17] Initial commit

Maros Zatko mzatko at fedoraproject.org
Fri Oct 26 16:42:58 UTC 2012


commit bcaf378dc812bcd9e2855b4275231e4a005fd075
Author: Maros Zatko <mzatko at redhat.com>
Date:   Fri Oct 26 18:42:06 2012 +0200

    Initial commit

 .gitignore           |    1 +
 rubygem-colored.spec |   81 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..603e3b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/colored-1.2.gem
diff --git a/rubygem-colored.spec b/rubygem-colored.spec
new file mode 100644
index 0000000..4bda5db
--- /dev/null
+++ b/rubygem-colored.spec
@@ -0,0 +1,81 @@
+# Generated from colored-1.2.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name colored
+%global rubyabi 1.9.1
+
+Summary: Extends ruby string class in order to colorize terminal output
+Name: rubygem-%{gem_name}
+Version: 1.2
+Release: 4%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/defunkt/colored
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+Requires: ruby
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem-minitest
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Rubygem extending the ruby string class to include methods that generates
+colored terminal output.
+
+%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/colored_test.rb
+popd
+
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%{gem_spec}
+%{gem_cache}
+%{gem_instdir}/LICENSE
+
+%files doc
+%doc %{gem_docdir}
+%{gem_instdir}/README
+%{gem_instdir}/Rakefile
+%{gem_instdir}/test/
+
+%changelog
+* Mon Oct 22 2012  <mzatko at redhat.com> - 1.2-4
+- Owning test directory
+
+* Mon Oct 08 2012  <mzatko at redhat.com> - 1.2-3
+- Renamed specfile, corrected summary/description
+- Moved tests to doc, not excluding gem_cache
+- Runs tests
+
+* Mon Sep 03 2012  <mzatko at redhat.com> - 1.2-2
+- Removed unnecessary files, corrected license
+
+* Wed Jul 11 2012  <mzatko at redhat.com> - 1.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..f74e895 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1b1a0f16f7c6ab57d1a2d6de53b13c42  colored-1.2.gem


More information about the scm-commits mailing list