[rubygem-mongoid] Initial import (#961912).

tdawson tdawson at fedoraproject.org
Wed Jun 5 14:47:40 UTC 2013


commit d7ab186b8be825404bf185f2304626fd8e89c79c
Author: Troy Dawson <tdawson at redhat.com>
Date:   Wed Jun 5 09:47:18 2013 -0500

    Initial import (#961912).

 .gitignore           |    1 +
 rubygem-mongoid.spec |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4d0471c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mongoid-3.1.3.gem
diff --git a/rubygem-mongoid.spec b/rubygem-mongoid.spec
new file mode 100644
index 0000000..d13393f
--- /dev/null
+++ b/rubygem-mongoid.spec
@@ -0,0 +1,65 @@
+# Generated from mongoid-3.1.3.gem by gem2rpm -*- f19.spec -*-
+%global gem_name mongoid
+
+Summary:       Elegant Persistance in Ruby for MongoDB
+Name:          rubygem-%{gem_name}
+Version:       3.1.3
+Release:       1%{?dist}
+Group:         Development/Languages
+License:       MIT
+URL:           http://mongoid.org
+Source0:       https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires:      ruby(release)
+Requires:      rubygems
+Requires:      rubygem(activemodel) >= 3.2
+Requires:      rubygem(tzinfo) >= 0.3.22
+Requires:      rubygem(moped) >= 1.4.2
+Requires:      rubygem(origin) >= 1.0
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildArch:     noarch
+Provides:      rubygem(%{gem_name}) = %{version}
+
+%description
+Mongoid is an ODM (Object Document Mapper) Framework for MongoDB, written in
+Ruby.
+
+
+%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}/[A-Z]*
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+
+%changelog
+* Fri May 10 2013 Troy Dawson <tdawson at redhat.com> - 3.1.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..15bc9e3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0741f38d5d03915764b5d149501b594a  mongoid-3.1.3.gem


More information about the scm-commits mailing list