--- liblingua-en-namecase-perl-1.15.orig/debian/changelog +++ liblingua-en-namecase-perl-1.15/debian/changelog @@ -0,0 +1,14 @@ +liblingua-en-namecase-perl (1.15-1) unstable; urgency=low + + * New upstream version. (Closes: #465884) + * Rebuilt the package using the newest dh-make-perl. (Closes: #467882) + * Added a watch file for cpan. + + -- C. Chad Wallace Thu, 28 Feb 2008 18:20:07 -0800 + +liblingua-en-namecase-perl (1.13-1) unstable; urgency=low + + * Initial Release. + + -- C. Chad Wallace Fri, 21 Jan 2005 15:08:13 -0800 + --- liblingua-en-namecase-perl-1.15.orig/debian/compat +++ liblingua-en-namecase-perl-1.15/debian/compat @@ -0,0 +1 @@ +5 --- liblingua-en-namecase-perl-1.15.orig/debian/control +++ liblingua-en-namecase-perl-1.15/debian/control @@ -0,0 +1,27 @@ +Source: liblingua-en-namecase-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.8-12) +Maintainer: C. Chad Wallace +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Lingua-EN-NameCase/ + +Package: liblingua-en-namecase-perl +Architecture: all +Depends: ${perl:Depends} +Description: Perl module to fix the case of people's names + Forenames and surnames are often stored either wholly in UPPERCASE + or wholly in lowercase. This module allows you to convert names into + the correct case where possible. + . + Although forenames and surnames are normally stored separately, if they + do appear in a single string, whitespace separated, NameCase and nc deal + correctly with them. + . + NameCase currently correctly name cases names which include any of the + following: + Mc, Mac, al, el, ap, da, de, delle, della, di, du, del, der, + la, le, lo, van and von. + . + It correctly deals with names which contain apostrophies and hyphens too. --- liblingua-en-namecase-perl-1.15.orig/debian/copyright +++ liblingua-en-namecase-perl-1.15/debian/copyright @@ -0,0 +1,25 @@ +This is the debian package for the Lingua-EN-NameCase module. +It was created by C. Chad Wallace using +dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/Lingua-EN-NameCase/ + +Upstream author: Mark Summerfield + +Copyright (c) Mark Summerfield 1998-2007. All Rights Reserved. + +This module may be used/distributed/modified under the same terms as +Perl itself. + +On Debian GNU/Linux systems, Perl's licensing is described in this file: + /usr/share/doc/perl/copyright + +You can find the Artistic License and the GNU GPL Version 2 (the two +licenses that Perl and this package are distributed under) here: + /usr/share/common-licenses/Artistic + /usr/share/common-licenses/GPL-2 + + +The Debian packaging is (C) 2008, C. Chad Wallace and +is licensed under the same terms as the software itself (see above). + --- liblingua-en-namecase-perl-1.15.orig/debian/rules +++ liblingua-en-namecase-perl-1.15/debian/rules @@ -0,0 +1,76 @@ +#!/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 + +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) 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_installexamples + dh_installdocs README + dh_installchangelogs + 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 --- liblingua-en-namecase-perl-1.15.orig/debian/watch +++ liblingua-en-namecase-perl-1.15/debian/watch @@ -0,0 +1,9 @@ +# Watch file, which can be used by uscan and DEHS to check for newer upstream versions +version=3 + +# This is one format for an HTTP site, which is the same +# as the FTP format. uscan starts by downloading the homepage, +# obtained by removing the last component of the URL; in this case, +# http://www.cpan.org/modules/by-module/Lingua/ +http://www.cpan.org/modules/by-module/Lingua/Lingua-EN-NameCase-([\d\.]*)\.ta?r?\.?gz +