--- pescetti-0.5.orig/debian/pescetti.install +++ pescetti-0.5/debian/pescetti.install @@ -0,0 +1,3 @@ +usr/bin/pbn2dds +usr/share/man/man1/*.1 +usr/share/pescetti/*jar --- pescetti-0.5.orig/debian/compat +++ pescetti-0.5/debian/compat @@ -0,0 +1 @@ +7 --- pescetti-0.5.orig/debian/copyright +++ pescetti-0.5/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Matthew Johnson on +Tues 09 Oct 2007 11:54:36 +0100. + +It was downloaded from http://www.matthew.ath.cx/projects/pescetti/ + +Upstream Author: Matthew Johnson + +Copyright: 2007--2009 Matthew Johnson + +License: + + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License version 2 as published by + the Free Software Foundation + + This package 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 complete text of the GNU General Public License can be +found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2007--2009, Matthew Johnson and +is licensed under the GPL version 2, see `/usr/share/common-licenses/GPL-2'. + + --- pescetti-0.5.orig/debian/control +++ pescetti-0.5/debian/control @@ -0,0 +1,31 @@ +Source: pescetti +Priority: optional +Maintainer: Matthew Johnson +Build-Depends: + debhelper (>= 7), + default-jdk, + fastjar, + docbook-to-man, + libmatthew-debug-java, + libitext-java, + gettext, + javahelper (>= 0.23), + texlive-latex-base, + texlive-latex-extra, + texlive-fonts-recommended +Standards-Version: 3.8.0 +Section: games + +Package: pescetti +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: dds +Description: Bridge Pseudo-duplimate generator + Generates random bridge hands or hands matching a certain specification with a + given probability. Produces hand records and dealing sheets to allow + duplication of the hands without a duplimate machine. + . + Pescetti can interface with the dds double dummy solver to produce analysis + for the hand records. + . + Provides conversion or import from dds-format and pbn files. --- pescetti-0.5.orig/debian/changelog +++ pescetti-0.5/debian/changelog @@ -0,0 +1,8 @@ +pescetti (0.5-1) unstable; urgency=low + + * Installs pbn + dds conversion programs + * Add dependency on gettext + * Use javahelper and dh 7 + * First Debian Upload (Closes: #559688) + + -- Matthew Johnson Sun, 15 Nov 2009 20:13:44 +0000 --- pescetti-0.5.orig/debian/rules +++ pescetti-0.5/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f + +include /usr/share/javahelper/java-vars.mk + +VERSION=$(shell dpkg-parsechangelog | sed -n '/^Version/s/Version: \(.*\)-[^-]*$$/\1/p') + +%: + dh --with javahelper $@ + +override_dh_auto_test: + +override_dh_auto_build: + # Add here commands to compile the package. + make JAR=fastjar JAVAC=${JAVA_HOME}/bin/javac JCFLAGS="-encoding utf8 -source 1.5 -Xlint:all" JAVA=java PREFIX=/usr all + +override_dh_auto_clean: + # Add here commands to clean up after the build process. + make clean + +override_dh_auto_install: + # Add here commands to install the package into debian/tmp + make DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr install + +override_dh_installdocs: + dh_installdocs -i README dealing-howto.pdf + +override_dh_install: + dh_install -i --sourcedir=$(CURDIR)/debian/tmp + +override_dh_link: + dh_link -ppescetti usr/share/pescetti/pescetti.jar usr/games/pescetti + dh_link -ppescetti usr/share/pescetti/dup2dds.jar usr/games/dup2dds + +override_jh_manifest: + jh_manifest -j"$(JAVA_HOME)" debian/pescetti/usr/share/pescetti/pescetti.jar debian/pescetti/usr/share/pescetti/dup2dds.jar + +