29 # activesupport |
29 # activesupport |
30 # bundler |
30 # bundler |
31 # railties |
31 # railties |
32 |
32 |
33 # package version |
33 # package version |
34 %define V_il8n 0.6.1 |
34 %define V_il8n 0.6.1 # not 0.6.4 |
35 %define V_multijson 1.3.6 |
35 %define V_multijson 1.7.2 |
36 %define V_activesupport 3.2.8 |
36 %define V_activesupport 3.2.13 |
37 %define V_builder 3.0.3 |
37 %define V_builder 3.0.0 # not 3.2.0 |
38 %define V_activemodel 3.2.8 |
38 %define V_activemodel 3.2.13 |
39 %define V_rack 1.4.1 |
39 %define V_rack 1.4.5 # not 1.5.2 |
40 %define V_rackcache 1.2 |
40 %define V_rackcache 1.2 |
41 %define V_racktest 0.6.2 |
41 %define V_racktest 0.6.2 |
42 %define V_journey 1.0.4 |
42 %define V_journey 1.0.4 |
43 %define V_hike 1.2.1 |
43 %define V_hike 1.2.1 |
44 %define V_tilt 1.3.3 |
44 %define V_tilt 1.3.6 |
45 %define V_sprockets 2.1.3 |
45 %define V_sprockets 2.2.1 # not 2.9.0 |
46 %define V_erubis 2.7.0 |
46 %define V_erubis 2.7.0 |
47 %define V_actionpack 3.2.8 |
47 %define V_actionpack 3.2.13 |
48 %define V_arel 3.0.2 |
48 %define V_arel 3.0.2 |
49 %define V_tzinfo 0.3.33 |
49 %define V_tzinfo 0.3.37 |
50 %define V_activerecord 3.2.8 |
50 %define V_activerecord 3.2.13 |
51 %define V_activeresource 3.2.8 |
51 %define V_activeresource 3.2.13 |
52 %define V_mimetypes 1.19 |
52 %define V_mimetypes 1.21 |
53 %define V_polyglot 0.3.3 |
53 %define V_polyglot 0.3.3 |
54 %define V_treetop 1.4.11 |
54 %define V_treetop 1.4.12 |
55 %define V_mail 2.4.4 |
55 %define V_mail 2.5.3 |
56 %define V_actionmailer 3.2.8 |
56 %define V_actionmailer 3.2.13 |
57 %define V_rackssl 1.3.2 |
57 %define V_rackssl 1.3.3 |
58 %define V_thor 0.16.0 |
58 %define V_thor 0.18.0 |
59 %define V_railties 3.2.8 |
59 %define V_rdoc 3.4 # not 4.0.1 |
60 %define V_bundler 1.2.1 |
60 %define V_railties 3.2.13 |
61 %define V_rails 3.2.8 |
61 %define V_bundler 1.3.4 |
|
62 %define V_rails 3.2.13 |
62 |
63 |
63 # package information |
64 # package information |
64 Name: ruby-rails |
65 Name: ruby-rails |
65 Summary: Ruby Packages for Rails web framework |
66 Summary: Ruby Packages for Rails web framework |
66 URL: http://www.rubyonrails.org/ |
67 URL: http://www.rubyonrails.org/ |
97 Source20: http://rubygems.org/downloads/treetop-%{V_treetop}.gem |
98 Source20: http://rubygems.org/downloads/treetop-%{V_treetop}.gem |
98 Source21: http://rubygems.org/downloads/mail-%{V_mail}.gem |
99 Source21: http://rubygems.org/downloads/mail-%{V_mail}.gem |
99 Source22: http://rubygems.org/downloads/actionmailer-%{V_actionmailer}.gem |
100 Source22: http://rubygems.org/downloads/actionmailer-%{V_actionmailer}.gem |
100 Source23: http://rubygems.org/downloads/rack-ssl-%{V_rackssl}.gem |
101 Source23: http://rubygems.org/downloads/rack-ssl-%{V_rackssl}.gem |
101 Source24: http://rubygems.org/downloads/thor-%{V_thor}.gem |
102 Source24: http://rubygems.org/downloads/thor-%{V_thor}.gem |
102 Source25: http://rubygems.org/downloads/railties-%{V_railties}.gem |
103 Source25: http://rubygems.org/downloads/rdoc-%{V_rdoc}.gem |
103 Source26: http://rubygems.org/downloads/bundler-%{V_bundler}.gem |
104 Source26: http://rubygems.org/downloads/railties-%{V_railties}.gem |
104 Source27: http://rubygems.org/downloads/rails-%{V_rails}.gem |
105 Source27: http://rubygems.org/downloads/bundler-%{V_bundler}.gem |
|
106 Source28: http://rubygems.org/downloads/rails-%{V_rails}.gem |
105 |
107 |
106 # build information |
108 # build information |
107 BuildPreReq: OpenPKG, openpkg >= 20100101, ruby |
109 BuildPreReq: OpenPKG, openpkg >= 20100101, ruby |
108 PreReq: OpenPKG, openpkg >= 20100101, ruby |
110 PreReq: OpenPKG, openpkg >= 20100101, ruby |
109 |
111 |
233 } |
235 } |
234 prog ruby-rails:thor = { |
236 prog ruby-rails:thor = { |
235 version = %{V_thor} |
237 version = %{V_thor} |
236 url = http://rubygems.org/gems/thor |
238 url = http://rubygems.org/gems/thor |
237 regex = thor-(__VER__)\.gem |
239 regex = thor-(__VER__)\.gem |
|
240 } |
|
241 prog ruby-rails:rdoc = { |
|
242 version = %{V_rdoc} |
|
243 url = http://rubygems.org/gems/rdoc |
|
244 regex = rdoc-(__VER__)\.gem |
238 } |
245 } |
239 prog ruby-rails:railties = { |
246 prog ruby-rails:railties = { |
240 version = %{V_railties} |
247 version = %{V_railties} |
241 url = http://rubygems.org/gems/railties |
248 url = http://rubygems.org/gems/railties |
242 regex = railties-(__VER__)\.gem |
249 regex = railties-(__VER__)\.gem |
287 %{l_prefix}/bin/gem install --local %{SOURCE23} |
294 %{l_prefix}/bin/gem install --local %{SOURCE23} |
288 %{l_prefix}/bin/gem install --local %{SOURCE24} |
295 %{l_prefix}/bin/gem install --local %{SOURCE24} |
289 %{l_prefix}/bin/gem install --local %{SOURCE25} |
296 %{l_prefix}/bin/gem install --local %{SOURCE25} |
290 %{l_prefix}/bin/gem install --local %{SOURCE26} |
297 %{l_prefix}/bin/gem install --local %{SOURCE26} |
291 %{l_prefix}/bin/gem install --local %{SOURCE27} |
298 %{l_prefix}/bin/gem install --local %{SOURCE27} |
|
299 %{l_prefix}/bin/gem install --local %{SOURCE28} |
292 ( cd $GEM_HOME/gems/thor-*/spec/fixtures |
300 ( cd $GEM_HOME/gems/thor-*/spec/fixtures |
293 mv path\ with\ spaces pathwithoutspaces |
301 mv path\ with\ spaces pathwithoutspaces |
294 ) || exit $? |
302 ) || exit $? |
295 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
303 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
296 ( cd $GEM_HOME/gems/thor-*/spec/fixtures |
304 ( cd $GEM_HOME/gems/thor-*/spec/fixtures |