--- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/control +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/control @@ -0,0 +1,22 @@ +Source: libbiblio-citation-parser-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7), perl (>= 5.10) | libmodule-build-perl +Build-Depends-Indep: perl, liburi-perl, libtext-unidecode-perl +Maintainer: Debian Perl Group +Uploaders: gregor herrmann +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/Biblio-Citation-Parser/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libbiblio-citation-parser-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libbiblio-citation-parser-perl/ + +Package: libbiblio-citation-parser-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl, + libtext-unidecode-perl +Suggests: libsoap-lite-perl +Description: citation parsing framework + Biblio::Citation::Parser provides generic methods for reference parsers. This + class should not be used directly, but rather be overridden by specific + parsers. Parsers that extend the Parser class must provide at least the two + methods defined here to ensure compatibility. --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/copyright +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/copyright @@ -0,0 +1,40 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Maintainer: Mike Jewell +Source: http://search.cpan.org/dist/Biblio-Citation-Parser/ +Name: Biblio-Citation-Parser +X-Comment: the +dfsg version is created by removing the docs/ps directory; the + postscript version of the documentation contains a copyright notice without + license for a font. + +Files: * +Copyright: 2004, University of Southampton, UK. SO17 1BJ +License: GPL-2+ + +Files: debian/* +Copyright: 2009, gregor herrmann +License: Artistic or GPL-1+ or GPL-2+ + +License: GPL-2+ + 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; version 2 dated June, 1991, or (at your + option) any later version. + . + On Debian GNU/Linux systems, the complete text of version 2 of the GNU + General Public License can be found in `/usr/share/common-licenses/GPL-2' + +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' --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/watch +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=dversionmangle=s/\+dfsg// \ + http://search.cpan.org/dist/Biblio-Citation-Parser/ .*/Biblio-Citation-Parser-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \ + debian sh debian/repack.stub --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/compat +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/compat @@ -0,0 +1 @@ +7 --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/repack.local +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/repack.local @@ -0,0 +1,2 @@ +MANIFEST=1 +rm docs/ps --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/README.source +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/README.source @@ -0,0 +1,6 @@ +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. + --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/changelog +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/changelog @@ -0,0 +1,5 @@ +libbiblio-citation-parser-perl (1.10+dfsg-1) unstable; urgency=low + + * Initial release (closes: #537264). + + -- gregor herrmann Sun, 15 Nov 2009 19:20:51 +0100 --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/libbiblio-citation-parser-perl.docs +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/libbiblio-citation-parser-perl.docs @@ -0,0 +1,3 @@ +TODO +README +docs/* --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/rules +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/libbiblio-citation-parser-perl.examples +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/libbiblio-citation-parser-perl.examples @@ -0,0 +1 @@ +examples/* --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/repack.stub +++ libbiblio-citation-parser-perl-1.10+dfsg/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" "$@" --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/patches/pod.patch +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/patches/pod.patch @@ -0,0 +1,23 @@ +Author: gregor herrmann +Description: fix pod error + +--- a/lib/Biblio/Citation/Parser/Citebase.pm ++++ b/lib/Biblio/Citation/Parser/Citebase.pm +@@ -63,6 +63,8 @@ + + =pod + ++=over ++ + =item $p = new Biblio::Citation::Parser::Citebase([$citation],[$source_identifier]); + + Create a new citation parser, optionally parsing $citation with $source_identifier. If a citation is given the return blessed hash will contain the structured data. +@@ -105,6 +107,8 @@ + + Parses a string, $citation, and returns a blessed hash of the structured data. + ++=back ++ + =cut + + # This is a very nasty hack to allow this method --- libbiblio-citation-parser-perl-1.10+dfsg.orig/debian/patches/series +++ libbiblio-citation-parser-perl-1.10+dfsg/debian/patches/series @@ -0,0 +1 @@ +pod.patch