--- libtk-gbarr-perl-2.07.orig/debian/rules +++ libtk-gbarr-perl-2.07/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + xvfb-run $(MAKE) test + + touch $@ + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # wrong directory + mv $(TMP)/usr/lib/perl5/Tk $(TMP)/usr/share/perl5/Tk + # make sure all demo programs are not executable ... + chmod 0644 examples/* + # ... and remove /usr/share/perl5/Tk/demos, we install them to examples/ + [ ! -d $(TMP)/usr/share/perl5/Tk/demos ] || rm -rvf $(TMP)/usr/share/perl5/Tk/demos + + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples examples/* + dh_installdocs README TODO + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libtk-gbarr-perl-2.07.orig/debian/watch +++ libtk-gbarr-perl-2.07/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Tk-GBARR/ .*/Tk-GBARR-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian --- libtk-gbarr-perl-2.07.orig/debian/compat +++ libtk-gbarr-perl-2.07/debian/compat @@ -0,0 +1 @@ +5 --- libtk-gbarr-perl-2.07.orig/debian/copyright +++ libtk-gbarr-perl-2.07/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Carlo Segre on +Mon, 14 Mar 2005 00:14:56 -0600. + +Upstream source location: http://search.cpan.org/dist/Tk-GBARR/ + +Upstream Maintainer: Slaven Rezic + +Copyright (c) 1997-1998 Graham Barr . All rights reserved. +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +On Debian GNU/Linux systems, the complete text of these licenses can be found +in /usr/share/common-licenses/GPL and /usr/share/common-licenses/Artistic. --- libtk-gbarr-perl-2.07.orig/debian/changelog +++ libtk-gbarr-perl-2.07/debian/changelog @@ -0,0 +1,50 @@ +libtk-gbarr-perl (2.07-3) unstable; urgency=low + + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/rules: + - delete /usr/lib/perl5 only if it exists (closes: #467925) + - update with dh-make-perl's help + - install examples/* to usr/share/doc/libtk-gbarr-perl/examples instead + of /usr/share/perl5/Tk/demos + * debian/watch: use dist-based URL. + * Set Standards-Version to 3.7.3 (no changes). + * debian/copyright: use author-agnostic download URL. + * Enable tests in debian/rules and add xvfb, xbase-clients, xfonts-base to + build dependencies. + + -- gregor herrmann Wed, 05 Mar 2008 20:27:22 +0100 + +libtk-gbarr-perl (2.07-2) unstable; urgency=low + + * Add dh_md5sums to debian/rules. + * Don't ignore errors of make clean. + * Move to debhelper 5 + * Remove unneeded commented dh_* calls + + -- gregor herrmann Fri, 17 Aug 2007 13:31:27 +0200 + +libtk-gbarr-perl (2.07-1) unstable; urgency=low + + * New upstream release + + -- Carlo Segre Thu, 8 Jun 2006 14:36:49 -0500 + +libtk-gbarr-perl (2.06-2) unstable; urgency=low + + * Fixed FTBFS due to changed mv behaviour. (Closes: #339869) + * Upgraded Standards-Version to 3.6.2. + * Moved debhelper from Build-Depends-Indep to Build-Depends as per policy. + + -- Niko Tyni Sat, 17 Dec 2005 14:55:49 +0200 + +libtk-gbarr-perl (2.06-1) unstable; urgency=low + + * Initial Release (Closes: #304287) + * Maintainer - + Debian Perl Group + via Carlo Segre + + -- Carlo Segre Mon, 14 Mar 2005 00:14:56 -0600 + --- libtk-gbarr-perl-2.07.orig/debian/control +++ libtk-gbarr-perl-2.07/debian/control @@ -0,0 +1,28 @@ +Source: libtk-gbarr-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Carlo Segre , Gustavo Franco , Niko Tyni , gregor herrmann +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl, perl-tk, xvfb, xbase-clients, xfonts-base +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Tk-GBARR/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtk-gbarr-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-gbarr-perl/ + +Package: libtk-gbarr-perl +Architecture: all +Depends: ${perl:Depends}, perl-tk +Description: Various Tk Perl widgets + A contribution to the ever growing collection of Tk Widgets, currently it + includes: + . + Tk::Cloth - An OO interface to Tk::Canvas + Tk::TFrame - A frame with a title + Tk::NumEntry - An entry widget that accepts numbers and has up/down + buttons for in/decrement. + Tk::FireButton - Button that keeps invoking command when pressed + . + Tk::Pane and Tk::ProgressBar are no longer part of this + distribution, because they are included in standard Perl/Tk since + 800.016.