Logoj0ke.net Open Build Service > Projects > devel:ruby > rubygem-activerecord-2_0 > Changes
Sign Up | Log In

Changes of Revision 3

[-] Added rubygem-activerecord-2_0.spec
x
 
1
@@ -0,0 +1,63 @@
2
+#
3
+# spec file for package rubygem-activerecord-2_0 (Version 2.0.2)
4
+#
5
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# This file and all modifications and additions to the pristine
7
+# package are under the same license as the package itself.
8
+#
9
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
10
+#
11
+
12
+# norootforbuild
13
+
14
+Name:           rubygem-activerecord-2_0
15
+Version:        2.0.2
16
+Release:        1
17
+%define mod_name activerecord
18
+#
19
+Group:          Development/Languages/Ruby
20
+License:        X11/MIT
21
+#
22
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
23
+BuildRequires:  rubygems_with_buildroot_patch
24
+Requires:       rubygems > 0.9
25
+Provides:       rubygem-%{mod_name} = %{version}-%{release}
26
+Obsoletes:      rubygem-%{mod_name} < %{version}
27
+BuildRequires:  rubygem-activesupport-2_0 = 2.0.2
28
+Requires:       rubygem-activesupport-2_0 = 2.0.2
29
+#
30
+Url:            http://rubyforge.org/projects/activerecord/
31
+Source:         activerecord-2.0.2.gem
32
+#
33
+Summary:        Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM
34
+%description
35
+Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties
36
+database tables and classes together for business objects, like
37
+Customer or Subscription, that can find, save, and destroy themselves
38
+without resorting to manual SQL.
39
+
40
+
41
+
42
+Authors:
43
+--------
44
+    rails development team
45
+
46
+%prep
47
+
48
+%build
49
+
50
+%install
51
+gem install --local --build-root=%{buildroot} %{S:0}
52
+%{__rm} -v %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/lib/active_record/vendor/mysql.rb
53
+
54
+%clean
55
+%{__rm} -rf %{buildroot}
56
+
57
+%files
58
+%defattr(-,root,root,-)
59
+%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
60
+%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
61
+%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
62
+%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
63
+
64
+%changelog
65