r124 - in packages/libparse-cpan-packages-perl/trunk: . debian

Allard Hoeve hoeve-guest@haydn.debian.org
Thu, 10 Jun 2004 08:12:09 -0600


Author: hoeve-guest
Date: 2004-06-10 08:12:01 -0600 (Thu, 10 Jun 2004)
New Revision: 124

Added:
   packages/libparse-cpan-packages-perl/trunk/debian/
   packages/libparse-cpan-packages-perl/trunk/debian/changelog
   packages/libparse-cpan-packages-perl/trunk/debian/compat
   packages/libparse-cpan-packages-perl/trunk/debian/control
   packages/libparse-cpan-packages-perl/trunk/debian/copyright
   packages/libparse-cpan-packages-perl/trunk/debian/rules
Log:
Load libparse-cpan-packages-perl-2.20 into
packages/libparse-cpan-packages-perl/trunk.


Added: packages/libparse-cpan-packages-perl/trunk/debian/changelog
===================================================================
--- packages/libparse-cpan-packages-perl/trunk/debian/changelog	2004-06-10 14:10:36 UTC (rev 123)
+++ packages/libparse-cpan-packages-perl/trunk/debian/changelog	2004-06-10 14:12:01 UTC (rev 124)
@@ -0,0 +1,6 @@
+libparse-cpan-packages-perl (2.20-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Florian Ragwitz <florian@mookooh.org>  Thu, 13 May 2004 22:15:08 +0200
+

Added: packages/libparse-cpan-packages-perl/trunk/debian/compat
===================================================================
--- packages/libparse-cpan-packages-perl/trunk/debian/compat	2004-06-10 14:10:36 UTC (rev 123)
+++ packages/libparse-cpan-packages-perl/trunk/debian/compat	2004-06-10 14:12:01 UTC (rev 124)
@@ -0,0 +1 @@
+4

Added: packages/libparse-cpan-packages-perl/trunk/debian/control
===================================================================
--- packages/libparse-cpan-packages-perl/trunk/debian/control	2004-06-10 14:10:36 UTC (rev 123)
+++ packages/libparse-cpan-packages-perl/trunk/debian/control	2004-06-10 14:12:01 UTC (rev 124)
@@ -0,0 +1,21 @@
+Source: libparse-cpan-packages-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Florian Ragwitz <florian@mookooh.org>, Joachim Breitner <nomeata@debian.org>
+Build-Depends: debhelper (>= 4.0.0)
+Build-Depends-Indep: perl (>= 5.6.0-16), libsort-versions-perl (>= 1.5), libcpan-distnameinfo-perl (>= 0.03), libclass-accessor-perl (>= 0.19)
+Standards-Version: 3.6.1
+
+Package: libparse-cpan-packages-perl
+Architecture: all
+Depends: ${perl:Depends}, libsort-versions-perl (>= 1.5), libcpan-distnameinfo-perl (>= 0.03), libclass-accessor-perl (>= 0.19)
+Description: Perl module to parse 02packages.details.txt.gz
+ The Comprehensive Perl Archive Network (CPAN) is a very useful
+ collection of Perl code. It has several indices of the files that it
+ hosts, including a file named "02packages.details.txt.gz" in the
+ "modules" directory. This file contains lots of useful information and
+ this module provides a simple interface to the data contained within.
+ .
+ Note that this module does not concern itself with downloading or
+ unpacking this file. You should do this yourself.

Added: packages/libparse-cpan-packages-perl/trunk/debian/copyright
===================================================================
--- packages/libparse-cpan-packages-perl/trunk/debian/copyright	2004-06-10 14:10:36 UTC (rev 123)
+++ packages/libparse-cpan-packages-perl/trunk/debian/copyright	2004-06-10 14:12:01 UTC (rev 124)
@@ -0,0 +1,17 @@
+This package was debianized by Florian Ragwitz <florian@mookooh.org> on
+Thu, 13 May 2004 22:15:08 +0200.
+
+It was downloaded from http://search.cpan.org/~lbrocard/Parse-CPAN-Packages/
+
+Upstream Author: Leon Brocard <acme@astray.com>
+
+Copyright:
+
+Copyright (C) 2004, Leon Brocard
+
+ This module is free software; you can redistribute it or modify it under
+ the same terms as Perl itself. (Artistic or GPL)
+
+ 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'.

Added: packages/libparse-cpan-packages-perl/trunk/debian/rules
===================================================================
--- packages/libparse-cpan-packages-perl/trunk/debian/rules	2004-06-10 14:10:36 UTC (rev 123)
+++ packages/libparse-cpan-packages-perl/trunk/debian/rules	2004-06-10 14:12:01 UTC (rev 124)
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+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)" 
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	-$(MAKE) distclean
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) test
+	$(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:
+	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+#	dh_installexamples
+	dh_perl
+	dh_installchangelogs CHANGES
+	dh_link
+	dh_strip
+	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


Property changes on: packages/libparse-cpan-packages-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *