[rubygem-moped] Initial import (#961907).

tdawson tdawson at fedoraproject.org
Wed May 29 17:07:25 UTC 2013


commit 4c561774020740e6aed1503d080de4b52e5e7e50
Author: Troy Dawson <tdawson at redhat.com>
Date:   Wed May 29 12:07:19 2013 -0500

    Initial import (#961907).

 .gitignore         |    1 +
 rubygem-moped.spec |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1426116 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/moped-1.5.0.gem
diff --git a/rubygem-moped.spec b/rubygem-moped.spec
new file mode 100644
index 0000000..195a014
--- /dev/null
+++ b/rubygem-moped.spec
@@ -0,0 +1,71 @@
+# Generated from moped-1.4.5.gem by gem2rpm -*- f19.spec -*-
+%global gem_name moped
+
+Summary:       A MongoDB driver for Ruby
+Name:          rubygem-%{gem_name}
+Version:       1.5.0
+Release:       1%{?dist}
+Group:         Development/Languages
+License:       MIT
+URL:           http://mongoid.org/en/moped
+Source0:       https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires:      ruby(release)
+Requires:      rubygems 
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildArch:     noarch
+Provides:      rubygem(%{gem_name}) = %{version}
+
+%description
+Moped is a MongoDB driver for Ruby, which exposes a simple, elegant,
+and fast API. Moped is the supported driver for Mongoid 
+from version 3 and higher.
+
+Moped is composed of three parts: an implementation of the 
+BSON specification, an implementation of the Mongo Wire 
+Protocol, and the driver itself.
+
+%package doc
+Summary:   Documentation for %{name}
+Group:     Documentation
+Requires:  %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+gem unpack %{SOURCE0}
+%setup -q -D -T -n  %{gem_name}-%{version}
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+gem build %{gem_name}.gemspec
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
+
+# Remove build leftovers.
+rm -rf %{buildroot}%{gem_instdir}/.yard*
+
+%files
+%doc %{gem_instdir}/LICENSE
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG.md
+%doc %{gem_instdir}/README.md
+
+%changelog
+* Tue May 28 2013 Troy Dawson <tdawson at redhat.com> - 1.5.0-1
+- Updated to 1.5.0
+- Fixed what goes in doc
+
+* Fri May 10 2013 Troy Dawson <tdawson at redhat.com> - 1.4.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..5c57d0b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b1c72eb0f767899800126b67ba16fa96  moped-1.5.0.gem


More information about the scm-commits mailing list