--- libmarc-perl-1.07.orig/debian/rules +++ libmarc-perl-1.07/debian/rules @@ -0,0 +1,74 @@ +#!/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 + +include /usr/share/quilt/quilt.make + + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + [ ! -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 by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples eg/* + dh_installdocs README + dh_installchangelogs Changes + 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 --- libmarc-perl-1.07.orig/debian/patches/fix_pods.patch +++ libmarc-perl-1.07/debian/patches/fix_pods.patch @@ -0,0 +1,22 @@ +Index: libmarc-perl/MARC.pm +=================================================================== +--- libmarc-perl.orig/MARC.pm 2008-02-05 20:03:15.000000000 -0600 ++++ libmarc-perl/MARC.pm 2008-02-05 20:03:45.000000000 -0600 +@@ -3110,7 +3110,7 @@ + + If you do not get any response that means everything is OK! If you get an + error like I. +-then Perl is not able to find MARC.pm--double check that the file copied ++then Perl is not able to find MARC.pm - double check that the file copied + it into the right place during the install. + + =back +@@ -4022,7 +4022,7 @@ + + =head1 NOTES + +-Please let us know if you run into any difficulties using MARC.pm--we'd be ++Please let us know if you run into any difficulties using MARC.pm - we'd be + happy to try to help. Also, please contact us if you notice any bugs, or + if you would like to suggest an improvement/enhancement. Email addresses + are listed at the bottom of this page. --- libmarc-perl-1.07.orig/debian/patches/series +++ libmarc-perl-1.07/debian/patches/series @@ -0,0 +1 @@ +fix_pods.patch --- libmarc-perl-1.07.orig/debian/watch +++ libmarc-perl-1.07/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/MARC/ .*/MARC-([[:digit:]].*)\.tar\.gz --- libmarc-perl-1.07.orig/debian/compat +++ libmarc-perl-1.07/debian/compat @@ -0,0 +1 @@ +6 --- libmarc-perl-1.07.orig/debian/copyright +++ libmarc-perl-1.07/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by gregor herrmann on +Sun, 1 Jan 2006 14:48:42 +0100. + +It was downloaded from: http://search.cpan.org/dist/MARC/ + +Authors: +Chuck Bearden cbearden@rice.edu +Bill Birthisel wcbirthisel@alum.mit.edu +Derek Lane dereklane@pobox.com +Charles McFadden chuck@vims.edu +Ed Summers ed@cheetahmail.com + +Copyright: +Copyright (C) 1999,2000, Bearden, Birthisel, Lane, McFadden, and Summers. +All rights reserved. This module is free software; you can redistribute it +and/or modify it under the same terms as Perl itself. 23 April 2000. +Portions Copyright (C) 1999,2000, Duke University, Lane. + +License: +Perl is distributed under either the Artistic licence or the GPL. + +The full text of the GPL is available on Debian systems in +/usr/share/common-licenses/GPL + +The full text of the Artistic Licence is available on Debian systems in +/usr/share/common-licenses/Artistic. + --- libmarc-perl-1.07.orig/debian/changelog +++ libmarc-perl-1.07/debian/changelog @@ -0,0 +1,57 @@ +libmarc-perl (1.07-5) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: + Homepage pseudo-field (Description); XS-Vcs-Svn fields. + * debian/watch: use dist-based URL. + * debian/rules: delete /usr/lib/perl5 only if it exists. + + [ Rene Mayorga ] + * Make the package ready for Perl 5.10 update + * Move pod patch from .diff.gz to be managed with quilt + * debian/control + + Set standards-version to 3.7.3 + + Raise Debhelper to version 6 + + Add myself to Uploaders and wrap it + * debian/rules + + remove OPTIMIZE Var, we are not using it + + Move tests suite from install to build target + + use $@ for touch -stamp files + + Made install only depends on install-stamp and install-stamp depends + on build-stamp + + Install Examples from "eg" + + Remove un-ussed dh_ calls + * debian/copyright: use a dist-based URL + + -- Rene Mayorga Tue, 05 Feb 2008 19:47:40 -0600 + +libmarc-perl (1.07-4) unstable; urgency=low + + * Initial upload to the Debian archive. (Closes: #351471) + * Set debhelper compatibility level to 5. + * Changed watch file. + * Changed Maintainer to the Debian Perl Group before initial import to + the pkg-perl svn repository. + + -- gregor herrmann Sun, 5 Feb 2006 04:21:27 +0100 + +libmarc-perl (1.07-3) unstable; urgency=low + + * Added homepage to debian/control. + * Changed -- to - in pod section to circumvent pod2man error hat triggers lintian. + + -- gregor herrmann Tue, 10 Jan 2006 20:55:08 +0100 + +libmarc-perl (1.07-2) unstable; urgency=low + + * Changed debian/control and debian/rules with dh-make-perl. + + -- gregor herrmann Mon, 2 Jan 2006 01:32:10 +0100 + +libmarc-perl (1.07-1) unstable; urgency=low + + * Initial release. + + -- gregor herrmann Sun, 1 Jan 2006 14:48:42 +0100 + --- libmarc-perl-1.07.orig/debian/control +++ libmarc-perl-1.07/debian/control @@ -0,0 +1,26 @@ +Source: libmarc-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: gregor herrmann , + Rene Mayorga +Build-Depends: debhelper (>= 6), quilt +Build-Depends-Indep: perl (>= 5.8.0-7) +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/MARC/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmarc-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmarc-perl/ + +Package: libmarc-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends} +Description: Perl extension to manipulate MAchine Readable Cataloging records + MARC.pm is a Perl 5 module for reading in, manipulating, and outputting + bibliographic records in the USMARC format. + . + MARC.pm can handle both single and batches of MARC records. The limit on + the number of records in a batch is determined by the memory capacity of + the machine you are running. If memory is an issue for you MARC.pm will + allow you to read in records from a batch gradually. MARC.pm also includes + a variety of tools for searching, removing, and even creating records from + scratch.