debian/0000755000000000000000000000000012236253577007202 5ustar debian/source/0000755000000000000000000000000012236253533010472 5ustar debian/source/format0000644000000000000000000000001412236253533011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000236112236253577011056 0ustar libformat-human-bytes-perl (0.06-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Standards-Version 3.9.1 (no changes) * Drop perl version dep, stable has 5.10 [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ Damyan Ivanov ] * copyright: drop unused License: GPL-3+ description * copyright: point to GPL-1, instead of (symlink) GPL * remove trailing slash from metacpan URLs * claim conformance with Policy 3.9.5 * source format '3.0 (quilt)' -- Damyan Ivanov Tue, 05 Nov 2013 22:39:26 +0200 libformat-human-bytes-perl (0.05-1) unstable; urgency=low [ Deepak Tripathi ] * Initial Release (Closes: #576510) -- Damyan Ivanov Fri, 09 Apr 2010 10:26:00 +0300 debian/rules0000755000000000000000000000003611614475465010262 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000254512236253401010575 0ustar Source: libformat-human-bytes-perl Maintainer: Debian Perl Group Uploaders: Deepak Tripathi , Damyan Ivanov Section: perl Priority: optional Build-Depends: debhelper (>= 7.2.13) Build-Depends-Indep: perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libformat-human-bytes-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libformat-human-bytes-perl.git Homepage: https://metacpan.org/release/Format-Human-Bytes Package: libformat-human-bytes-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: Format a bytecount and make it human readable Format::Human::Bytes is used to convert bytecount values to human-readable strings. It will return you a printable string which is more readable by humans than a simple bytecount. . For example: use Format::Human::Bytes; $readable = Format::Human::Bytes::base2($bytecount[,$decimals]); It will convert in base 2 format. . $readable = Format::Human::Bytes::base10($bytecount[,$decimals]); It will convert in base 10 format. . Another way is to create constructor for example: . $fhb = Format::Human::Bytes->new(); $readable = $fhb->base2($bytecount[,$decimals]); $readable = $fhb->base10($bytecount[,$decimals]); debian/compat0000644000000000000000000000000211614475465010401 0ustar 7 debian/watch0000644000000000000000000000020112236253220010205 0ustar version=3 https://metacpan.org/release/Format-Human-Bytes .*/Format-Human-Bytes-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/copyright0000644000000000000000000000240312236253226011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Format-Human-Bytes Upstream-Contact: Sebastian Willing Source: https://metacpan.org/release/Format-Human-Bytes Files: * Copyright: Sebastian Willing License: Artistic or GPL-1+ Files: inc/Module/* Copyright: 2002-2010, Adam Kennedy 2002-2010, Audrey Tang 2002-2010, Brian Ingerson License: Artistic or GPL-1+ Files: debian/* Copyright: 2010, Deepak Tripathi License: 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 version 1 can be found in `/usr/share/common-licenses/GPL-1'