[rubygem-abrt] Initial import (#838568).

Vít Ondruch vondruch at fedoraproject.org
Thu Sep 20 12:12:04 UTC 2012


commit 251283833cfed3762d86f1e4ed7f21b057f644aa
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Jul 17 15:14:09 2012 +0200

    Initial import (#838568).

 rubygem-abrt.spec |   74 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 2 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-abrt.spec b/rubygem-abrt.spec
new file mode 100644
index 0000000..bfae67f
--- /dev/null
+++ b/rubygem-abrt.spec
@@ -0,0 +1,74 @@
+# Generated from abrt-0.0.2.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name abrt
+%global rubyabi 1.9.1
+
+Summary: ABRT support for Ruby MRI
+Name: rubygem-%{gem_name}
+Version: 0.0.2
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/voxik/abrt-ruby
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+# git clone https://github.com/voxik/abrt-ruby.git && cd abrt-ruby && git checkout v0.0.2
+# tar czvf abrt-0.0.2-specs.tar.gz spec/
+Source1: %{gem_name}-%{version}-specs.tar.gz
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(rspec)
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Provides ABRT reporting support for applications written using Ruby.
+
+
+%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}
+tar xzf %{SOURCE1}
+
+rspec spec
+
+popd
+
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/LICENSE.txt
+%{gem_instdir}/Rakefile
+%doc %{gem_instdir}/README.rdoc
+
+%changelog
+* Mon Jul 09 2012 Vít Ondruch <vondruch at redhat.com> - 0.0.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..17d5f39 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+58e8b0098e57479827d83c19111bc5e1  abrt-0.0.2-specs.tar.gz


More information about the scm-commits mailing list