--- libwebservice-cia-perl-1.4.orig/debian/control +++ libwebservice-cia-perl-1.4/debian/control @@ -0,0 +1,20 @@ +Source: libwebservice-cia-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 6), libmodule-build-perl +Build-Depends-Indep: perl (>= 5.8.8-7), libcrypt-ssleay-perl, libmldbm-perl, + libwww-perl, libtest-pod-perl, libtest-pod-coverage-perl +Maintainer: Debian Perl Group +Uploaders: Zak B. Elep , + gregor herrmann +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/WebService-CIA/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwebservice-cia-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libwebservice-cia-perl/ + +Package: libwebservice-cia-perl +Architecture: all +Depends: ${perl:Depends}, libcrypt-ssleay-perl, libmldbm-perl, libwww-perl +Description: get information from the CIA World Factbook via Perl + This Perl module gets information from the CIA World Factbook. + --- libwebservice-cia-perl-1.4.orig/debian/rules +++ libwebservice-cia-perl-1.4/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# debian/rules for libwebservice-cia-perl, based from the template +# by Marc Brockschmidt for the Debian Perl Group +# (http://pkg-perl.alioth.debian.org/) but may be used freely +# wherever it is useful. +# +# It was later modified by Jason Kohles +# http://www.jasonkohles.com/ to support Module::Build installed modules +# +# This package is maintained by Zak B. Elep + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Build.PL --installdirs vendor create_packlist=0 + $(PERL) Build + $(PERL) Build test + + touch $@ + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + + # Add commands to clean up after the build process here + [ ! -f Build ] || $(PERL) Build distclean + + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$(PACKAGE) here + $(PERL) Build install destdir=$(TMP) + + rm -f $(TMP)/usr/bin/webservice-cia-makedbm.pl + rm -rf $(TMP)/usr/bin + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + + touch $@ + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples $(CURDIR)/examples/* $(CURDIR)/webservice-cia-makedbm.pl + dh_installdocs + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libwebservice-cia-perl-1.4.orig/debian/watch +++ libwebservice-cia-perl-1.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/WebService-CIA/ .*/WebService-CIA-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libwebservice-cia-perl-1.4.orig/debian/copyright +++ libwebservice-cia-perl-1.4/debian/copyright @@ -0,0 +1,28 @@ +This is the debian package for the WebService-CIA module. +It was created by Zak B. Elep on +Mon, 18 Jun 2007 14:14:07 +0800 + +The upstream author is: Ian Malpass . + +Upstream source location: http://search.cpan.org/dist/WebService-CIA/ + +Copyright: Copyright 2003-2007, Ian Malpass + +License: + +This library is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +The CIA World Factbook's copyright information page +(https://www.cia.gov/library/publications/the-world-factbook/docs/contributor_copyright.html) +states: + +The Factbook is in the public domain. Accordingly, it may be copied + freely without permission of the Central Intelligence Agency (CIA). + + + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libwebservice-cia-perl-1.4.orig/debian/compat +++ libwebservice-cia-perl-1.4/debian/compat @@ -0,0 +1 @@ +6 --- libwebservice-cia-perl-1.4.orig/debian/changelog +++ libwebservice-cia-perl-1.4/debian/changelog @@ -0,0 +1,60 @@ +libwebservice-cia-perl (1.4-1) unstable; urgency=low + + [ David Paleino ] + * New upstream release: + * Running Internet-based tests is no more asked at build-time: + - deleting debian/patches, is not needed anymore; + - updating debian/rules; + - updating debian/control + + [ gregor herrmann ] + * Don't install README anymore, doesn't provide additional information. + * Add /me to Uploaders. + + -- gregor herrmann Sat, 02 Feb 2008 23:51:36 +0100 + +libwebservice-cia-perl (1.3-1) unstable; urgency=low + + [ Zak B. Elep ] + * New upstream release, now part of pkg-perl SVN + * debian/control: + + Update Standards-Version to 3.7.3 + * debian/rules: + + Use --installdirs flag instead of setting a variable + + Do not include .packlist files created by Build + * Add missing debian/watch for uscan + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). + * debian/rules: delete /usr/lib/perl5 only if it exists. + + [ Roberto C. Sanchez ] + * Update to debhelper compatibility level 6. + * Prevent installation of .packlist. + + [ gregor herrmann ] + * Split out changes to Build.PL to a proper patch and add quilt framework. + * Add libtest-pod-perl, libtest-pod-coverage-perl to Build-Depends-Indep. + * debian/rules: + - remove OPTIMIZE, we don't compile anything + - move tests to build-stamp target + - move dh_clean before Build distclean + - let install-stamp target depend on build-stamp + - remove dh_link and dh_strip + * debian/watch: use dist-based URL. + * Add upstream source location to debian/copyright. + + -- Roberto C. Sanchez Thu, 10 Jan 2008 21:10:27 -0500 + +libwebservice-cia-perl (1.2-1) unstable; urgency=low + + * Initial Release. (Closes: #429785) + * Build.PL: + + Do not enable tests requiring Internet connection to CIA Factbook + site. + * debian/rules: + + Do not install webservice-cia-makedbm.pl to /usr/bin by default; + include it as part of examples instead. + + -- Zak B. Elep Wed, 20 Jun 2007 18:15:51 +0800