[med-svn] r9703 - in trunk/packages/mipe/trunk/debian: . source

Andreas Tille tille at alioth.debian.org
Sat Feb 18 15:12:43 UTC 2012


Author: tille
Date: 2012-02-18 15:12:43 +0000 (Sat, 18 Feb 2012)
New Revision: 9703

Added:
   trunk/packages/mipe/trunk/debian/source/
   trunk/packages/mipe/trunk/debian/source/format
Removed:
   trunk/packages/mipe/trunk/debian/manpages
Modified:
   trunk/packages/mipe/trunk/debian/changelog
   trunk/packages/mipe/trunk/debian/compat
   trunk/packages/mipe/trunk/debian/control
   trunk/packages/mipe/trunk/debian/dirs
   trunk/packages/mipe/trunk/debian/rules
   trunk/packages/mipe/trunk/debian/upstream
Log:
(Heavily) updated packaging


Modified: trunk/packages/mipe/trunk/debian/changelog
===================================================================
--- trunk/packages/mipe/trunk/debian/changelog	2012-02-18 01:23:39 UTC (rev 9702)
+++ trunk/packages/mipe/trunk/debian/changelog	2012-02-18 15:12:43 UTC (rev 9703)
@@ -2,15 +2,23 @@
 
   [ Andreas Tille ]
   * debian/control:
-    - Fixed Vcs-Svn (missing svn/)
-    - Updated Standards-Version to 3.8.1 (no changes needed)
+    - Fixed Vcs-Fields
+    - Updated Standards-Version to 3.9.2 (no changes needed)
+    - Depends: ${misc:Depends}, ${perl:Depends}
+  * debian/upstream: Added URL
+  * debian/source/format: 3.0 (quilt)
+  * debhelper 8 (control+compat)
+  * debian/rules: rewritten using short dh
+  * debian/install: install *.dtd and *.xsd
+  * debian/manpages: removed because unneeded
 
   [ Charles Plessy ]
-  * Documented informations in ‘debian/upstream-metadata.yaml’.
+  * Documented information in ‘debian/upstream-metadata.yaml’.
   * Removed mention of the bibliographic reference in ‘debian/control’.
 
- -- Andreas Tille <tille at debian.org>  Thu, 04 Jun 2009 09:43:47 +0200
 
+ -- Andreas Tille <tille at debian.org>  Sat, 18 Feb 2012 15:39:00 +0100
+
 mipe (1.1-3) unstable; urgency=low
 
   * debian/control:

Modified: trunk/packages/mipe/trunk/debian/compat
===================================================================
--- trunk/packages/mipe/trunk/debian/compat	2012-02-18 01:23:39 UTC (rev 9702)
+++ trunk/packages/mipe/trunk/debian/compat	2012-02-18 15:12:43 UTC (rev 9703)
@@ -1 +1 @@
-5
+8

Modified: trunk/packages/mipe/trunk/debian/control
===================================================================
--- trunk/packages/mipe/trunk/debian/control	2012-02-18 01:23:39 UTC (rev 9702)
+++ trunk/packages/mipe/trunk/debian/control	2012-02-18 15:12:43 UTC (rev 9703)
@@ -7,15 +7,15 @@
  Andreas Tille <tille at debian.org>,
  Charles Plessy <plessy at debian.org>
 Build-Depends-Indep: perl
-Build-Depends: debhelper (>= 5.0), quilt
-Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 8), quilt
+Standards-Version: 3.9.2
 Homepage: http://mipe.sourceforge.net
-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mipe/trunk/?rev=0&sc=0
-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mipe/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mipe/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/mipe/trunk/
 
 Package: mipe
 Architecture: all
-Depends: libxml-twig-perl, libxml-perl
+Depends: libxml-twig-perl, libxml-perl, ${misc:Depends}, ${perl:Depends}
 Description: Tools to store PCR-derived data
  MIPE provides a standard format to exchange and/or storage of all
  information associated with PCR experiments using a flat text file. This will:

Modified: trunk/packages/mipe/trunk/debian/dirs
===================================================================
--- trunk/packages/mipe/trunk/debian/dirs	2012-02-18 01:23:39 UTC (rev 9702)
+++ trunk/packages/mipe/trunk/debian/dirs	2012-02-18 15:12:43 UTC (rev 9703)
@@ -1,2 +1,2 @@
 usr/bin
-usr/share/mipe
+usr/share/man/man1

Deleted: trunk/packages/mipe/trunk/debian/manpages
===================================================================
--- trunk/packages/mipe/trunk/debian/manpages	2012-02-18 01:23:39 UTC (rev 9702)
+++ trunk/packages/mipe/trunk/debian/manpages	2012-02-18 15:12:43 UTC (rev 9703)
@@ -1,22 +0,0 @@
-csv2mipe.1
-genotype2mipe.1
-mipe06to07.1
-mipe08to09.1
-mipe0_9to1_0.1
-mipe2dbSTS.1
-mipe2fas.1
-mipe2genotypes.1
-mipe2html.1
-mipe2pcroverview.1
-mipe2pcrprimers.1
-mipe2putativesbeprimers.1
-mipe2sbeprimers.1
-mipe2snps.1
-mipeCheckSanity.1
-removePcrFromMipe.1
-removeSbeFromMipe.1
-removeSnpFromMipe.1
-sbe2mipe.1
-snp2mipe.1
-snpPosOnDesign.1
-snpPosOnSource.1

Modified: trunk/packages/mipe/trunk/debian/rules
===================================================================
--- trunk/packages/mipe/trunk/debian/rules	2012-02-18 01:23:39 UTC (rev 9702)
+++ trunk/packages/mipe/trunk/debian/rules	2012-02-18 15:12:43 UTC (rev 9703)
@@ -1,81 +1,21 @@
 #!/usr/bin/make -f
-# debian/rules for clustalw-mpi
-# Copyright 2004-2008 Steffen Moeller, Andreas Tille
+# debian/rules for mipe
+# Copyright 2012 Andreas Tille <tille at debian.org>
 # see debian/copyright
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/quilt/quilt.make
+PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 
-.SUFFIXES: .pl .1
+%:
+	dh $@
 
-%.1:	%.pl
-	pod2man $< > $@
-
-SOURCES=csv2mipe.pl genotype2mipe.pl mipe06to07.pl mipe08to09.pl \
-	mipe0_9to1_0.pl mipe2dbSTS.pl mipe2fas.pl mipe2genotypes.pl mipe2html.pl \
-	mipe2pcroverview.pl mipe2pcrprimers.pl mipe2putativesbeprimers.pl mipe2sbeprimers.pl \
-	mipe2snps.pl mipeCheckSanity.pl removePcrFromMipe.pl removeSbeFromMipe.pl \
-	removeSnpFromMipe.pl sbe2mipe.pl snp2mipe.pl snpPosOnDesign.pl snpPosOnSource.pl
-
-MANPAGES=csv2mipe.1 genotype2mipe.1 mipe06to07.1 mipe08to09.1 \
-	mipe0_9to1_0.1 mipe2dbSTS.1 mipe2fas.1 mipe2genotypes.1 mipe2html.1 \
-	mipe2pcroverview.1 mipe2pcrprimers.1 mipe2putativesbeprimers.1 mipe2sbeprimers.1 \
-	mipe2snps.1 mipeCheckSanity.1 removePcrFromMipe.1 removeSbeFromMipe.1 \
-	removeSnpFromMipe.1 sbe2mipe.1 snp2mipe.1 snpPosOnDesign.1 snpPosOnSource.1
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-configure: 
-
-build: patch $(MANPAGES)
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	dh_clean *.1
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/mipe.
-	cp *.dtd *.xsd $(CURDIR)/debian/mipe/usr/share/mipe/
+override_dh_install:
+	dh_install
+	# remove *.pl extension and create manpages using pod2man
 	for i in *.pl; do \
 		bname=`echo $$i | sed -e 's/.pl$$//'`; \
-		cp $$i $(CURDIR)/debian/mipe/usr/bin/$$bname ; \
+		cp -a $$i $(CURDIR)/debian/$(PKG)/usr/bin/$$bname ; \
+		pod2man $$i > $(CURDIR)/debian/$(PKG)/usr/share/man/man1/$${bname}.1 ; \
 	done
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	dh_installman
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure

Added: trunk/packages/mipe/trunk/debian/source/format
===================================================================
--- trunk/packages/mipe/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/mipe/trunk/debian/source/format	2012-02-18 15:12:43 UTC (rev 9703)
@@ -0,0 +1 @@
+3.0 (quilt)

Modified: trunk/packages/mipe/trunk/debian/upstream
===================================================================
--- trunk/packages/mipe/trunk/debian/upstream	2012-02-18 01:23:39 UTC (rev 9702)
+++ trunk/packages/mipe/trunk/debian/upstream	2012-02-18 15:12:43 UTC (rev 9703)
@@ -9,4 +9,5 @@
  Volume: 6
  Pages: 114-120
  Year: 2005
+ URL: http://users.comcen.com.au/~journals/mipeabs2005.htm
 Watch: http://sf.net/mipe/ mipe-(.*)\.tar.gz




More information about the debian-med-commit mailing list