--- libmath-calc-units-perl-1.07.orig/debian/control +++ libmath-calc-units-perl-1.07/debian/control @@ -0,0 +1,24 @@ +Source: libmath-calc-units-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7) +Build-Depends-Indep: perl (>= 5.6.0-16), libtest-pod-perl +Maintainer: Debian Perl Group +Uploaders: Ryan Niebur , Jonathan Yu +Standards-Version: 3.8.2 +Homepage: http://search.cpan.org/dist/Math-Calc-Units/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmath-calc-units-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmath-calc-units-perl/ + +Package: libmath-calc-units-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Human-readable unit-aware calculator + Math::Calc::Units is a simple calculator that keeps track of units. It only + handles combinations of byte sizes and duration only, though adding any other + multiplicative types is easy. Any unknown type is treated as a unique user + type (with some effort to map English plurals to their singular forms). + . + The included 'ucalc' program prints out all of the "readable" variants of a + value. For example, "3 bytes" will only produce "3 byte", but "3 byte/sec" + produces the original along with "180 byte/minute", etc. --- libmath-calc-units-perl-1.07.orig/debian/copyright +++ libmath-calc-units-perl-1.07/debian/copyright @@ -0,0 +1,34 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Steve Fink +Upstream-Source: http://search.cpan.org/dist/Math-Calc-Units/ +Upstream-Name: Math-Calc-Units + +Files: * +Copyright: 2001-2005, Steve Fink +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: Units/Grammar.pm +Copyright: 1998-2001 Francois Desarmenien +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: 2009, Jonathan Yu + 2009, Ryan Niebur +License: Artistic | GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in `/usr/share/common-licenses/Artistic' + +License: GPL-1+ + 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 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libmath-calc-units-perl-1.07.orig/debian/watch +++ libmath-calc-units-perl-1.07/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/Math-Calc-Units/ .*/Math-Calc-Units-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libmath-calc-units-perl-1.07.orig/debian/compat +++ libmath-calc-units-perl-1.07/debian/compat @@ -0,0 +1 @@ +7 --- libmath-calc-units-perl-1.07.orig/debian/README.source +++ libmath-calc-units-perl-1.07/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libmath-calc-units-perl-1.07.orig/debian/changelog +++ libmath-calc-units-perl-1.07/debian/changelog @@ -0,0 +1,25 @@ +libmath-calc-units-perl (1.07-1) unstable; urgency=low + + [ Jonathan Yu ] + * New upstream release + + Add a warning for incorrect usage of "-c" + * Standards-Version 3.8.2 (no changes) + * Added myself to Copyright and Uploaders + * Updated to perl (>= 5.6.0-16) in B-D-I (Perl Policy) + * Add a README.source + * Move examples -> libmath-calc-units-perl.examples + + [ gregor herrmann ] + * debian/control: finish incomplete long description, thanks to Rhonda for + spotting. + + [ Nathan Handler ] + * debian/watch: Update to ignore development releases. + + -- Jonathan Yu Tue, 04 Aug 2009 17:58:39 -0400 + +libmath-calc-units-perl (1.06-1) unstable; urgency=low + + * Initial Release. (Closes: #491836) + + -- Ryan Niebur Sat, 07 Mar 2009 09:24:51 -0800 --- libmath-calc-units-perl-1.07.orig/debian/rules +++ libmath-calc-units-perl-1.07/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ --- libmath-calc-units-perl-1.07.orig/debian/libmath-calc-units-perl.examples +++ libmath-calc-units-perl-1.07/debian/libmath-calc-units-perl.examples @@ -0,0 +1 @@ +script/* --- libmath-calc-units-perl-1.07.orig/debian/patches/dont-install-ucalc +++ libmath-calc-units-perl-1.07/debian/patches/dont-install-ucalc @@ -0,0 +1,13 @@ +has no documentation, and I don't think it's useful enough for me to +spend time writing documentation. + +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -3,7 +3,6 @@ + WriteMakefile( + 'NAME' => 'Math::Calc::Units', + 'VERSION_FROM' => 'Units.pm', # finds $VERSION +- 'EXE_FILES' => [ 'script/ucalc' ], + 'XS' => {}, + ); + --- libmath-calc-units-perl-1.07.orig/debian/patches/series +++ libmath-calc-units-perl-1.07/debian/patches/series @@ -0,0 +1 @@ +dont-install-ucalc