Search
j0ke.net Open Build Service
>
Projects
>
devel
:
ruby
>
rubygem-activerecord-2_0
> rubygem-activerecord-2_0.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rubygem-activerecord-2_0.spec of Package rubygem-activerecord-2_0
# # spec file for package rubygem-activerecord-2_0 (Version 2.0.2) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-activerecord-2_0 Version: 2.0.2 Release: 1 %define mod_name activerecord # Group: Development/Languages/Ruby License: X11/MIT # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch Requires: rubygems > 0.9 Provides: rubygem-%{mod_name} = %{version}-%{release} Obsoletes: rubygem-%{mod_name} < %{version} BuildRequires: rubygem-activesupport-2_0 = 2.0.2 Requires: rubygem-activesupport-2_0 = 2.0.2 # Url: http://rubyforge.org/projects/activerecord/ Source: activerecord-2.0.2.gem # Summary: Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM %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. Authors: -------- rails development team %prep %build %install gem install --local --build-root=%{buildroot} %{S:0} %{__rm} -v %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/lib/active_record/vendor/mysql.rb %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog