[med-svn] r6711 - in trunk/packages/axparafit/trunk/debian: . source

Andreas Tille tille at alioth.debian.org
Fri Apr 29 07:43:33 UTC 2011


Author: tille
Date: 2011-04-29 07:43:26 +0000 (Fri, 29 Apr 2011)
New Revision: 6711

Added:
   trunk/packages/axparafit/trunk/debian/README.Debian
   trunk/packages/axparafit/trunk/debian/dirs
   trunk/packages/axparafit/trunk/debian/manpages
   trunk/packages/axparafit/trunk/debian/source/
   trunk/packages/axparafit/trunk/debian/source/format
Modified:
   trunk/packages/axparafit/trunk/debian/changelog
   trunk/packages/axparafit/trunk/debian/compat
   trunk/packages/axparafit/trunk/debian/control
   trunk/packages/axparafit/trunk/debian/copyright
   trunk/packages/axparafit/trunk/debian/install
   trunk/packages/axparafit/trunk/debian/links
   trunk/packages/axparafit/trunk/debian/rules
Log:
Fixed and updated packaging


Added: trunk/packages/axparafit/trunk/debian/README.Debian
===================================================================
--- trunk/packages/axparafit/trunk/debian/README.Debian	                        (rev 0)
+++ trunk/packages/axparafit/trunk/debian/README.Debian	2011-04-29 07:43:26 UTC (rev 6711)
@@ -0,0 +1,10 @@
+AxParafit for Debian
+--------------------
+
+The homepage
+
+    http://icwww.epfl.ch/~stamatak/AxParafit.html
+
+contains a manual as well as Testdata.
+
+ -- Andreas Tille <tille at debian.org>  Thu, 28 Apr 2011 14:29:21 +0200

Modified: trunk/packages/axparafit/trunk/debian/changelog
===================================================================
--- trunk/packages/axparafit/trunk/debian/changelog	2011-04-29 07:40:46 UTC (rev 6710)
+++ trunk/packages/axparafit/trunk/debian/changelog	2011-04-29 07:43:26 UTC (rev 6711)
@@ -2,4 +2,4 @@
 
   * Initial release (Closes: #463219)
 
- -- Charles Plessy <plessy at debian.org>  Thu, 31 Jul 2008 13:53:00 +0900
+ -- Andreas Tille <tille at debian.org>  Fri, 29 Apr 2011 09:13:49 +0200

Modified: trunk/packages/axparafit/trunk/debian/compat
===================================================================
--- trunk/packages/axparafit/trunk/debian/compat	2011-04-29 07:40:46 UTC (rev 6710)
+++ trunk/packages/axparafit/trunk/debian/compat	2011-04-29 07:43:26 UTC (rev 6711)
@@ -1 +1 @@
-7
+8

Modified: trunk/packages/axparafit/trunk/debian/control
===================================================================
--- trunk/packages/axparafit/trunk/debian/control	2011-04-29 07:40:46 UTC (rev 6710)
+++ trunk/packages/axparafit/trunk/debian/control	2011-04-29 07:43:26 UTC (rev 6711)
@@ -2,14 +2,13 @@
 Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: David Paleino <d.paleino at gmail.com>, Charles Plessy <plessy at debian.org>
-Build-Depends: debhelper (>= 7), quilt,
- libblas-dev, libmpich1.0-dev
-Standards-Version: 3.8.0
+DM-Upload-Allowed: yes
+Uploaders: Charles Plessy <plessy at debian.org>, Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 8), libatlas-base-dev, libmpich1.0-dev
+Standards-Version: 3.9.2
 Homepage: http://icwww.epfl.ch/~stamatak/AxParafit.html
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/axparafit/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/axparafit/trunk/?rev=0&sc=0
-DM-Upload-Allowed: yes
 
 Package: axparafit
 Architecture: any

Modified: trunk/packages/axparafit/trunk/debian/copyright
===================================================================
--- trunk/packages/axparafit/trunk/debian/copyright	2011-04-29 07:40:46 UTC (rev 6710)
+++ trunk/packages/axparafit/trunk/debian/copyright	2011-04-29 07:43:26 UTC (rev 6711)
@@ -1,4 +1,4 @@
-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=226
+Format: http://dep.debian.net/deps/dep5/
 Upstream-Name: AxParafit
 Upstream-Maintainer: Alexandros Stamatakis <Alexandros.Stamatakis at epfl.ch>
                      Alexander Auch
@@ -12,8 +12,6 @@
                    Jan Meier-Kolthoff
                    Markus Göker
 
-THE WEBSITE SAYS GPL BUT THE HEADERS SAY NON-COMMERCIAL. WE HAVE TO INVESTIGATE BEFORE UPLOADING.
-
 License: GPL-2+
  This package is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
@@ -25,9 +23,9 @@
 
 Files: debian/*
 Copyright: © 2008, David Paleino <d.paleino at gmail.com>
+           © 2011, Andreas Tille <tille at debian.org>
 License: GPL-2+
  This package is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.
-

Added: trunk/packages/axparafit/trunk/debian/dirs
===================================================================
--- trunk/packages/axparafit/trunk/debian/dirs	                        (rev 0)
+++ trunk/packages/axparafit/trunk/debian/dirs	2011-04-29 07:43:26 UTC (rev 6711)
@@ -0,0 +1 @@
+usr/bin

Modified: trunk/packages/axparafit/trunk/debian/install
===================================================================
--- trunk/packages/axparafit/trunk/debian/install	2011-04-29 07:40:46 UTC (rev 6710)
+++ trunk/packages/axparafit/trunk/debian/install	2011-04-29 07:43:26 UTC (rev 6711)
@@ -1,5 +1,5 @@
-AxParafit					usr/bin
-AxParafitBLAS				usr/bin
-AxParParafit				usr/bin
-AxParParafitBLAS			usr/bin
+AxParafit			usr/bin
+AxParafitBLAS			usr/bin
+AxParParafit			usr/bin
+AxParParafitBLAS		usr/bin
 AxParParafitBLAS_RANDOM		usr/bin

Modified: trunk/packages/axparafit/trunk/debian/links
===================================================================
--- trunk/packages/axparafit/trunk/debian/links	2011-04-29 07:40:46 UTC (rev 6710)
+++ trunk/packages/axparafit/trunk/debian/links	2011-04-29 07:43:26 UTC (rev 6711)
@@ -1,4 +1,4 @@
-axparafit.1		usr/share/man/man1/axparafitblas.1
-axparafit.1		usr/share/man/man1/axparparafit.1
-axparafit.1		usr/share/man/man1/axparparafitblas.1
-axparafit.1		usr/share/man/man1/axparparafitblas_random.1
+axparafit.1.gz	usr/share/man/man1/axparafitblas.1.gz
+axparafit.1.gz	usr/share/man/man1/axparparafit.1.gz
+axparafit.1.gz	usr/share/man/man1/axparparafitblas.1.gz
+axparafit.1.gz	usr/share/man/man1/axparparafitblas_random.1.gz

Added: trunk/packages/axparafit/trunk/debian/manpages
===================================================================
--- trunk/packages/axparafit/trunk/debian/manpages	                        (rev 0)
+++ trunk/packages/axparafit/trunk/debian/manpages	2011-04-29 07:43:26 UTC (rev 6711)
@@ -0,0 +1 @@
+debian/axparafit.1

Modified: trunk/packages/axparafit/trunk/debian/rules
===================================================================
--- trunk/packages/axparafit/trunk/debian/rules	2011-04-29 07:40:46 UTC (rev 6710)
+++ trunk/packages/axparafit/trunk/debian/rules	2011-04-29 07:43:26 UTC (rev 6711)
@@ -4,68 +4,27 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/quilt/quilt.make
-
 CFLAGS      = -Wall -g -fomit-frame-pointer -funroll-loops 
-LDFLAGS     =                      -Wl,-z,defs,--as-needed
-BLAS_CFLAGS =                       $(CFLAGS) -D_USE_ATLAS 
-BLAS        =                          -lm -lcblas -latlas
+LDFLAGS     = -Wl,-z,defs,--as-needed
+BLAS_CFLAGS = $(CFLAGS) -D_USE_ATLAS 
+BLAS        = -lcblas
+ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH_BITS)
 
+%:
+	dh $@
 
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS      += -O0
-	BLAS_CFLAGS += -O0
-else
-	CFLAGS      += -O2
-	BLAS_CFLAGS += -O2
-endif
-
-ifeq ($(DEB_BUILD_GNU_TYPE), x86-64-linux)
-	ARCH=64
-else
-	ARCH=32
-endif
-
-XP=xsltproc -o debian/ -nonet --param man.charmap.use.subset "0"
-manpages: axparafit.1
-axparafit.1: debian/axparafit.1.xml
-	$(XP) $<
-	mv debian/axparafit.1 debian/axparafit.1.bak
-	-rm -f debian/axpar*.1
-	mv debian/axparafit.1.bak debian/axparafit.1
-
-build: build-stamp
-build-stamp: patch
-	dh_testdir
+override_dh_auto_build:
 	$(MAKE)      CFLAGS="$(CFLAGS) -D_HAND_OPTIMIZED_MM" \
 		BLAS_CFLAGS="$(BLAS_CFLAGS)" \
 		       BLAS="$(BLAS)" \
 		LINKERFLAGS="$(LDFLAGS)" \
 		       ARCH="$(ARCH)"
-	touch $@
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) clean
-	dh_clean build-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs usr/bin
-	dh_install
-	
-binary-indep: build install
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-
 # this is here because it seems like in the install: target
 # the $(shell ...) command gets executed before dh_installdirs,
 # thus failing.
+override_dh_install:
+	dh_install
 	for i in $(shell ls $(CURDIR)/debian/axparafit/usr/bin); \
 	do \
 		#echo $$i; \
@@ -74,23 +33,7 @@
 		[ "$$lowercase" == "$$i" ] || mv $$dir/$$i $$dir/$$lowercase; \
 	done;
 	
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installman debian/axpar*.1
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
 get-orig-source:
 	[ -d ../tarballs ] || mkdir ../tarballs
 	wget "http://icwww.epfl.ch/%7Estamatak/index-Dateien/countSourceAx.php" \
 		-O ../tarballs/axparafit_1.0.orig.tar.gz
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install

Added: trunk/packages/axparafit/trunk/debian/source/format
===================================================================
--- trunk/packages/axparafit/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/axparafit/trunk/debian/source/format	2011-04-29 07:43:26 UTC (rev 6711)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the debian-med-commit mailing list