From 8a02e260788c0e1f3743765150ab4604d1ee49bb Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Nov 29 2007 23:33:18 +0000 Subject: New package --- 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 - 1.15.6-1 +- New version + +* Tue Nov 14 2007 David Lutterkort - 1.15.5-2 +- Fix buildroot +- Properly mark docs in geminstdir + +* Tue Oct 30 2007 David Lutterkort - 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