[libhtml-truncate-perl] 02/02: Initial debian set up

Lucas Kanashiro kanashiro.duarte at gmail.com
Fri Oct 30 12:46:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository libhtml-truncate-perl.

commit e06926ab338e03c78dc7f245651164cc1eb726aa
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Fri Oct 30 10:38:26 2015 -0200

    Initial debian set up
---
 debian/changelog |  2 +-
 debian/control   | 31 +++++++++++++++++++++----------
 debian/copyright | 18 ++++++++----------
 3 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0f1fefe..c31cf07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 libhtml-truncate-perl (0.20-1) unstable; urgency=low
 
-  * Initial Release.
+  * Initial Release. (Closes: #803453)
 
  -- Lucas Kanashiro <kanashiro.duarte at gmail.com>  Fri, 30 Oct 2015 10:13:36 -0200
diff --git a/debian/control b/debian/control
index 9b13096..1f2a76d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,20 +1,31 @@
 Source: libhtml-truncate-perl
 Section: perl
 Priority: optional
-Maintainer: Lucas Kanashiro <kanashiro.duarte at gmail.com>
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Lucas Kanashiro <kanashiro.duarte at gmail.com>
 Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: libhtml-parser-perl (>= 2),
- libhtml-tagset-perl (>= 3),
- perl
+                     libhtml-tagset-perl (>= 3),
+                     perl
 Standards-Version: 3.9.6
 Homepage: https://metacpan.org/release/HTML-Truncate
+Testsuite: autopkgtest-pkg-perl
 
 Package: libhtml-truncate-perl
 Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends},
- libhtml-parser-perl (>= 2),
- libhtml-tagset-perl (>= 3)
-Description: (beta software) truncate HTML by percentage or character count while preserving well-formedness.
- (no description was found)
- .
- This description was automagically extracted from the module by dh-make-perl.
+Depends: ${misc:Depends},
+         ${perl:Depends},
+         libhtml-parser-perl (>= 2),
+         libhtml-tagset-perl (>= 3)
+Description: Perl module that truncate HTML by percentage or character count
+ When working with text it is common to want to truncate strings to make them
+ fit a desired context. E.g., you might have a menu that is only 100px wide and
+ prefer text doesn't wrap so you'd truncate it around 15-30 characters,
+ depending on preference and typeface size. This is trivial with plain text
+ using substr but with HTML it is somewhat difficult because whitespace has
+ fluid significance and open tags that are not properly closed destroy
+ well-formedness and can wreck an entire layout.
+ . 
+ HTML::Truncate attempts to account for those two problems by padding truncation
+ for spacing and entities and closing any tags that remain open at the point of
+ truncation.
diff --git a/debian/copyright b/debian/copyright
index ce69b83..4f5fd32 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,18 +1,16 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: https://metacpan.org/release/HTML-Truncate
-Upstream-Contact: Ashley Pond V, C<< <ashley at cpan.org> >>.
+Upstream-Contact: Ashley Pond V <ashley at cpan.org>
 Upstream-Name: HTML-Truncate
-DISCLAIMER: This copyright info was automatically extracted 
- from the perl module. It may not be accurate, so you better 
- check the module sources in order to ensure the module for its 
- inclusion in Debian or for general legal information. Please, 
- if licensing information is incorrectly generated, file a bug 
- on dh-make-perl.
- NOTE: Don't forget to remove this disclaimer once you are happy
- with this file.
 
 Files: *
-Copyright: Ashley Pond V, C<< <ashley at cpan.org> >>.
+Copyright: 2005-2009, Ashley Pond V <ashley at cpan.org>
+License: Artistic or GPL-1+
+
+Files: inc/Module/*
+Copyright: 2002-2012, Adam Kennedy <adamk at cpan.org>
+ 2002-2012, Audrey Tang <autrijus at autrijus.org>
+ 2002-2012, Brian Ingerson <ingy at cpan.org>
 License: Artistic or GPL-1+
 
 Files: debian/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-truncate-perl.git



More information about the Pkg-perl-cvs-commits mailing list