[rubygem-mg] Added the initial specfile and gem version (0.0.8).

Darryl L. Pierce mcpierce at fedoraproject.org
Tue Oct 18 12:44:17 UTC 2011


commit c0f873d6dc80363c74effa60c975e61062f5d54d
Author: Darryl L. Pierce <dpierce at redhat.com>
Date:   Tue Oct 18 08:40:20 2011 -0400

    Added the initial specfile and gem version (0.0.8).

 .gitignore      |    1 +
 rubygem-mg.spec |   74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fe6c2d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mg-0.0.8.gem
diff --git a/rubygem-mg.spec b/rubygem-mg.spec
new file mode 100644
index 0000000..5204c56
--- /dev/null
+++ b/rubygem-mg.spec
@@ -0,0 +1,74 @@
+%global gemdir     %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname    mg
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary:       Minimalist way to build and publish gems using Rake. Also build tarballs
+Name:          rubygem-%{gemname}
+Version:       0.0.8
+Release:       2%{?dist}
+Group:         Development/Languages
+License:       WTFPL
+URL:           http://github.com/sr/mg
+Source0:       http://rubygems.org/gems/%{gemname}-%{version}.gem
+
+BuildArch:     noarch
+
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(rubygems)
+BuildRequires: ruby
+
+Requires:      ruby(abi) = %{rubyabi}
+Requires:      ruby(rubygems)
+Requires:      ruby
+Requires:      rubygem(rake)
+
+Provides:      rubygem(%{gemname}) = %{version}
+
+
+%description
+Minimalist way to build and publish gems using Rake. Also build tarballs.
+
+%package doc
+Summary:   Documentation for %{name}
+Group:     Documentation
+Requires:  %{name} = %{version}-%{release}
+BuildArch: noarch
+
+
+%description doc
+Documentation for %{name}
+
+
+%prep
+
+
+%build
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+
+%files
+%dir %{geminstdir}
+%{geminstdir}/lib
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%doc %{geminstdir}/README.mkd
+
+
+%files doc
+%doc %{gemdir}/doc/%{gemname}-%{version}
+
+
+%changelog
+* Mon Oct 17 2011 Darryl L. Pierce <dpierce at redhat.com> - 0.0.8-2
+- Moved README.mkd to the main package
+- Removed trailing period from summary.
+
+* Mon Sep 12 2011 Darryl L. Pierce <dpierce at redhat.com> - 0.0.8-1
+- Initial package
diff --git a/sources b/sources
index e69de29..4fc2024 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cc7484a577453fadd26bd1a68f02413d  mg-0.0.8.gem


More information about the scm-commits mailing list