--- libsort-fields-perl-0.90.orig/debian/compat +++ libsort-fields-perl-0.90/debian/compat @@ -0,0 +1 @@ +5 --- libsort-fields-perl-0.90.orig/debian/watch +++ libsort-fields-perl-0.90/debian/watch @@ -0,0 +1,3 @@ +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/Sort-Fields/ .*/Sort-Fields-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libsort-fields-perl-0.90.orig/debian/copyright +++ libsort-fields-perl-0.90/debian/copyright @@ -0,0 +1,40 @@ +This is the debian package for the Sort::Fields module. +It was created by Dominic Hargreaves using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/Sort::Fields/ + +The upstream author is Joseph N. Hall, joseph@5sigma.com, +who has placed this software into the public domain: + +---- +Message-ID: <144b6a750803231337p346b372ep6c7fbd0bd2959c09@mail.gmail.com> +Date: Sun, 23 Mar 2008 13:37:21 -0700 +From: Joseph +To: "Dominic Hargreaves" +Subject: Re: Sort::Fields licence +Cc: jnh@cpan.org +In-Reply-To: <20080323184608.GV6059@urchin.earth.li> +References: <20080323184608.GV6059@urchin.earth.li> + +I'm not interested in uploading a new version with a proper copyright +statement right now. Therefore considering the age of the code and so +on: + +I hereby declare Sort::Fields to be in the public domain. + +Hope that helps. Feel free to publish this statement where necessary. + + -joseph + +On Sun, Mar 23, 2008 at 11:46 AM, Dominic Hargreaves wrote: +> Hello, +> +> I'm interested in packaging Sort::Fields for Debian, but since there is +> no copyright statement or licence attached to the code, I'm unable to do +> this at present. Could you possibly add one which is DFSG-compliant[1] +> (of course the "Perl licence" is generally used for CPAN modules) +---- + +The Debian packaging is (C) 2008, Dominic Hargreaves and +is licensed under the GPL, version 2. The full text of GPLv2 may be found +at `/usr/share/common-licenses/GPL-2`. --- libsort-fields-perl-0.90.orig/debian/control +++ libsort-fields-perl-0.90/debian/control @@ -0,0 +1,26 @@ +Source: libsort-fields-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.8.8-12) +Maintainer: Dominic Hargreaves +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Sort-Fields/ + +Package: libsort-fields-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Sort lines containing delimited fields + Sort::Fields provides a general purpose technique for efficiently sorting + lists of lines that contain data separated into fields. + . + Sort::Fields automatically imports two subroutines, fieldsort and + make_fieldsort, and two variants, stable_fieldsort and + make_stable_fieldsort. make_fieldsort generates a sorting subroutine + and returns a reference to it. fieldsort is a wrapper for + the make_fieldsort subroutine. + . + The first argument to make_fieldsort is a delimiter string, which is + used as a regular expression argument for a split operator. The + delimiter string is optional. If it is not supplied, make_fieldsort + splits each line using /\s+/. --- libsort-fields-perl-0.90.orig/debian/rules +++ libsort-fields-perl-0.90/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# 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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + # Add commands to install the package into $(TMP) here + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -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 here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libsort-fields-perl-0.90.orig/debian/changelog +++ libsort-fields-perl-0.90/debian/changelog @@ -0,0 +1,11 @@ +libsort-fields-perl (0.90-2) unstable; urgency=low + + * Correct watch file + + -- Dominic Hargreaves Thu, 17 Apr 2008 19:42:45 +0100 + +libsort-fields-perl (0.90-1) unstable; urgency=low + + * Initial Release. (Closes: #472384) + + -- Dominic Hargreaves Mon, 24 Mar 2008 23:58:03 +0000