From 738538cb6cb11b2c399f68ffcc55b89b2501a38a Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 24 Oct 2004 07:01:38 +0000 Subject: [PATCH] * Fix debian/rules to call Make properly * Update debian/control - Proper Maintainer - Ditch useless ${misc:Depends} - Get rid of "generated by dh-make-perl" notice * Update debian/changelog for new update * Add CHANGES file * Update MANIFEST and META.yml git-svn-id: file:///srv/don_svn/class_modular/trunk@30 96c6a18b-02ce-0310-9fca-9eb62c757ba6 --- MANIFEST | 1 + META.yml | 4 ++-- debian/changelog | 6 ++++++ debian/control | 12 +++++------- debian/rules | 18 ++++++++---------- 5 files changed, 22 insertions(+), 19 deletions(-) diff --git a/MANIFEST b/MANIFEST index 45cb9e7..a683c62 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,3 +1,4 @@ +CHANGES COPYING debian/changelog debian/compat diff --git a/META.yml b/META.yml index d62cec2..94b219b 100644 --- a/META.yml +++ b/META.yml @@ -1,9 +1,9 @@ # http://module-build.sourceforge.net/META-spec.html #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# name: Class-Modular -version: 0.1 +version: 0.03SVN version_from: lib/Class/Modular.pm -installdirs: vendor +installdirs: site requires: distribution_type: module diff --git a/debian/changelog b/debian/changelog index 1f59081..83e2e02 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libclass-modular-perl (0.3-1) unstable; urgency=low + + * New upstream release + + -- Don Armstrong Tue, 19 Oct 2004 19:27:58 -0700 + libclass-modular-perl (0.1-1) unstable; urgency=low * Initial Release. diff --git a/debian/control b/debian/control index 11ebde3..2667511 100644 --- a/debian/control +++ b/debian/control @@ -1,14 +1,14 @@ Source: libclass-modular-perl Section: perl -Priority: optional -Build-Depends: debhelper (>= 4.0.2) -Build-Depends-Indep: perl (>= 5.8.0-7) -Maintainer: Don Armstrong +Priority: extra +Build-Depends: debhelper (>= 4) +Build-Depends-Indep: perl (>= 5.6.0-16) +Maintainer: Don Armstrong Standards-Version: 3.6.1 Package: libclass-modular-perl Architecture: all -Depends: ${perl:Depends}, ${misc:Depends}, +Depends: ${perl:Depends} Description: Class::Modular -- Modular class generation superclass Class::Modular is a superclass for generating modular classes, where methods can be added into the class from the perspective of the @@ -22,5 +22,3 @@ Description: Class::Modular -- Modular class generation superclass It fills the middle ground between traditional class based OOP and classless OOP. Class::Mutator and Sex are similar to Class::Modular but less manic. - . - This description was automagically extracted from the module by dh-make-perl. diff --git a/debian/rules b/debian/rules index 48a40e5..ad4b6a5 100755 --- a/debian/rules +++ b/debian/rules @@ -32,19 +32,18 @@ build: build-stamp build-stamp: dh_testdir - # Add commands to compile the package here $(PERL) Makefile.PL INSTALLDIRS=vendor - $(MAKE) OPTIMIZE="$(CFLAGS)" - + $(MAKE) + $(MAKE) test + touch build-stamp clean: dh_testdir dh_testroot - # Add commands to clean up after the build process here -$(MAKE) distclean - + dh_clean build-stamp install-stamp install: install-stamp @@ -53,9 +52,8 @@ install-stamp: build-stamp dh_testroot dh_clean -k - #$(MAKE) test - $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr - + $(MAKE) install PREFIX=$(TMP)/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 @@ -71,8 +69,8 @@ binary-indep: build install # dh_installcron # dh_installmenu # dh_installexamples - dh_installdocs .svn/README.txt lib/.svn/README.txt lib/Class/.svn/README.txt t/.svn/README.txt - dh_installchangelogs + dh_installdocs + dh_installchangelogs CHANGES dh_perl dh_link dh_strip -- 2.39.2