--- libimage-math-constrain-perl-1.02.orig/debian/control +++ libimage-math-constrain-perl-1.02/debian/control @@ -0,0 +1,25 @@ +Source: libimage-math-constrain-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: perl (>= 5.6.0-12), libtest-minimumversion-perl, + libtest-cpan-meta-perl, libpod-simple-perl (>= 3.07), libtest-pod-perl (>= 1.26) +Maintainer: Debian Perl Group +Uploaders: Jonathan Yu +Standards-Version: 3.8.2 +Homepage: http://search.cpan.org/dist/Image-Math-Constrain/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libimage-math-constrain-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libimage-math-constrain-perl/ + +Package: libimage-math-constrain-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Perl module performing math used to constrain image sizes + Image::Math::Constrain is a Perl module that implements all of the math behind + implementing image size constraints. It allows one to restrict the dimensions + of an image by checking to see if the image is larger than the desired final + dimensions, and if so, provide a way to scale the image down proportionally so + it fits within the constraints. It can set constraints based on width, height, + or both, and is guaranteed to return dimensions that are proportional to the + original -- that is, they will have the same aspect ratio. It also returns the + necessary scaling factor, so you can pass it to a module to do the work. --- libimage-math-constrain-perl-1.02.orig/debian/copyright +++ libimage-math-constrain-perl-1.02/debian/copyright @@ -0,0 +1,35 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Adam Kennedy +Upstream-Source: http://search.cpan.org/dist/Image-Math-Constrain/ +Upstream-Name: Image-Math-Constrain + +Files: * +Copyright: 2004-2008, Adam Kennedy +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: 2009, Jonathan Yu +License: Artistic | GPL-1+ + +Files: inc/Module/* +Copyright: 2002-2009, Adam Kennedy + 2002-2009, Audrey Tang + 2002-2009, Brian Ingerson +License-Alias: Perl +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' --- libimage-math-constrain-perl-1.02.orig/debian/watch +++ libimage-math-constrain-perl-1.02/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Image-Math-Constrain/ .*/Image-Math-Constrain-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libimage-math-constrain-perl-1.02.orig/debian/compat +++ libimage-math-constrain-perl-1.02/debian/compat @@ -0,0 +1 @@ +7 --- libimage-math-constrain-perl-1.02.orig/debian/changelog +++ libimage-math-constrain-perl-1.02/debian/changelog @@ -0,0 +1,5 @@ +libimage-math-constrain-perl (1.02-1) unstable; urgency=low + + * Initial Release (Closes: #537579) + + -- Jonathan Yu Sun, 19 Jul 2009 15:48:40 -0400 --- libimage-math-constrain-perl-1.02.orig/debian/rules +++ libimage-math-constrain-perl-1.02/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: + AUTOMATED_TESTING=1 dh_auto_test +