--- libxml-feed-perl-0.30.orig/debian/control +++ libxml-feed-perl-0.30/debian/control @@ -0,0 +1,38 @@ +Source: libxml-feed-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7), quilt (>= 0.40) +Build-Depends-Indep: perl (>= 5.8.0-7), libclass-errorhandler-perl, + libxml-rss-perl (>= 1.31), libxml-atom-perl (>= 0.23), libwww-perl, + libhtml-parser-perl, liburi-perl, libdatetime-perl, libdatetime-format-mail-perl, + libdatetime-format-w3cdtf-perl, liburi-fetch-perl (>= 0.03-2), + libfeed-find-perl, libxml-libxml-perl (>= 1.66), libtest-pod-perl, + libtest-pod-coverage-perl +Maintainer: Debian Perl Group +Uploaders: Jaldhar H. Vyas , gregor herrmann , + Carlo Segre +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/XML-Feed/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-feed-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/ + +Package: libxml-feed-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libclass-errorhandler-perl, + libxml-rss-perl (>= 1.31), libxml-atom-perl (>= 0.23), libwww-perl, + libhtml-parser-perl, liburi-perl, libdatetime-perl, libdatetime-format-mail-perl, + libdatetime-format-w3cdtf-perl, liburi-fetch-perl (>= 0.03-2), + libfeed-find-perl, libxml-libxml-perl (>= 1.66) +Description: Syndication feed parser and auto-discovery + XML::Feed is a syndication feed parser for both RSS and Atom feeds. It + also implements feed auto-discovery for finding feeds, given a URI. + . + XML::Feed supports the following syndication feed formats: + . + * RSS 0.91 + * RSS 1.0 + * RSS 2.0 + * Atom + . + The goal of XML::Feed is to provide a unified API for parsing and using + the various syndication formats. --- libxml-feed-perl-0.30.orig/debian/copyright +++ libxml-feed-perl-0.30/debian/copyright @@ -0,0 +1,30 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Simon Wistow +Upstream-Source: http://search.cpan.org/dist/XML-Feed/ +Upstream-Name: XML-Feed + +Files: * +Copyright: Copyright 2004-2008 Six Apart, cpan@sixapart.com +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: + 2006, Jaldhar H. Vyas + 2006-2008, various members of the Debian Perl Group, cf. debian/changelog +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' --- libxml-feed-perl-0.30.orig/debian/watch +++ libxml-feed-perl-0.30/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/\.(\d)$/.${1}0/" \ +http://search.cpan.org/dist/XML-Feed/ .*/XML-Feed-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libxml-feed-perl-0.30.orig/debian/compat +++ libxml-feed-perl-0.30/debian/compat @@ -0,0 +1 @@ +7 --- libxml-feed-perl-0.30.orig/debian/README.source +++ libxml-feed-perl-0.30/debian/README.source @@ -0,0 +1,5 @@ +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. --- libxml-feed-perl-0.30.orig/debian/changelog +++ libxml-feed-perl-0.30/debian/changelog @@ -0,0 +1,75 @@ +libxml-feed-perl (0.30-1) unstable; urgency=low + + * debian/watch: add uversionmangle, upstream now uses 1 digit instead of 2 + for minor versions. + * New upstream release, includes a fix for "very hard to handle relative + links in feeds" (closes: #381359). + * debian/control: bump versioned (build) dependency on libxml-rss-perl to >= + 1.31; add build dependencies on libtest-pod-perl and + libtest-pod-coverage-perl; remove libmodule-build-perl from Build-Depends. + * Refresh patch 01_atom_date.patch. + + -- gregor herrmann Thu, 06 Nov 2008 21:18:04 +0100 + +libxml-feed-perl (0.21-1) unstable; urgency=low + + * New upstream release, includes a fix for "missing ability to specify feed + type" (closes: #477394). + * Change patch system from dpatch to quilt. + * Set Standards-Version to 3.8.0. + * Add debian/README.source to document quilt usage, as required by + Debian Policy since 3.8.0. + * Refresh patch 01_atom_date.patch, partly adopted upstream. + * debian/control: + - added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); + Homepage field (source stanza); removed: XS-Vcs-Svn fields + - change my email address + - wrap long lines + - bump (build) dependency on libxml-atom-perl to >= 0.23 + - add an explicit versioned (build) dependency on libxml-libxml-perl + * Set debhelper compatibility level to 7; adapt + debian/{control,compat,rules}. + * Don't install README any more. + * debian/copyright: switch to new format. + * debian/watch: use dist-based URL. + + -- gregor herrmann Fri, 17 Oct 2008 17:13:31 +0200 + +libxml-feed-perl (0.12-1) unstable; urgency=low + + * New upstream release. + * Fix problem with date parsing of atom feeds by applying a slightly modified + patch provided by Joey Hess - thanks! (Closes: #380498) + * Changed versioned (build) dependency on libxml-atom-perl to >= 0.22. + + -- gregor herrmann Tue, 22 Aug 2006 02:50:01 +0200 + +libxml-feed-perl (0.10-1) unstable; urgency=low + + * New upstream release. + + -- gregor herrmann Fri, 21 Jul 2006 14:30:24 +0200 + +libxml-feed-perl (0.09-1) unstable; urgency=low + + * New upstream release. + * Set Maintainer to Debian Perl Group. + * Set Standards-Version to 3.7.2 (no changes needed). + * Set Debhelper compatibility level to 5. + * Move debhelper from Build-Depends-Indep to Build-Depends. + + -- gregor herrmann Fri, 14 Jul 2006 22:34:33 +0200 + +libxml-feed-perl (0.08-1) unstable; urgency=low + + * New upstream release. + * Added watch file. Thanks Krzysztof Krzyzaniak. + + -- Jaldhar H. Vyas Wed, 15 Mar 2006 17:56:16 -0500 + +libxml-feed-perl (0.07-1) unstable; urgency=low + + * Initial release. (Closes: #350054) + + -- Jaldhar H. Vyas Fri, 10 Feb 2006 17:27:00 -0500 + --- libxml-feed-perl-0.30.orig/debian/rules +++ libxml-feed-perl-0.30/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build + touch $@ + +clean: unpatch + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libxml-feed-perl-0.30.orig/debian/patches/series +++ libxml-feed-perl-0.30/debian/patches/series @@ -0,0 +1 @@ +01_atom_date.patch --- libxml-feed-perl-0.30.orig/debian/patches/01_atom_date.patch +++ libxml-feed-perl-0.30/debian/patches/01_atom_date.patch @@ -0,0 +1,16 @@ +Author: +Description: fix problems with dates in XML::Feed:Atom; +Cf. #380498 +--- a/lib/XML/Feed/Format/Atom.pm ++++ b/lib/XML/Feed/Format/Atom.pm +@@ -277,7 +277,9 @@ + if (@_) { + $entry->{entry}->issued(DateTime::Format::W3CDTF->format_datetime($_[0])) if $_[0]; + } else { +- $entry->{entry}->issued ? iso2dt($entry->{entry}->issued) : undef; ++ return iso2dt($entry->{entry}->issued) if $entry->{entry}->issued; ++ return iso2dt($entry->{entry}->published) if $entry->{entry}->published; ++ return undef; + } + } +