[rubygem-logging] Initial package import.

Chris Lalancette clalance at fedoraproject.org
Fri Jul 1 12:53:25 UTC 2011


commit eecfd5c610d5dabbe9a0dadf751049de63fedd4e
Author: Chris Lalancette <clalance at redhat.com>
Date:   Fri Jul 1 08:53:07 2011 -0400

    Initial package import.
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

 .gitignore           |    1 +
 rubygem-logging.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a987366 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/logging-1.4.3.gem
diff --git a/rubygem-logging.spec b/rubygem-logging.spec
new file mode 100644
index 0000000..f555e37
--- /dev/null
+++ b/rubygem-logging.spec
@@ -0,0 +1,54 @@
+# Generated from logging-1.4.3.gem by gem2rpm -*- rpm-spec -*-
+%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
+%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%define gemname logging
+%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
+
+Summary: A flexible and extendable logging library for Ruby
+Name: rubygem-%{gemname}
+Version: 1.4.3
+Release: 1%{?dist}
+Group: Development/Languages
+License: GPLv2+ or Ruby
+URL: http://rubygems.org/gems/logging
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: rubygems
+Requires: rubygem(little-plugger) >= 1.1.2
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+Logging is a flexible logging library for use in Ruby programs based on the
+design of Java's log4j library. It features a hierarchical logging system,
+custom level names, multiple output destinations per log event, custom
+formatting, and more.
+
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%{gemdir}/gems/%{gemname}-%{version}/
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%doc %{geminstdir}/History.txt
+%doc %{geminstdir}/README.rdoc
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+
+%changelog
+* Wed Mar 16 2011 Chris Lalancette <clalance at redhat.com> - 1.4.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..f8897ba 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0271c080963186cd4430dc5715018921  logging-1.4.3.gem


More information about the scm-commits mailing list