--- libtest-synopsis-perl-0.06+ds.orig/debian/control +++ libtest-synopsis-perl-0.06+ds/debian/control @@ -0,0 +1,22 @@ +Source: libtest-synopsis-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: perl +Maintainer: Debian Perl Group +Uploaders: Salvatore Bonaccorso +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/Test-Synopsis/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-synopsis-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtest-synopsis-perl/ + +Package: libtest-synopsis-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Perl module to test SYNOPSIS code in PODs + Test::Synopsis is an (author) test module to find .pm or .pod files + under your lib directory and then make sure the example snippet code in + your SYNOPSIS section passes the perl compile check. + . + Note that this module only checks the perl syntax (by wrapping the code + with sub) and doesn't actually run the code. --- libtest-synopsis-perl-0.06+ds.orig/debian/copyright +++ libtest-synopsis-perl-0.06+ds/debian/copyright @@ -0,0 +1,40 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Maintainer: Tatsuhiko Miyagawa +Source: http://search.cpan.org/dist/Test-Synopsis/ +Name: Test-Synopsis + +Files: * +Copyright: 2009, Tatsuhiko Miyagawa +License: Artistic or GPL-1+ +X-Comment: From http://bulknews.net/debian.txt the author states the + following: + . + All of my modules available at http://search.cpan.org/~miyagawa/ with + the statement "AUTHOR: Tatsuhiko Miyagawa" are, unless otherwise noted, + Copyright (c) Tatsuhiko Miyagawa. + +Files: inc/Module/* +Copyright: 2002-2009, Adam Kennedy + 2002-2009, Audrey Tang + 2002-2009, Brian Ingerson +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2009, Salvatore Bonaccorso +License: Artistic or 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' --- libtest-synopsis-perl-0.06+ds.orig/debian/watch +++ libtest-synopsis-perl-0.06+ds/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=dversionmangle=s/\+ds// \ +http://search.cpan.org/dist/Test-Synopsis/ .*/Test-Synopsis-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \ +debian sh debian/repack.stub --- libtest-synopsis-perl-0.06+ds.orig/debian/compat +++ libtest-synopsis-perl-0.06+ds/debian/compat @@ -0,0 +1 @@ +7 --- libtest-synopsis-perl-0.06+ds.orig/debian/repack.local +++ libtest-synopsis-perl-0.06+ds/debian/repack.local @@ -0,0 +1,4 @@ +MANIFEST=1 +SUFFIX=+ds +rm inc/Spiffy.pm +rm inc/Test --- libtest-synopsis-perl-0.06+ds.orig/debian/README.source +++ libtest-synopsis-perl-0.06+ds/debian/README.source @@ -0,0 +1,16 @@ +Repackaged upstream source tarball for Debian +--------------------------------------------- + +Upstream for Test-Synopsis bundles some modules in inc/* which are not +needed. Furthermore some of them do not have Copyright information. As +they are not needed for building the package the upstream tarball was +repackaged without these files. + +The upstream tarball was repackaged via the script debian/repack.stub, +using debian/repack.local for removing the mentioned files and adjusting +MANIFEST file. + +We remove the following files: + + - inc/Test/* + - inc/Spiffy.pm --- libtest-synopsis-perl-0.06+ds.orig/debian/changelog +++ libtest-synopsis-perl-0.06+ds/debian/changelog @@ -0,0 +1,5 @@ +libtest-synopsis-perl (0.06+ds-1) unstable; urgency=low + + * Initial Release (Closes: #562873) + + -- Salvatore Bonaccorso Wed, 30 Dec 2009 17:45:23 +0100 --- libtest-synopsis-perl-0.06+ds.orig/debian/rules +++ libtest-synopsis-perl-0.06+ds/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --- libtest-synopsis-perl-0.06+ds.orig/debian/repack.stub +++ libtest-synopsis-perl-0.06+ds/debian/repack.stub @@ -0,0 +1,82 @@ +#!/bin/sh + +: <<=cut +=pod + +=head1 NAME + +repack.stub - script to repack upstream tarballs from uscan + +=head1 INSTRUCTIONS + +put this in debian/repack.stub and add "debian sh debian/repack.stub" to +the end of the line in debian/watch. you will also need to add a version +mangle to debian/watch. + +then create a debian/repack.local. this is a shell script that is +sources under "set -e", so be careful to check returns codes. + +=head1 FUNCTIONS + +=over 4 + +=item rm + +rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 + +=item mv + +mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 + +=item requires_version + +requires_version is there for future usage for requiring certain versions of the script + +=back + +=head1 VARIABLES + +=over 4 + +=item SUFFIX + +defaults to +dfsg + +what to append to the upstream version + +=item RM_OPTS + +defaults to -vrf + +options to pass to rm + +=item MANIFEST + +defaults to 0, set to 1 to turn on. + +this will manipulate MANIFEST files in CPAN tarballs. + +=item UP_BASE + +this is the directory where the upstream source is. + +=back + +=cut + +if [ -z "$REPACK_SH" ]; then + if [ -f ../../scripts/repack.sh ]; then + REPACK_SH=../../scripts/repack.sh + fi + if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then + REPACK_SH=$(which repack.sh) + fi +fi + +if [ ! -f "$REPACK_SH" ]; then + echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" + echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" + exit 1 +fi + +exec "$REPACK_SH" "$@"