From: František Dvořák Date: Mon, 19 Sep 2016 11:58:01 +0000 (+0200) Subject: Initial packaging of sinatra-cross_origin. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=e46b4972eb939783bf2c56c72a06ca333a91d5f6;p=packaging-deb-NOW.git Initial packaging of sinatra-cross_origin. --- diff --git a/sinatra-cross_origin/debian/changelog b/sinatra-cross_origin/debian/changelog new file mode 100644 index 0000000..13af6cf --- /dev/null +++ b/sinatra-cross_origin/debian/changelog @@ -0,0 +1,5 @@ +ruby-sinatra-cross-origin (0.3.2-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #nnnn) + + -- FrantiÅ¡ek Dvořák Sun, 18 Sep 2016 20:08:38 +0200 diff --git a/sinatra-cross_origin/debian/compat b/sinatra-cross_origin/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/sinatra-cross_origin/debian/compat @@ -0,0 +1 @@ +7 diff --git a/sinatra-cross_origin/debian/control b/sinatra-cross_origin/debian/control new file mode 100644 index 0000000..1ff61fc --- /dev/null +++ b/sinatra-cross_origin/debian/control @@ -0,0 +1,18 @@ +Source: ruby-sinatra-cross-origin +Section: ruby +Priority: optional +Maintainer: Debian Ruby Extras Maintainers +Uploaders: FrantiÅ¡ek Dvořák +Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~) +Standards-Version: 3.9.4 +#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-sinatra-cross-origin.git +#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-sinatra-cross-origin.git;a=summary +Homepage: http://github.com/britg/sinatra-cross_origin +XS-Ruby-Versions: all + +Package: ruby-sinatra-cross-origin +Architecture: all +XB-Ruby-Versions: ${ruby:Versions} +Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter +Description: Cross Origin Resource Sharing helper for Sinatra + Cross Origin Resource Sharing helper for Sinatra diff --git a/sinatra-cross_origin/debian/copyright b/sinatra-cross_origin/debian/copyright new file mode 100644 index 0000000..a5d4dd5 --- /dev/null +++ b/sinatra-cross_origin/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sinatra-cross_origin +Source: http://github.com/britg/sinatra-cross_origin + +Files: * +Copyright: Copyright (c) 2007, 2008, 2009 Brit Gardner +License: MIT + +Files: debian/* +Copyright: 2016 FrantiÅ¡ek Dvořák +License: MIT +Comment: The Debian packaging is licensed under the same terms as the original package. + +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. diff --git a/sinatra-cross_origin/debian/docs b/sinatra-cross_origin/debian/docs new file mode 100644 index 0000000..8d526b9 --- /dev/null +++ b/sinatra-cross_origin/debian/docs @@ -0,0 +1 @@ +README.markdown diff --git a/sinatra-cross_origin/debian/ruby-tests.rb b/sinatra-cross_origin/debian/ruby-tests.rb new file mode 100644 index 0000000..eac5ce6 --- /dev/null +++ b/sinatra-cross_origin/debian/ruby-tests.rb @@ -0,0 +1,13 @@ +# FIXME +# there's a spec/ or a test/ directory in the upstream source, but +# no test suite was defined in the Gem specification. It would be +# a good idea to define it here so the package gets tested at build time. +# Examples: +# $: << 'lib' << '.' +# Dir['{spec,test}/**/*.rb'].each { |f| require f } +# +# require 'test/ts_foo.rb' +# +# require 'rbconfig' +# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) +# exec("#{ruby} -I. test/runtests.rb") diff --git a/sinatra-cross_origin/debian/rules b/sinatra-cross_origin/debian/rules new file mode 100755 index 0000000..29682dd --- /dev/null +++ b/sinatra-cross_origin/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=ruby1.9.1 ruby2.0 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/sinatra-cross_origin/debian/source/format b/sinatra-cross_origin/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/sinatra-cross_origin/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/sinatra-cross_origin/debian/watch b/sinatra-cross_origin/debian/watch new file mode 100644 index 0000000..df2a6f6 --- /dev/null +++ b/sinatra-cross_origin/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/sinatra-cross_origin .*/sinatra-cross_origin-(.*).tar.gz