[DRE-commits] [SCM] Packaging for ruby-barby Ruby barcode generation library branch, master, updated. upstream/0.4.3-2-g6d625ff

Gunnar Wolf gwolf at gwolf.org
Fri May 13 20:12:57 UTC 2011


The following commit has been merged in the master branch:
commit 6d625ffce6442ae02428fae2e89c2cf7cf010d8e
Author: Gunnar Wolf <gwolf at gwolf.org>
Date:   Fri May 13 15:11:11 2011 -0500

    Merged older packaging information, getting it ready and in shape to be uploaded

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f988bf4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+debian/gbp.conf
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..c76ee88
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,11 @@
+			No support for Pdf417
+			=====================
+
+Upstream version 0.3.2 of libbarby-ruby includes support for PDF417, a
+stacked linear barcode symbol format used in a variety of
+applications, primarily transport, identification cards, and inventory
+management. However, this functionality is provided as a Java class,
+and requires being run on JRuby -- Which is not currently available in
+Debian, so the Pdf417 functionality was removed from the package.
+
+ -- Gunnar Wolf <gwolf at debian.org>, Fri,  7 May 2010 12:20:30 -0500
diff --git a/debian/changelog b/debian/changelog
index d8e34af..5642290 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,22 @@
-ruby-barby (0.4.3-1) UNRELEASED; urgency=low
+ruby-barby (0.4.3-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * New upstream release
+  * Repackaged using the new deb2gem packaging infrastructure
 
  -- Gunnar Wolf <gwolf at debian.org>  Fri, 13 May 2011 14:30:24 -0500
+
+libbarby-ruby (0.3.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: #557023)
+  * Package does not depend on rails - dropping dependency
+  * Excluding Pdf417 from package, as it requires JRuby
+  * Standards-version 3.8.2→3.8.4 (no changes needed)
+  * Touch implaussibly old files, keeping lintian happy
+
+ -- Gunnar Wolf <gwolf at debian.org>  Fri, 07 May 2010 12:30:46 -0500
+
+libbarby-ruby (0.3-1) unstable; urgency=low
+
+  * Initial upload (Closes: #534768:)
+
+ -- Gunnar Wolf <gwolf at debian.org>  Mon, 29 Jun 2009 12:32:16 -0500
diff --git a/debian/control b/debian/control
index 5bef3a0..e55c19a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,12 @@ Source: ruby-barby
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <gwolf at debian.org>
+Uploaders: Gunnar Wolf <gwolf at debian.org>
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.2)
-Standards-Version: 3.9.1
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-barby.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-barby.git;a=summary
+Standards-Version: 3.9.2
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-barby.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-barby.git;a=summary
 Homepage: http://toretore.github.com/barby
 XS-Ruby-Versions: all
 
@@ -15,5 +15,42 @@ Package: ruby-barby
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8 | ruby-interpreter
-Description: The Ruby barcode generator
- Barby creates barcodes.
+Replaces: libbarby-ruby (<< 0.4.3-1~),  libbarby-ruby1.8 (<< 0.4.3-1~),  libbarby-ruby-doc (<< 0.4.3-1~)
+Conflicts: libbarby-ruby (<< 0.4.3-1~),  libbarby-ruby1.8 (<< 0.4.3-1~),  libbarby-ruby-doc (<< 0.4.3-1~)
+Provides: libbarby-ruby,  libbarby-ruby1.8,  libbarby-ruby-doc
+Description: Ruby library for barcode generation 
+ This is a pure-Ruby library for generating various kinds of barcodes,
+ including all the standard 1D and 2D barcodes, and meant to be easily
+ extensible.
+ .
+ Barby separates the concerns of barcode generation and graphical
+ representations, so not only the barcodes' format can be extended,
+ but also the way they are output.
+
+# Transitional packages
+Package: libbarby-ruby
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-barby
+Description: Transitional package for ruby-barby
+ This is a transitional package to ease upgrades to the ruby-barby
+ package. It can safely be removed.
+
+# Transitional packages
+Package: libbarby-ruby1.8
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-barby
+Description: Transitional package for ruby-barby
+ This is a transitional package to ease upgrades to the ruby-barby
+ package. It can safely be removed.
+
+# Transitional packages
+Package: libbarby-ruby-doc
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-barby
+Description: Transitional package for ruby-barby
+ This is a transitional package to ease upgrades to the ruby-barby
+ package. It can safely be removed.
+
diff --git a/debian/copyright b/debian/copyright
index fb94b06..4f715d8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,39 @@
-FIXME. fill-in with DEP5 copyright file. http://dep.debian.net/deps/dep5/
 Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
 Upstream-Name: barby
-Source: FIXME (URL where source can be downloaded)
+Upstream-Contact: Tore Darell <duncan at whomwah.com>
+Source: http://toretore.github.com/barby/
 
 Files: *
-Copyright: Copyright 1998 John Doe <jdoe at example.com>
-License: GPL-2+
- 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'.
+Copyright: Copyright (c) 2008 Tore Darell
+License: MIT/X
 
 Files: debian/*
 Copyright: Copyright 1998 Jane Smith <jsmith at example.net>
-License:
- [LICENSE TEXT]
+Copyright: Copyright © 2008-2011 Gunnar Wolf <gwolf at debian.org>
+License: GPL3+
+ The files hereby included are free software; you can distribute them
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 3 of the License, or (at
+ your option) any later version.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+License: MIT/X
+ 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 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/debian/ruby-barby.docs b/debian/ruby-barby.docs
index 786a9ba..e845566 100644
--- a/debian/ruby-barby.docs
+++ b/debian/ruby-barby.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README
+README
diff --git a/debian/rules b/debian/rules
index a5e7dc8..5e0406d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,15 @@
 #
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec
+BUILDDIR=./debian/ruby-barby
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_install:
+	dh_install
+	# Exclude the sample binary /usr/bin/barby - it is not really useful,
+	# and it is mostly buggy.
+	rm -r $(BUILDDIR)/usr/bin
+	# Exclude PDF417 functionality, as it requires JRuby
+	rm $(BUILDDIR)/usr/lib/ruby/vendor_ruby/barby/barcode/pdf_417.rb

-- 
Packaging for ruby-barby Ruby barcode generation library



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