--- libmath-nocarry-perl-1.11.orig/debian/control +++ libmath-nocarry-perl-1.11/debian/control @@ -0,0 +1,34 @@ +Source: libmath-nocarry-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5), quilt (>= 0.40) +Build-Depends-Indep: perl (>= 5.8.0-7), libtest-pod-perl, + libtest-pod-coverage-perl +Maintainer: Debian Perl Group +Uploaders: Gunnar Wolf , Damyan Ivanov , + gregor herrmann +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Math-NoCarry/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmath-nocarry-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-nocarry-perl/ + +Package: libmath-nocarry-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, +Description: Perl extension for no carry arithmetic + No carry arithmetic doesn't allow you to carry digits to the + next column. For example, if you add 8 and 4, you normally + expect the answer to be 12, but that 1 digit is a carry. + In no carry arithmetic you can't do that, so the sum of + 8 and 4 is just 2. In effect, this is addition modulo 10 + in each column. I discard all of the carry digits in + this example: + . + 1234 + + 5678 + ------ + 6802 + . + For multiplication, the result of pair-wise multiplication + of digits is the modulo 10 value of their normal, everyday + multiplication. --- libmath-nocarry-perl-1.11.orig/debian/copyright +++ libmath-nocarry-perl-1.11/debian/copyright @@ -0,0 +1,20 @@ +This is the debian package for the Math-NoCarry module. +It was created by David Moreno Garza using dh-make-perl +and is maintained by the Debian Perl Group. + +This module was pristinely downloaded from CPAN at: + http://search.cpan.org/dist/Math-NoCarry/ + +The upstream author is: + +brian d foy, . + +Copyright 2002-2007, brian d foy, All Rights Reserved. + +You may redistribute this under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. + --- libmath-nocarry-perl-1.11.orig/debian/rules +++ libmath-nocarry-perl-1.11/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +export PERL_MM_USE_DEFAULT=1 + +PACKAGE = $(shell dh_listpackages) +PERL ?= /usr/bin/perl +TMP = $(CURDIR)/debian/$(PACKAGE) + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || ( touch Makefile && $(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 by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libmath-nocarry-perl-1.11.orig/debian/changelog +++ libmath-nocarry-perl-1.11/debian/changelog @@ -0,0 +1,69 @@ +libmath-nocarry-perl (1.11-2) unstable; urgency=low + + * debian/control: indent example in long description to make it display + nicely; thanks to Simon Huggins (closes: #466402). + * debian/rules: touch Makefile in clean target after unpatching + Makefile.PL to prevent it from being re-built; allows building twice + in a row. + * Refresh debian/rules, no functional changes. + * debian/watch: extended regexp for matching upstream releases. + * debian/copyright: point to the dist-based version of the upstream source + URL. + * debian/control: make build dependency on quilt versioned and add /me to + Uploaders. + + -- gregor herrmann Wed, 30 Apr 2008 23:27:53 +0200 + +libmath-nocarry-perl (1.11-1) unstable; urgency=low + + [ gregor herrmann ] + * New upstream version. + * 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. + * Set debhelper compatibility level to 5. + * Set Standards-Version to 3.7.3 (no changes needed). + * debian/rules: + - drop OPTIMIZE, we don't compile anything + - remove comments and empty lines + - call dh_clean before make realclean + - let install-stamp target depend on build-stamp (instead of install on + build) + - don't install README any more (doesn't provide useful information for + users on Debian systems) + - remove unneeded calls to dh_link and dh_strip + * Don't patch Makefile.PL directly but use quilt; new patch + manpage_section created. + * debian/copyright: move download location near top of file; update years + of copyright. + + [ Damyan Ivanov ] + * Move testsuite from install to build target + * Remove usr/lib/perl5 only if it exists and remove it verbosely + * Put me in Uploaders instead of Gregor + * Add v? to watch file pattern + * Wrap Build-Depends-Indep + + -- Damyan Ivanov Sat, 05 Jan 2008 15:50:56 +0200 + +libmath-nocarry-perl (1.10-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Wed, 09 May 2007 09:30:29 -0500 + +libmath-nocarry-perl (1.09-2) unstable; urgency=low + + * New Maintainer: Debian Perl Group. + * Add watch file. + * Add libtest-pod-perl and libtest-pod-coverage-perl to build dependencies. + + -- gregor herrmann Fri, 15 Sep 2006 00:17:24 +0200 + +libmath-nocarry-perl (1.09-1) unstable; urgency=low + + * Initial Release. + + -- David Moreno Garza Tue, 23 May 2006 23:36:05 -0500 + --- libmath-nocarry-perl-1.11.orig/debian/compat +++ libmath-nocarry-perl-1.11/debian/compat @@ -0,0 +1 @@ +5 --- libmath-nocarry-perl-1.11.orig/debian/watch +++ libmath-nocarry-perl-1.11/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://search.cpan.org/dist/Math-NoCarry/ .*/Math-NoCarry-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libmath-nocarry-perl-1.11.orig/debian/patches/series +++ libmath-nocarry-perl-1.11/debian/patches/series @@ -0,0 +1 @@ +manpage_section --- libmath-nocarry-perl-1.11.orig/debian/patches/manpage_section +++ libmath-nocarry-perl-1.11/debian/patches/manpage_section @@ -0,0 +1,13 @@ +Index: libmath-nocarry-perl/Makefile.PL +=================================================================== +--- libmath-nocarry-perl.orig/Makefile.PL 2007-12-17 18:52:34.000000000 +0100 ++++ libmath-nocarry-perl/Makefile.PL 2007-12-17 18:52:41.000000000 +0100 +@@ -22,7 +22,7 @@ + }, + + 'MAN3PODS' => { +- 'lib/NoCarry.pm' => '$(INST_MAN3DIR)/Math::NoCarry.3', ++ 'lib/NoCarry.pm' => '$(INST_MAN3DIR)/Math::NoCarry.3pm', + }, + + clean => { FILES => 'Math-NoCarry-*' },