r20910 - in /trunk/libdbix-xml-rdb-perl: Makefile.PL XML_RDB.pm debian/changelog debian/control debian/libdbix-xml-rdb-perl.docs debian/libdbix-xml-rdb-perl.examples debian/libdbix-xml-rdb-perl.install debian/rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Jun 10 18:20:28 UTC 2008


Author: gregoa
Date: Tue Jun 10 18:20:28 2008
New Revision: 20910

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20910
Log:
* Revert changes to inline POD, not needed any more.
* Revert changes to upstream Makefile.PL: the module gets installed anyway,
  and we handle the scripts via debian/rules.
* Remove debian/libdbix-xml-rdb-perl.*, let debian/rules do the job.
* Refresh debian/rules, no functional changes, except: drop README.
* Set Standards-Version to 3.7.3 (no changes).

Removed:
    trunk/libdbix-xml-rdb-perl/debian/libdbix-xml-rdb-perl.docs
    trunk/libdbix-xml-rdb-perl/debian/libdbix-xml-rdb-perl.examples
    trunk/libdbix-xml-rdb-perl/debian/libdbix-xml-rdb-perl.install
Modified:
    trunk/libdbix-xml-rdb-perl/Makefile.PL
    trunk/libdbix-xml-rdb-perl/XML_RDB.pm
    trunk/libdbix-xml-rdb-perl/debian/changelog
    trunk/libdbix-xml-rdb-perl/debian/control
    trunk/libdbix-xml-rdb-perl/debian/rules

Modified: trunk/libdbix-xml-rdb-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-xml-rdb-perl/Makefile.PL?rev=20910&op=diff
==============================================================================
--- trunk/libdbix-xml-rdb-perl/Makefile.PL (original)
+++ trunk/libdbix-xml-rdb-perl/Makefile.PL Tue Jun 10 18:20:28 2008
@@ -6,8 +6,7 @@
 WriteMakefile(
     'NAME'	=> 'DBIx::XML_RDB',
     'VERSION_FROM' => 'XML_RDB.pm', # finds $VERSION
+	'EXE_FILES' => ['sql2xml.pl', 'xml2sql.pl'],
 	'PREREQ_PM' => { DBI => "1.00" },
 	'dist' => {'COMPRESS' => 'gzip', suffix => 'gz' },
-	      'PM' =>
-	      { 'XML_RDB.pm' => '$(INST_LIBDIR)/XML_RDB.pm' },
 );

Modified: trunk/libdbix-xml-rdb-perl/XML_RDB.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-xml-rdb-perl/XML_RDB.pm?rev=20910&op=diff
==============================================================================
--- trunk/libdbix-xml-rdb-perl/XML_RDB.pm (original)
+++ trunk/libdbix-xml-rdb-perl/XML_RDB.pm Tue Jun 10 18:20:28 2008
@@ -118,15 +118,15 @@
 
 =head1 NAME
 
-DBIx::XML_RDB /- Perl extension for creating XML from existing DBI datasources
+DBIx::XML_RDB - Perl extension for creating XML from existing DBI datasources
 
 =head1 SYNOPSIS
 
   use DBIx::XML_RDB;
-  my $xmlout = DBIx::XML_RDB/->new($datasource,
+  my $xmlout = DBIx::XML_RDB->new($datasource,
   		"ODBC", $userid, $password, $dbname) || die "Failed to make new xmlout";
-  $xmlout/->DoSql("select * from MyTable");
-  print $xmlout/->GetData;
+  $xmlout->DoSql("select * from MyTable");
+  print $xmlout->GetData;
 
 =head1 DESCRIPTION
 
@@ -147,7 +147,7 @@
 Binary data is encoded using UTF-8. This is automatically decoded when parsing
 with XML::Parser.
 
-Included with the distribution is a "Scriptlet" /- this is basically a Win32 OLE
+Included with the distribution is a "Scriptlet" - this is basically a Win32 OLE
 wrapper around this class, allowing you to call this module from any application
 that supports OLE. To install it, first install the scriptlets download from
 microsoft at http://msdn.microsoft.com/scripting. Then right-click on XMLDB.sct
@@ -168,7 +168,7 @@
 	DoSql ( $sql )
 
 Takes a simple Sql command string (either a select statement or on some DBMS's can be
-a stored procedure call that returns a result set /- Sybase and MSSql support this,
+a stored procedure call that returns a result set - Sybase and MSSql support this,
 I don't know about others).
 
 This doesn't do any checking if the sql is valid, if it fails, the procedure will "die",

Modified: trunk/libdbix-xml-rdb-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-xml-rdb-perl/debian/changelog?rev=20910&op=diff
==============================================================================
--- trunk/libdbix-xml-rdb-perl/debian/changelog (original)
+++ trunk/libdbix-xml-rdb-perl/debian/changelog Tue Jun 10 18:20:28 2008
@@ -3,6 +3,12 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * Revert changes to inline POD, not needed any more.
+  * Revert changes to upstream Makefile.PL: the module gets installed anyway,
+    and we handle the scripts via debian/rules.
+  * Remove debian/libdbix-xml-rdb-perl.*, let debian/rules do the job.
+  * Refresh debian/rules, no functional changes, except: drop README.
+  * Set Standards-Version to 3.7.3 (no changes).
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:55 +0200
 

Modified: trunk/libdbix-xml-rdb-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-xml-rdb-perl/debian/control?rev=20910&op=diff
==============================================================================
--- trunk/libdbix-xml-rdb-perl/debian/control (original)
+++ trunk/libdbix-xml-rdb-perl/debian/control Tue Jun 10 18:20:28 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/DBIx-XML_RDB/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdbix-xml-rdb-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-xml-rdb-perl/

Modified: trunk/libdbix-xml-rdb-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-xml-rdb-perl/debian/rules?rev=20910&op=diff
==============================================================================
--- trunk/libdbix-xml-rdb-perl/debian/rules (original)
+++ trunk/libdbix-xml-rdb-perl/debian/rules Tue Jun 10 18:20:28 2008
@@ -1,61 +1,62 @@
 #!/usr/bin/make -f
-## ----------------------------------------------------------------------
-## debian/rules : package script for libdbix-xml-rdb-perl
-## ----------------------------------------------------------------------
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> 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
+# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-## ----------------------------------------------------------------------
-TMP_DIR		= debian/tmp
+# 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
 
-## ----------------------------------------------------------------------
-## targets
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
 
 clean:
-		dh_testdir
-		dh_testroot
-		[ ! -f Makefile ] || $(MAKE) realclean
-		dh_clean
-		rm -f build-stamp install-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
 
-build:		build-stamp
-build-stamp:
-		dh_testdir
-		perl Makefile.PL INSTALLDIRS=vendor
-		$(MAKE) OPTIMIZE="-O2 -g -Wall"
-		$(MAKE) test
-		touch build-stamp
-
-install:	install-stamp
-install-stamp:	build
-		dh_testdir
-		dh_testroot
-		dh_clean -k
-		dh_installdirs
-		$(MAKE) install PREFIX=$(CURDIR)/$(TMP_DIR)/usr
-		touch install-stamp
-
-binary-indep:	build install
-		dh_testdir
-		dh_testroot
-		dh_install --sourcedir=$(TMP_DIR)
-		dh_installdocs
-		dh_installexamples
-		dh_installchangelogs Changes
-		dh_compress
-		dh_fixperms
-		dh_installdeb
-		dh_perl
-		dh_gencontrol
-		dh_md5sums
-		dh_builddeb
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/bin ] || $(RM) -rv $(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 here for an architecture-independent package
 
-binary:		binary-indep binary-arch
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples *2*.pl
+	dh_installdocs
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
 
-.PHONY:		clean build install binary-indep binary-arch binary
-
-## ----------------------------------------------------------------------
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Pkg-perl-cvs-commits mailing list