--- libflickr-upload-perl-1.32.orig/debian/control +++ libflickr-upload-perl-1.32/debian/control @@ -0,0 +1,28 @@ +Source: libflickr-upload-perl +Section: perl +Priority: extra +Build-Depends: debhelper (>= 7), quilt (>= 0.40) +Build-Depends-Indep: perl (>= 5.6.10-12), + libxml-parser-lite-tree-perl (>= 0.03), libwww-perl (>= 1), + libflickr-api-perl (>= 0.07) +Maintainer: Debian Perl Group +Uploaders: Alex Muntada , Damyan Ivanov +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libflickr-upload-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libflickr-upload-perl/ +Homepage: http://search.cpan.org/dist/Flickr-Upload/ + +Package: libflickr-upload-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, + libxml-parser-lite-tree-perl (>= 0.03), libwww-perl (>= 1), + libflickr-api-perl (>= 0.07) +Description: module for uploading images to flickr.com + flickr_upload is a completely functional batch uploading tool which + uses Perl module Flickr::Upload as its back-end. It is flickr.com + image uploading made easy and quick from the command line; it also + helps you tagging, choosing access control, defining content type, + setting safety level, etc., while uploading your images. + . + flickr_upload may also be useful for generating authentication tokens + against other API keys/secrets (i.e. for embedding in scripts). --- libflickr-upload-perl-1.32.orig/debian/compat +++ libflickr-upload-perl-1.32/debian/compat @@ -0,0 +1 @@ +7 --- libflickr-upload-perl-1.32.orig/debian/watch +++ libflickr-upload-perl-1.32/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/Flickr-Upload/ .*/Flickr-Upload-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libflickr-upload-perl-1.32.orig/debian/rules +++ libflickr-upload-perl-1.32/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 --- libflickr-upload-perl-1.32.orig/debian/copyright +++ libflickr-upload-perl-1.32/debian/copyright @@ -0,0 +1,27 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Christophe Beauregard +Upstream-Source: http://search.cpan.org/dist/Flickr-Upload/ +Upstream-Name: Flickr-Upload + +Files: * +Copyright: Copyright 2004, 2005, Christophe Beauregard +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: Copyright 2008, Alex Muntada +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' --- libflickr-upload-perl-1.32.orig/debian/README.source +++ libflickr-upload-perl-1.32/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. --- libflickr-upload-perl-1.32.orig/debian/changelog +++ libflickr-upload-perl-1.32/debian/changelog @@ -0,0 +1,13 @@ +libflickr-upload-perl (1.32-2) unstable; urgency=low + + * change Priority to extra as libflickr-upload-perl depends on two packages + of extra priority + * add myself to Uploaders + + -- Damyan Ivanov Mon, 27 Oct 2008 22:13:01 +0200 + +libflickr-upload-perl (1.32-1) unstable; urgency=low + + * Initial Release. Closes: #500622 -- ITP + + -- Alex Muntada Sun, 19 Oct 2008 16:44:13 +0200 --- libflickr-upload-perl-1.32.orig/debian/patches/manpage-has-errors-from-pod2man.patch +++ libflickr-upload-perl-1.32/debian/patches/manpage-has-errors-from-pod2man.patch @@ -0,0 +1,38 @@ +Author: Alex Muntada +Description: fixes issues with =back in flickr_upload POD + Already merged upstream in + http://gitorious.org/projects/flickrupload/repos/mainline/commits/36f2a4434770d8cbdcdbceee985fc19d4bc3f9f9 + +--- a/flickr_upload ++++ b/flickr_upload +@@ -357,6 +357,10 @@ + Set to 1 to keep the photo in global search results, 2 to hide from public + earches. + ++=back ++ ++Note that options unknown to Flickr will result in undefined behaviour. ++ + =item --check + + Checks the authentication token via the flickr.auth.checkToken API call. +@@ -368,10 +372,6 @@ + Display a progress bar for each upload with L. That + optional module will have to be installed on the system. + +-=back 4 +- +-Note that options unknown to Flickr will result in undefined behaviour. +- + =item --key + + =item --secret +@@ -399,6 +399,8 @@ + wait around for that to complete, but be aware that delays of upwards + of thirty minutes have (rarely) been know to occur. + ++=back ++ + =head1 EXAMPLES + + First, you need to get an authentication token. This is a requirement --- libflickr-upload-perl-1.32.orig/debian/patches/failupload.patch +++ libflickr-upload-perl-1.32/debian/patches/failupload.patch @@ -0,0 +1,14 @@ +Author: Alex Muntada +Description: Fixes dubious test when network is unavailable + +--- a/Upload.pm ++++ b/Upload.pm +@@ -270,6 +270,8 @@ + + my $res = $self->request( $req ); + ++ return () unless defined $res && $res->is_success; ++ + my $tree = XML::Parser::Lite::Tree::instance()->parse($res->decoded_content()); + return () unless defined $tree; + --- libflickr-upload-perl-1.32.orig/debian/patches/series +++ libflickr-upload-perl-1.32/debian/patches/series @@ -0,0 +1,2 @@ +failupload.patch +manpage-has-errors-from-pod2man.patch