--- libfortune-perl-0.2.orig/debian/control +++ libfortune-perl-0.2/debian/control @@ -0,0 +1,31 @@ +Source: libfortune-perl +Priority: optional +Section: perl +Maintainer: Debian Perl Group +Uploaders: Gustavo Franco , gregor herrmann , Carlo Segre +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8) +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Fortune/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libfortune-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libfortune-perl/ + +Package: libfortune-perl +Priority: optional +Architecture: all +Depends: ${perl:Depends} +Recommends: fortunes +Description: Perl module to read fortune (strfile) databases + The fortune program is a small but important part of the + Unix culture, and this module aims to provide support for + its "fortune cookie" databases to Perl programmers. + . + For efficiency, all versions of fortune rely on a binary + header consisting mainly of offsets into the fortune file + proper. + . + Modern versions of fortune keep this header in a + separate file, and this is the style adopted by the + Fortune module; the older style of munging the header and + data into one large "compiled" file is not (currently) + supported. --- libfortune-perl-0.2.orig/debian/compat +++ libfortune-perl-0.2/debian/compat @@ -0,0 +1 @@ +5 --- libfortune-perl-0.2.orig/debian/watch +++ libfortune-perl-0.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Fortune/ .*/Fortune-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libfortune-perl-0.2.orig/debian/changelog +++ libfortune-perl-0.2/debian/changelog @@ -0,0 +1,77 @@ +libfortune-perl (0.2-8) unstable; urgency=low + + * Remove Section: lib from binary package in debian/control. + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/watch: use dist-based URL. + * debian/rules: + - delete /usr/lib/perl5 only if it exists (closes: #468031) + - update based on dh-make-perl's templates + - recreate Makefile if it exists; the clean target fails with the + Makefile shipped by upstream + * Set Standards-Version to 3.7.3 (no changes). + * debian/copyright: use specific download URL instead of pointing to CPAN + at large. + + -- gregor herrmann Sat, 08 Mar 2008 14:21:46 +0100 + +libfortune-perl (0.2-7) unstable; urgency=low + + * Use $(CURDIR) [make] instead of $(PWD) [sh] to fix issues with sudo. + + -- gregor herrmann Sun, 1 Oct 2006 14:12:42 +0200 + +libfortune-perl (0.2-6) unstable; urgency=low + + * Moved debhelper to Build-Depends. + * Set Standards-Version to 3.7.2 (no changes). + * Set Debhelper Compatibility Level to 5. + * Added references to the licences in debian/copyright. + * Removed empty /usr/lib/perl5 from package. + + -- gregor herrmann Fri, 16 Jun 2006 15:56:10 +0200 + +libfortune-perl (0.2-5) unstable; urgency=low + + * debian/control: + - Maintainer field changed to Debian Perl Group + - Uploaders field added + - Standards-Version field updated to 3.6.1 + + -- Gustavo Franco Sun, 12 Jun 2005 23:22:53 -0300 + +libfortune-perl (0.2-4) unstable; urgency=low + + * debian/rules: + - binary-indep fixed. + - removed DH_COMPAT variable. + * debian/control: + - Short description fixed (full stop removed). + - Standards-Version field updated to 3.5.10. + - Section field updated to perl. + - Build-Depends-Indep field updated (debhelper >> 4.0.0). + * debian/compat: added and setted to 4. + + -- Gustavo Franco Tue, 22 Apr 2003 08:27:49 -0300 + +libfortune-perl (0.2-3) unstable; urgency=low + + * debian/rules: + - 'Makefile' added to .PHONY. (Closes: #164998) + + -- Gustavo Franco Thu, 17 Oct 2002 12:42:42 -0300 + +libfortune-perl (0.2-2) unstable; urgency=low + + * The ¨Perl 5.8.0¨ release. + * Architecture field corrected (any to all). + * debian/rules cleanup(thanks to: Gergely Nagy). + + -- Gustavo Franco Tue, 27 Aug 2002 10:16:07 -0300 + +libfortune-perl (0.2-1) unstable; urgency=low + + * Initial Release. (Closes: #98962) + + -- Gustavo Franco Sat, 23 Mar 2002 17:26:11 -0300 --- libfortune-perl-0.2.orig/debian/copyright +++ libfortune-perl-0.2/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Gustavo Franco +on Wed, 27 May 2001 20:06:26 -0300 + +It was downloaded from the Comprehensive Perl Archive Network (CPAN): +http://search.cpan.org/dist/Fortune/ + +Upstream Author: Gregory P. Ward + +Copyright: + +Copyright (c) 1999-2000 Gregory P. Ward. All rights reserved. +This is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +Perl is distributed under either the Artistic licence or the GPL. + +The full text of the GPL is available on Debian systems in +/usr/share/common-licenses/GPL + +The full text of the Artistic Licence is available on Debian systems in +/usr/share/common-licenses/Artistic. + + --- libfortune-perl-0.2.orig/debian/rules +++ libfortune-perl-0.2/debian/rules @@ -0,0 +1,70 @@ +#!/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) + $(MAKE) test + + touch $@ + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || ( $(PERL) Makefile.PL && $(MAKE) realclean ) + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -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_installdocs README + dh_installchangelogs + 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 install