--- libdata-dumpxml-perl-1.06.orig/debian/changelog +++ libdata-dumpxml-perl-1.06/debian/changelog @@ -0,0 +1,7 @@ +libdata-dumpxml-perl (1.06-1) unstable; urgency=low + + * Initial release. + - Closes: #361291 (ITP) + + -- Matthias Urlichs Tue, 29 Jun 2004 09:57:09 +0200 + --- libdata-dumpxml-perl-1.06.orig/debian/compat +++ libdata-dumpxml-perl-1.06/debian/compat @@ -0,0 +1 @@ +4 --- libdata-dumpxml-perl-1.06.orig/debian/control +++ libdata-dumpxml-perl-1.06/debian/control @@ -0,0 +1,17 @@ +Source: libdata-dumpxml-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7), libarray-refelem-perl, libxml-parser-perl +Maintainer: Matthias Urlichs +Standards-Version: 3.6.2 + +Package: libdata-dumpxml-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, libarray-refelem-perl, libxml-parser-perl +Description: Dump arbitrary perl data structures as XML and restore them + This module provides a single function called dump_xml() that takes a + list of Perl values as its argument and produces a string as its result. + . + The string returned is an XML document that represents any Perl data + structures passed to the function. Reference loops are handled + correctly. --- libdata-dumpxml-perl-1.06.orig/debian/copyright +++ libdata-dumpxml-perl-1.06/debian/copyright @@ -0,0 +1,16 @@ +This is the debian package for the Data::DumpXML module. +It was created by Matthias Urlichs . + +The upstream author is Gisle Aas . + +The README file states: + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + +As of this writing, Perl is available under either the Artistic or GPL +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 License in '/usr/share/common-licenses/Artistic'. + --- libdata-dumpxml-perl-1.06.orig/debian/rules +++ libdata-dumpxml-perl-1.06/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f + +# 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) + +# Allow disabling build optimation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + -$(MAKE) realclean + + dh_clean build-stamp install-stamp + +install: install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture dependent package, we are not supposed to install + # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from + # the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README + 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 + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary