From 5f9aa5aba2f722c0758c3ceab448e0be83608f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Boutillier?= Date: Tue, 2 Sep 2014 14:29:05 +0200 Subject: [PATCH] Imported Debian patch 7.2.1-1 --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 19 ++++++++++++++++++ debian/copyright | 35 ++++++++++++++++++++++++++++++++++ debian/ruby-gitlab-ce.git.docs | 6 ++++++ debian/ruby-tests.rake | 13 +++++++++++++ debian/rules | 15 +++++++++++++++ debian/source/format | 1 + debian/tests/control | 9 +++++++++ debian/watch | 2 ++ 10 files changed, 106 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/ruby-gitlab-ce.git.docs create mode 100644 debian/ruby-tests.rake create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tests/control create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000..264943254a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +gitlab (7.2.1-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #nnnn) + + -- Cédric Boutillier Tue, 02 Sep 2014 14:29:05 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000..7f8f011eb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000..f8c8e8eb8c --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: gitlab +Section: ruby +Priority: optional +Maintainer: Debian Ruby Extras Maintainers +Uploaders: Cédric Boutillier +Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.9.0~) +Standards-Version: 3.9.5 +Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-gitlab-ce.git.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-gitlab-ce.git.git;a=summary +Homepage: https://about.gitlab.com/ +Testsuite: autopkgtest +XS-Ruby-Versions: all + +Package: gitlab +Architecture: all +XB-Ruby-Versions: ${ruby:Versions} +Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter +Description: FIXME + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000..1ea599b045 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gitlab-ce.git +Source: FIXME + +Files: * +Copyright: + +License: GPL-2+ (FIXME) + +Files: debian/* +Copyright: 2014 Cédric Boutillier +License: GPL-2+ (FIXME) +Comment: the Debian packaging is licensed under the same terms as the original package. + +License: GPL-2+ (FIXME) + 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/ruby-gitlab-ce.git.docs b/debian/ruby-gitlab-ce.git.docs new file mode 100644 index 0000000000..52566a69bb --- /dev/null +++ b/debian/ruby-gitlab-ce.git.docs @@ -0,0 +1,6 @@ +# FIXME: doc/ dir found in source. Consider installing the docs. +# Examples: +# doc/manual.html +# doc/site/* +# FIXME: READMEs found +# README.md diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake new file mode 100644 index 0000000000..f4b3654a2e --- /dev/null +++ b/debian/ruby-tests.rake @@ -0,0 +1,13 @@ +# FIXME +# there's a spec/ directory in the upstream source. +# The recommended way to run the RSpec suite is via a rake task. +# The following commands are enough in many cases and can be adapted to other +# situations. +# +# require 'rspec/core/rake_task' +# +# RSpec::Core::RakeTask.new(:spec) do |spec| +# spec.pattern = './spec/*_spec.rb' +# end +# +# task :default => :spec diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000..d81794db0c --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/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=ruby2.1 require-rubygems +# +# If you need to specify the .gemspec (eg there is more than one) +#export DH_RUBY_GEMSPEC=gem.gemspec + +%: + dh $@ --buildsystem=ruby --with ruby diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000..163aaf8d82 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000000..ba12c70b1b --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,9 @@ +Test-Command: gem2deb-test-runner --autopkgtest 2>&1 +Depends: @, gem2deb-test-runner +#FIXME: add to Depends ruby-rspec, ruby-test-unit... if needed +#Restrictions: allow-stderr + +#FIXME: replace LIB by the name of the main file of the library +#Test-Command: ruby -r LIB -e "puts true" +#Depends: @ + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000000..4ce2b82e24 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gitlab-ce.git .*/gitlab-ce.git-(.*).tar.gz