From 9c61a1792c60892c5c637a7e1954ee0c10848041 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 16 Feb 2006 14:20:25 +0000 Subject: [PATCH] adding debian/ files --- debian/changelog | 95 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 24 ++++++++++++ debian/copyright | 14 +++++++ debian/files | 1 + debian/rules | 87 ++++++++++++++++++++++++++++++++++++++++++++ debian/watch | 9 +++++ 7 files changed, 231 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/files create mode 100755 debian/rules create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d5d3929 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,95 @@ +libdbix-dbschema-perl (0.29-1) unstable; urgency=low + + * new upstream release + + -- Ivan Kohler Thu, 16 Feb 2006 06:19:29 -0800 + +libdbix-dbschema-perl (0.28-1) unstable; urgency=low + + * new upstream release + + -- Ivan Kohler Wed, 30 Nov 2005 09:56:34 -0800 + +libdbix-dbschema-perl (0.27-1) unstable; urgency=low + + * new upstream release + + -- Ivan Kohler Thu, 4 Aug 2005 13:51:04 -0700 + +libdbix-dbschema-perl (0.26-1) unstable; urgency=low + + * new upstream release + * add watch file for uscan + + -- Ivan Kohler Thu, 7 Apr 2005 01:12:29 -0700 + +libdbix-dbschema-perl (0.24-1) unstable; urgency=low + + * new upstream release + + -- Ivan Kohler Fri, 11 Mar 2005 00:25:36 -0800 + +libdbix-dbschema-perl (0.23-1) unstable; urgency=low + + * new upstream release + + -- Ivan Kohler Wed, 18 Feb 2004 13:33:35 -0800 + +libdbix-dbschema-perl (0.22-1) unstable; urgency=low + + * new upstream release + * debhelper compatibility level 4 + * change section from interpreters to perl + * update description to reflect changes in README wrt Sybase support + + -- Ivan Kohler Thu, 23 Oct 2003 15:24:21 -0700 + +libdbix-dbschema-perl (0.21-1) unstable; urgency=low + + * new upstream release + + -- Ivan Kohler Thu, 19 Sep 2002 05:14:19 -0700 + +libdbix-dbschema-perl (0.20-2) unstable; urgency=low + + * debian/copyright pedantry (closes: Bug#153330, Bug#153375) + * binary-arch vs. binary-indep (closes: Bug#153349) + + -- Ivan Kohler Sat, 7 Sep 2002 04:59:57 -0700 + +libdbix-dbschema-perl (0.20-1) unstable; urgency=low + + * new "upstream" release + + -- Ivan Kohler Mon, 4 Mar 2002 05:25:59 -0800 + +libdbix-dbschema-perl (0.19-1) unstable; urgency=low + + * new "upstream" release + + -- Ivan Kohler Thu, 1 Nov 2001 16:17:40 -0800 + +libdbix-dbschema-perl (0.18-1) unstable; urgency=low + + * new "upstream" release + + -- Ivan Kohler Fri, 10 Aug 2001 17:23:32 -0700 + +libdbix-dbschema-perl (0.17-1) unstable; urgency=low + + * new "upstream" release + + -- Ivan Kohler Sat, 7 Jul 2001 21:15:50 -0700 + +libdbix-dbschema-perl (0.16-2) unstable; urgency=low + + * fixed some nits in the description (closes: Bug#95412) + + -- Ivan Kohler Sat, 12 May 2001 17:22:53 -0700 + +libdbix-dbschema-perl (0.16-1) unstable; urgency=low + + * Initial Release. + + -- Ivan Kohler Mon, 7 May 2001 04:35:36 -0700 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e147d48 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: libdbix-dbschema-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 4), perl (>= 5.8) +Maintainer: Ivan Kohler +Standards-Version: 3.5.1 + +Package: libdbix-dbschema-perl +Architecture: all +Depends: ${perl:Depends}, libdbi-perl, libfreezethaw-perl +Description: Database-independent schema objects + DBIx::DBSchema objects are collections of DBIx::DBSchema::Table objects and + represent a database schema. + . + This module implements an OO-interface to database schemas. Using this + module, you can create a database schema with an OO Perl interface. You can + read the schema from an existing database. You can save the schema to disk + and restore it from a different process. Most importantly, DBIx::DBSchema + can write SQL CREATE statements for different databases from a single source. + . + Currently supported databases are MySQL, PostgreSQL, Oracle and Sybase. + DBIx::DBSchema will attempt to use generic SQL syntax for other databases. + Assistance adding support for other databases is welcomed. See the + DBIx::DBSchema::DBD manpage, "Driver Writer's Guide and Base Class". diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..27676cb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,14 @@ +This is the debian package for the DBIx::DBSchema module. +It was created by Ivan Kohler using dh-make-perl. + +Copyright (c) 2000,2001 Ivan Kohler +Copyright (c) 2000 Mail Abuse Prevention System LLC +All rights reserved. +This program is free software; you can redistribute it and/or modify it under +the same terms as Perl itself. + +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'. + diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..8dfe287 --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +libdbix-dbschema-perl_0.27-1_all.deb perl optional diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8df15d7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +#-*- makefile -*- +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Christoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +ifndef DESTDIR +DESTDIR=.. +endif +TMP =`pwd`/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + + # Add here commands to compile the package. + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-O2 -g -Wall" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) realclean + + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + #$(MAKE) install DESTDIR=`pwd`/debian/tmp + $(MAKE) install PREFIX=$(TMP)/usr + + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installdocs README TODO + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installinit + dh_installcron + dh_installmanpages +# dh_undocumented + dh_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb --destdir=$(DESTDIR) + +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 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..9eb52a2 --- /dev/null +++ b/debian/watch @@ -0,0 +1,9 @@ +# watch control file for uscan +# you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +ftp://ftp.cpan.org/pub/CPAN/modules/by-module/DBIx/DBIx-DBSchema--([\d\.]+)\. +tar\.gz \ + debian uupdate + -- 2.20.1