[DRE-commits] [rails] 02/44: Initial packaging of merged rails-4.0 tarball.

Ondrej Sury ondrej at moszumanska.debian.org
Wed Jul 16 15:03:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

ondrej pushed a commit to branch master
in repository rails.

commit bc1a4bc4cc0f6cd6b671f0225d0ee9d77310a43c
Author: Ondřej Surý <ondrej at sury.org>
Date:   Tue May 28 13:46:22 2013 +0200

    Initial packaging of merged rails-4.0 tarball.
---
 debian/changelog                      |   5 ++
 debian/compat                         |   1 +
 debian/control                        | 151 ++++++++++++++++++++++++++++++++++
 debian/copyright                      |  57 +++++++++++++
 debian/gbp.conf                       |   8 ++
 debian/patches/series                 |   0
 debian/ruby-actionmailer-4.0.docs     |   1 +
 debian/ruby-actionmailer-4.0.install  |   2 +
 debian/ruby-actionpack-4.0.docs       |   1 +
 debian/ruby-actionpack-4.0.install    |   2 +
 debian/ruby-activemodel-4.0.docs      |   1 +
 debian/ruby-activemodel-4.0.install   |   2 +
 debian/ruby-activerecord-4.0.docs     |   1 +
 debian/ruby-activerecord-4.0.examples |   1 +
 debian/ruby-activerecord-4.0.install  |   2 +
 debian/ruby-activesupport-4.0.docs    |   1 +
 debian/ruby-activesupport-4.0.install |   2 +
 debian/ruby-rails-4.0.docs            |   2 +
 debian/ruby-rails-4.0.examples        |   1 +
 debian/ruby-rails-4.0.links           |   1 +
 debian/ruby-railties-4.0.docs         |   1 +
 debian/ruby-railties-4.0.install      |  14 ++++
 debian/rules                          |  42 ++++++++++
 debian/source/format                  |   1 +
 debian/watch                          |   2 +
 25 files changed, 302 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ac41f89
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rails-4.0 (4.0.0~rc1-1) experimental; urgency=low
+
+  * Merge ruby-{active,action}*-X.Y packages into rails-4.0
+
+ -- Ondřej Surý <ondrej at debian.org>  Thu, 28 Mar 2013 15:13:20 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8d69213
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,151 @@
+Source: rails-4.0
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Ondřej Surý <ondrej at debian.org>,
+	   Antonio Terceiro <terceiro at debian.org>,
+Build-Depends: debhelper (>= 9),
+	       gem2deb (>= 0.3.0~)
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/rails-4.0.git
+Vcs-Browser: http://anonscm.debian.org/git/?p=pkg-ruby-extras/rails-4.0.git;a=summary
+Homepage: http://www.rubyonrails.org
+XS-Ruby-Versions: all
+
+Package: ruby-activesupport-4.0
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 ruby | ruby-interpreter,
+	 ruby-i18n (>= 0.6.4),
+	 ruby-multi-json (>= 1.3),
+	 ruby-tzinfo (>= 0.3.37),
+	 ruby-minitest (>= 4.2),
+	 ruby-thread-safe (>= 0.1)
+Provides: ruby-activesupport
+Conflicts: ruby-activesupport, ruby-activesupport-2.3, ruby-activesupport-3.2
+Replaces: ruby-activesupport, ruby-activesupport-2.3, ruby-activesupport-3.2
+Description: Support and utility classes used by the Rails 4.0 framework
+ ActiveSupport consists of utility classes and extensions to the Ruby
+ standard library that were required for Rails but found to be
+ generally useful.
+
+Package: ruby-activerecord-4.0
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${misc:Depends},
+	 ruby | ruby-interpreter,
+	 ruby-activesupport-4.0 (= ${source:Version}),
+	 ruby-activemodel-4.0 (= ${source:Version}),
+	 ruby-activerecord-deprecated-finders (>= 1.0.2),
+	 ruby-arel (>= 4.0.0)
+Provides: ruby-activerecord,
+Conflicts: ruby-activerecord, ruby-activerecord-2.3, ruby-activerecord-3.2
+Replaces: ruby-activerecord, ruby-activerecord-2.3, ruby-activerecord-3.2
+Description: object-relational mapper framework (part of Rails)
+ Active Records is a framework to work with databases on Rails.  Build
+ a persistent domain model by mapping database tables to Ruby classes.
+ Strong conventions for associations, validations, aggregations,
+ migrations, and testing come baked-in.
+
+Package: ruby-activemodel-4.0
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${misc:Depends},
+	 ruby | ruby-interpreter,
+	 ruby-builder (>= 3.1.0),
+	 ruby-bcrypt (>= 3.0.0),
+	 ruby-activesupport-4.0 (= ${source:Version})
+Provides: ruby-activemodel
+Conflicts: ruby-activemodel, ruby-activemodel-3.2
+Replaces: ruby-activemodel, ruby-activemodel-3.2
+Description: toolkit for building modeling frameworks (part of Rails)
+ Active Model is a toolkit for building modeling frameworks like
+ Active Record and Active Resource.  This includes a rich support for
+ attributes, callbacks, validations, observers, serialization,
+ internationalization, and testing.
+
+Package: ruby-actionpack-4.0
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${misc:Depends},
+	 ruby | ruby-interpreter,
+	 ruby-activesupport-4.0 (= ${source:Version}),
+	 ruby-rack (>= 1.5.2),
+	 ruby-rack-test (>= 0.6.2),
+	 ruby-builder (>= 3.1.0),
+	 ruby-erubis (>= 2.7.0~)
+Provides: ruby-actionpack
+Conflicts: ruby-actionpack, ruby-actionpack-2.3, ruby-actionpack-3.2
+Replaces: ruby-actionpack, ruby-actionpack-2.3, ruby-actionpack-3.2
+Description: web-flow and rendering framework putting the VC in MVC (part of Rails)
+ Action Pack is a framework for web apps on Rails. Simple,
+ battle-tested conventions for building and testing MVC web
+ applications. Works with any Rack-compatible server.
+
+Package: ruby-actionmailer-4.0
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 ruby | ruby-interpreter,
+	 ruby-actionpack-4.0 (= ${source:Version}),
+	 ruby-mail (>= 2.5.3~)
+Provides: ruby-actionmailer
+Conflicts: ruby-actionmailer, ruby-actionmailer-2.3, ruby-actionmailer-3.2
+Replaces: ruby-actionmailer, ruby-actionmailer-2.3, ruby-actionmailer-3.2
+Description: email composition, delivery, and receiving framework (part of Rails)
+ Action Mailer is a framework for working with email on Rails.
+ Compose, deliver, receive, and test emails using the familiar
+ controller/view pattern.  First-class support for multipart email
+ and attachments.
+
+Package: ruby-railties-4.0
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${misc:Depends},
+	 ruby | ruby-interpreter,
+	 rake (>= 0.8.7),
+	 ruby-thor (>= 0.18.1),
+	 ruby-rack-ssl (>= 1.3.2),
+	 ruby-activesupport-4.0 (= ${source:Version}),
+	 ruby-actionpack-4.0 (= ${source:Version})
+Provides: ruby-railties
+Conflicts: ruby-railties, ruby-rails-2.3, ruby-railties-3.2, rails (<< 3:3.2.0), rails3
+Replaces: ruby-railties, ruby-rails-2.3, ruby-railties-3.2
+Description: MVC ruby based framework geared for web application development
+ Rails is a full-stack, open-source web framework in Ruby for writing
+ real-world applications.
+ .
+ Being a full-stack framework means that all layers are built to work
+ seamlessly together. That way you don't repeat yourself and you can
+ use a single language from top to bottom. Everything from templates to
+ control flow to business logic is written in Ruby.
+
+Package: ruby-rails-4.0
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 ruby-activesupport-4.0 (= ${source:Version}),
+	 ruby-actionpack-4.0 (= ${source:Version}),
+	 ruby-activerecord-4.0 (= ${source:Version}),
+	 ruby-actionmailer-4.0 (= ${source:Version}),
+	 ruby-railties-4.0 (= ${source:Version}),
+	 bundler (>= 1.3.0),
+	 ruby-sprockets-rails (>= 2.0.0~rc4),
+	 libjs-jquery
+Provides: ruby-rails
+Conflicts: ruby-rails, ruby-rails-2.3, ruby-rails-3.2, ruby-activeresource-3.2
+Replaces: ruby-rails, ruby-rails-2.3, ruby-rails-3.2
+Description: MVC ruby based framework geared for web application development
+ Rails is a full-stack, open-source web framework in Ruby for writing
+ real-world applications.
+ .
+ Being a full-stack framework means that all layers are built to work
+ seamlessly together. That way you don't repeat yourself and you can
+ use a single language from top to bottom. Everything from templates to
+ control flow to business logic is written in Ruby.
+ .
+ This package provides Rails version 4.0.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e1f2f1f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,57 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rails
+Upstream-Contact: David Heinemeier Hansson <david at loudthinking.com>
+Source: https://github.com/rails/rails
+
+Files: *
+Copyright: Copyright 2004 David Heinemeier Hansson
+License: MIT
+
+Files: guides/assets/javascripts/syntaxhighlighter/*.js guides/assets/stylesheets/syntaxhighlighter/*.css
+License: GPL or MIT
+
+Files: debian/*
+Copyright: Copyright 2011 Ondřej Surý <ondrej at debian.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: GPL
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..b75160d
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+
+# there are separate branches for stable and experimental
+upstream-branch = upstream/4-0-stable
+debian-branch = master
+upstream-tag = v%(version)s
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e69de29
diff --git a/debian/ruby-actionmailer-4.0.docs b/debian/ruby-actionmailer-4.0.docs
new file mode 100644
index 0000000..073ecc1
--- /dev/null
+++ b/debian/ruby-actionmailer-4.0.docs
@@ -0,0 +1 @@
+actionmailer/README.rdoc
diff --git a/debian/ruby-actionmailer-4.0.install b/debian/ruby-actionmailer-4.0.install
new file mode 100644
index 0000000..020e246
--- /dev/null
+++ b/debian/ruby-actionmailer-4.0.install
@@ -0,0 +1,2 @@
+usr/lib/ruby/vendor_ruby/action_mailer*
+usr/share/rubygems-integration/*/specifications/actionmailer*
diff --git a/debian/ruby-actionpack-4.0.docs b/debian/ruby-actionpack-4.0.docs
new file mode 100644
index 0000000..cfa0a9f
--- /dev/null
+++ b/debian/ruby-actionpack-4.0.docs
@@ -0,0 +1 @@
+actionpack/README.rdoc
diff --git a/debian/ruby-actionpack-4.0.install b/debian/ruby-actionpack-4.0.install
new file mode 100644
index 0000000..f3941a8
--- /dev/null
+++ b/debian/ruby-actionpack-4.0.install
@@ -0,0 +1,2 @@
+usr/lib/ruby/vendor_ruby/action_pack*
+usr/share/rubygems-integration/*/specifications/actionpack*
diff --git a/debian/ruby-activemodel-4.0.docs b/debian/ruby-activemodel-4.0.docs
new file mode 100644
index 0000000..bb5c169
--- /dev/null
+++ b/debian/ruby-activemodel-4.0.docs
@@ -0,0 +1 @@
+activemodel/README.rdoc
diff --git a/debian/ruby-activemodel-4.0.install b/debian/ruby-activemodel-4.0.install
new file mode 100644
index 0000000..0a5231f
--- /dev/null
+++ b/debian/ruby-activemodel-4.0.install
@@ -0,0 +1,2 @@
+usr/lib/ruby/vendor_ruby/active_model*
+usr/share/rubygems-integration/*/specifications/activemodel*
diff --git a/debian/ruby-activerecord-4.0.docs b/debian/ruby-activerecord-4.0.docs
new file mode 100644
index 0000000..2a3d26c
--- /dev/null
+++ b/debian/ruby-activerecord-4.0.docs
@@ -0,0 +1 @@
+activerecord/README.rdoc
diff --git a/debian/ruby-activerecord-4.0.examples b/debian/ruby-activerecord-4.0.examples
new file mode 100644
index 0000000..b7695bc
--- /dev/null
+++ b/debian/ruby-activerecord-4.0.examples
@@ -0,0 +1 @@
+activerecords/examples/*
diff --git a/debian/ruby-activerecord-4.0.install b/debian/ruby-activerecord-4.0.install
new file mode 100644
index 0000000..2a9c576
--- /dev/null
+++ b/debian/ruby-activerecord-4.0.install
@@ -0,0 +1,2 @@
+usr/lib/ruby/vendor_ruby/active_record*
+usr/share/rubygems-integration/*/specifications/activerecord*
diff --git a/debian/ruby-activesupport-4.0.docs b/debian/ruby-activesupport-4.0.docs
new file mode 100644
index 0000000..e47a13a
--- /dev/null
+++ b/debian/ruby-activesupport-4.0.docs
@@ -0,0 +1 @@
+activesupport/README.rdoc
diff --git a/debian/ruby-activesupport-4.0.install b/debian/ruby-activesupport-4.0.install
new file mode 100644
index 0000000..2150f03
--- /dev/null
+++ b/debian/ruby-activesupport-4.0.install
@@ -0,0 +1,2 @@
+usr/lib/ruby/vendor_ruby/active_support*
+usr/share/rubygems-integration/*/specifications/activesupport*
diff --git a/debian/ruby-rails-4.0.docs b/debian/ruby-rails-4.0.docs
new file mode 100644
index 0000000..e4bd0a0
--- /dev/null
+++ b/debian/ruby-rails-4.0.docs
@@ -0,0 +1,2 @@
+README.md
+CONTRIBUTING.md
diff --git a/debian/ruby-rails-4.0.examples b/debian/ruby-rails-4.0.examples
new file mode 100644
index 0000000..ba0de35
--- /dev/null
+++ b/debian/ruby-rails-4.0.examples
@@ -0,0 +1 @@
+guides/
diff --git a/debian/ruby-rails-4.0.links b/debian/ruby-rails-4.0.links
new file mode 100644
index 0000000..11e3387
--- /dev/null
+++ b/debian/ruby-rails-4.0.links
@@ -0,0 +1 @@
+/usr/share/javascript/jquery/jquery.min.js /usr/share/doc/ruby-rails-4.0/examples/guides/assets/javascripts/jquery.min.js
diff --git a/debian/ruby-railties-4.0.docs b/debian/ruby-railties-4.0.docs
new file mode 100644
index 0000000..25617f6
--- /dev/null
+++ b/debian/ruby-railties-4.0.docs
@@ -0,0 +1 @@
+railties/README.rdoc
diff --git a/debian/ruby-railties-4.0.install b/debian/ruby-railties-4.0.install
new file mode 100644
index 0000000..d8c3fa2
--- /dev/null
+++ b/debian/ruby-railties-4.0.install
@@ -0,0 +1,14 @@
+usr/lib/ruby/vendor_ruby/abstract_controller
+usr/lib/ruby/vendor_ruby/rails
+usr/lib/ruby/vendor_ruby/action_view
+usr/lib/ruby/vendor_ruby/action_dispatch
+usr/lib/ruby/vendor_ruby/action_controller
+usr/bin/generate_tables
+usr/bin/rails
+usr/share/rubygems-integration/*/specifications/railties-*
+usr/share/rubygems-integration/*/specifications/rails-*
+usr/lib/ruby/vendor_ruby/rails.rb
+usr/lib/ruby/vendor_ruby/abstract_controller.rb
+usr/lib/ruby/vendor_ruby/action_controller.rb
+usr/lib/ruby/vendor_ruby/action_dispatch.rb
+usr/lib/ruby/vendor_ruby/action_view.rb
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f1c4adf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export DH_RUBY_USE_DH_AUTO_INSTALL_DESTDIR=yes
+
+UPSTREAM_PACKAGES=actionmailer activerecord activemodel activesupport railties actionpack
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_configure:
+override_dh_auto_build:
+override_dh_auto_clean:
+override_dh_auto_test:
+override_dh_auto_install:
+	CMD=$$(echo $@ | sed -e "s/override_//"); \
+	DH_RUBY_GEMSPEC=rails.gemspec $$CMD; \
+	for pkg in $(UPSTREAM_PACKAGES); do \
+	  ln -s ../debian $${pkg}; \
+	  DH_RUBY_GEMSPEC=$${pkg}.gemspec $$CMD -D$${pkg}; \
+	  rm $${pkg}/debian; \
+	done
+
+override_dh_install:
+	dh_install --fail-missing
+
+override_dh_installexamples:
+	dh_installexamples -Xjquery.min.js -X.gitignore
+	chmod -x \
+	  $(CURDIR)/debian/ruby-rails-4.0/usr/share/doc/ruby-rails-4.0/examples/guides/assets/stylesheets/responsive-tables.css \
+	  $(CURDIR)/debian/ruby-rails-4.0/usr/share/doc/ruby-rails-4.0/examples/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css \
+	  $(CURDIR)/debian/ruby-rails-4.0/usr/share/doc/ruby-rails-4.0/examples/guides/assets/javascripts/responsive-tables.js
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a3b0330
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/activesupport .*/activesupport-(.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rails.git



More information about the Pkg-ruby-extras-commits mailing list