[rubygem-dynamic_form] initial import

Mohammed Morsi mmorsi at fedoraproject.org
Wed Jul 20 15:59:23 UTC 2011


commit 30aca88c835311b597b003f65c0f114600578e1b
Author: Mo Morsi <mmorsi at redhat.com>
Date:   Wed Jul 20 11:59:04 2011 -0400

    initial import

 .gitignore                |    1 +
 rubygem-dynamic_form.spec |   91 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2cc0737 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dynamic_form-1.1.4.gem
diff --git a/rubygem-dynamic_form.spec b/rubygem-dynamic_form.spec
new file mode 100644
index 0000000..f0f61b1
--- /dev/null
+++ b/rubygem-dynamic_form.spec
@@ -0,0 +1,91 @@
+# Generated from dynamic_form-1.1.4.gem by gem2rpm -*- rpm-spec -*-
+%global gemname dynamic_form
+
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: DynamicForm holds a few helper methods to help you deal with your Rails3 models
+Name: rubygem-%{gemname}
+Version: 1.1.4
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://codaset.com/joelmoss/dynamic-form
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+Requires: ruby
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(rubygems)
+BuildRequires: rubygem(rake)
+BuildRequires: rubygem(activesupport)
+BuildRequires: rubygem(actionpack)
+BuildRequires: rubygem(mocha)
+BuildRequires: ruby
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+DynamicForm holds a few helper methods to help you deal with your Rails3
+models. It includes the stripped out methods from Rails 2; error_message_on
+and error_messages_for. It also brings in the functionality of the
+custom-err-messages plugin, which provides more flexibility over your model
+error messages.
+
+
+%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 .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+            --force %{SOURCE0}
+
+pushd .%{geminstdir}
+rm .gitignore
+rm Gemfile.lock
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* \
+        %{buildroot}%{gemdir}/
+
+%check
+pushd %{buildroot}%{geminstdir}
+rake test
+
+%files
+%dir %{geminstdir}
+%{geminstdir}/lib
+%{geminstdir}/Gemfile
+%{geminstdir}/VERSION
+%{geminstdir}/init.rb
+%doc %{geminstdir}/Rakefile
+%doc %{geminstdir}/MIT-LICENSE
+%doc %{geminstdir}/dynamic_form.gemspec
+%doc %{geminstdir}/test
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%doc %{geminstdir}/README.md
+
+
+%changelog
+* Thu Jul 14 2011 Mo Morsi <mmorsi at redhat.com> - 1.1.4-2
+- fixed license, whitespace issues
+
+* Wed Jul 13 2011 Mo Morsi <mmorsi at redhat.com> - 1.1.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..cffeacb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5e7b18c1df2ba3cfca4fa36a936f2ee3  dynamic_form-1.1.4.gem


More information about the scm-commits mailing list