summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lutterkort <lutter@fedoraproject.org>2007-11-29 23:33:18 +0000
committerDavid Lutterkort <lutter@fedoraproject.org>2007-11-29 23:33:18 +0000
commit8a02e260788c0e1f3743765150ab4604d1ee49bb (patch)
tree16a188f3cd8d5fdbb92dd3ed6b59dfe8fb31a229
parent3927384489109a8d9c7578f98660939f89c7f8c3 (diff)
downloadrubygem-activerecord-8a02e260788c0e1f3743765150ab4604d1ee49bb.tar.gz
rubygem-activerecord-8a02e260788c0e1f3743765150ab4604d1ee49bb.tar.xz
rubygem-activerecord-8a02e260788c0e1f3743765150ab4604d1ee49bb.zip
New package
-rw-r--r--.cvsignore1
-rw-r--r--rubygem-activerecord.spec68
-rw-r--r--sources1
3 files changed, 70 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..45a87ad 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+activerecord-1.15.6.gem
diff --git a/rubygem-activerecord.spec b/rubygem-activerecord.spec
new file mode 100644
index 0000000..9f1091a
--- /dev/null
+++ b/rubygem-activerecord.spec
@@ -0,0 +1,68 @@
+# Generated from activerecord-1.15.5.gem by gem2rpm -*- rpm-spec -*-
+%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
+%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%define gemname activerecord
+%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
+
+Summary: Implements the ActiveRecord pattern for ORM
+Name: rubygem-%{gemname}
+Version: 1.15.6
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://www.rubyonrails.org
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: rubygems
+Requires: rubygem(activesupport) = 1.4.4
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database
+tables and classes together for business objects, like Customer or
+Subscription, that can find, save, and destroy themselves without resorting to
+manual SQL.
+
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+ --force --rdoc %{SOURCE0}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%doc %{geminstdir}/CHANGELOG
+%doc %{geminstdir}/examples
+%{geminstdir}/install.rb
+%doc %{geminstdir}/lib
+%{geminstdir}/Rakefile
+%doc %{geminstdir}/README
+%doc %{geminstdir}/RUNNING_UNIT_TESTS
+%{geminstdir}/test
+
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+
+%changelog
+* Thu Nov 29 2007 David Lutterkort <dlutter@redhat.com> - 1.15.6-1
+- New version
+
+* Tue Nov 14 2007 David Lutterkort <dlutter@redhat.com> - 1.15.5-2
+- Fix buildroot
+- Properly mark docs in geminstdir
+
+* Tue Oct 30 2007 David Lutterkort <dlutter@redhat.com> - 1.15.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..3db6262 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8b2651d4cb1d85d228ed4d25d595c861 activerecord-1.15.6.gem