diff options
author | David Lutterkort <lutter@fedoraproject.org> | 2007-11-29 23:33:18 +0000 |
---|---|---|
committer | David Lutterkort <lutter@fedoraproject.org> | 2007-11-29 23:33:18 +0000 |
commit | 8a02e260788c0e1f3743765150ab4604d1ee49bb (patch) | |
tree | 16a188f3cd8d5fdbb92dd3ed6b59dfe8fb31a229 /rubygem-activerecord.spec | |
parent | 3927384489109a8d9c7578f98660939f89c7f8c3 (diff) | |
download | rubygem-activerecord-8a02e260788c0e1f3743765150ab4604d1ee49bb.tar.gz rubygem-activerecord-8a02e260788c0e1f3743765150ab4604d1ee49bb.tar.xz rubygem-activerecord-8a02e260788c0e1f3743765150ab4604d1ee49bb.zip |
New package
Diffstat (limited to 'rubygem-activerecord.spec')
-rw-r--r-- | rubygem-activerecord.spec | 68 |
1 files changed, 68 insertions, 0 deletions
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 |