--- libclass-dbi-loader-relationship-perl-1.2.orig/debian/watch +++ libclass-dbi-loader-relationship-perl-1.2/debian/watch @@ -0,0 +1,7 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://search.cpan.org/CPAN/authors/id/S/SI/SIMON/Class-DBI-Loader-Relationship-(\d+\.\d+)\.tar\.gz debian uupdate + --- libclass-dbi-loader-relationship-perl-1.2.orig/debian/changelog +++ libclass-dbi-loader-relationship-perl-1.2/debian/changelog @@ -0,0 +1,6 @@ +libclass-dbi-loader-relationship-perl (1.2-1) unstable; urgency=low + + * Initial Release, closes: #264644. + + -- Stephen Quinney Wed, 11 Aug 2004 20:41:36 +0100 + --- libclass-dbi-loader-relationship-perl-1.2.orig/debian/control +++ libclass-dbi-loader-relationship-perl-1.2/debian/control @@ -0,0 +1,26 @@ +Source: libclass-dbi-loader-relationship-perl +Section: perl +Priority: optional +Maintainer: Stephen Quinney +Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16), libclass-dbi-loader-perl, liblingua-en-inflect-number-perl (>= 1), libtest-simple-perl +Standards-Version: 3.6.1.1 + +Package: libclass-dbi-loader-relationship-perl +Architecture: all +Depends: ${perl:Depends}, libclass-dbi-loader-perl, liblingua-en-inflect-number-perl (>= 1) +Description: Easier relationship specification in Class::DBI::Loader + This module acts as a mix-in, adding the relationship() method to + Class::DBI::Loader. Since Class::DBI::Loader knows how to map between + table names and class names, there ought to be no need to replicate + the names. + . + In addition, it is common (but not universal) to want reverse + relationships defined for has-many relationships, and for has-a + relationships to be defined for the linkages surrounding a + many-to-many table. + . + The aim of this module is to simplify the declaration of common + database relationships by providing both of these features. + . + The relationship takes a string. It recognises table names (singular + or plural, for convenience) and extracts them from the "sentence". --- libclass-dbi-loader-relationship-perl-1.2.orig/debian/rules +++ libclass-dbi-loader-relationship-perl-1.2/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Define the perl interpreter + +PACKAGE = $(shell dh_listpackages) + +TMP =`pwd`/debian/$(PACKAGE) + +PERL = /usr/bin/perl + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + perl Makefile.PL verbose INSTALLDIRS=vendor + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + + $(MAKE) + $(MAKE) test + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -e Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install PREFIX=$(TMP)/usr + + # Remove any empty directories + + find $(TMP) -type d -empty -print0 | xargs --no-run-if-empty --null rmdir -p --ignore-fail-on-non-empty + +# Build architecture-independent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_perl + dh_installdocs README + dh_installman + dh_installchangelogs Changes + 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 configure --- libclass-dbi-loader-relationship-perl-1.2.orig/debian/copyright +++ libclass-dbi-loader-relationship-perl-1.2/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Stephen Quinney on +Fri, 28 May 2004 13:57:22 +0100 + +It was downloaded from http://search.cpan.org/CPAN/authors/id/S/SI/SIMON/ + +Upstream Author: Simon Cozens + +Copyright: + + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + + 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'. --- libclass-dbi-loader-relationship-perl-1.2.orig/debian/compat +++ libclass-dbi-loader-relationship-perl-1.2/debian/compat @@ -0,0 +1 @@ +4