[med-svn] r6895 - in trunk/packages/smile/trunk/debian: . patches

Thorsten Alteholz alteholz-guest at alioth.debian.org
Mon May 30 18:05:15 UTC 2011


Author: alteholz-guest
Date: 2011-05-30 18:05:14 +0000 (Mon, 30 May 2011)
New Revision: 6895

Modified:
   trunk/packages/smile/trunk/debian/README.Debian
   trunk/packages/smile/trunk/debian/changelog
   trunk/packages/smile/trunk/debian/control
   trunk/packages/smile/trunk/debian/dirs
   trunk/packages/smile/trunk/debian/manpages
   trunk/packages/smile/trunk/debian/patches/Makefile.patch
   trunk/packages/smile/trunk/debian/patches/although.patch
   trunk/packages/smile/trunk/debian/patches/misc.patch
   trunk/packages/smile/trunk/debian/rules
Log:
as suggested by Steffen, package renamed to mlv-smile, DEP-3 header added to patches, debian/rules simplified

Modified: trunk/packages/smile/trunk/debian/README.Debian
===================================================================
--- trunk/packages/smile/trunk/debian/README.Debian	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/README.Debian	2011-05-30 18:05:14 UTC (rev 6895)
@@ -2,7 +2,7 @@
 ----------------
 
   As there is a multimedia package with the same name, I renamed this package
-  to biosmile.
+  to mlv-smile.
 
  -- Thorsten Alteholz <debian at alteholz.de>, Wed, 18 May 2011 18:20:05 +0200
 

Modified: trunk/packages/smile/trunk/debian/changelog
===================================================================
--- trunk/packages/smile/trunk/debian/changelog	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/changelog	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1,16 +1,24 @@
-biosmile (1.47-2) unstable; urgency=low
+mlv-smile (1.47-2) unstable; urgency=low
 
-  * renamed package to biosmile 
+  * renamed package to mlv-smile 
   * Lintian clean
   * already prepared patches from Steffen Moeller applied
   * debian/source/format added
   * debian/compat changed to 8
   * debian/copyright: new address of FSF, added version to licenses
   * debian/rules: errors in manpage corrected
+  * debian/rules: simplified
+  * added DEP-3 header to patches
+  * initial Release (Closes: #221492).
 
+  [Charles Plessy]
+  * debian/control: Added Vcs fields
+  * debian/control: Removed the [Biology] tag in the package short description
+  * debian/copyright: Converted the copyright file to DEP-5 format
+
  -- Thorsten Alteholz <debian at alteholz.de>  Tue, 18 May 2011 18:17:00 +0200
 
-biosmile (1.47-1) unstable; urgency=low
+mlv-smile (1.47-1) unstable; urgency=low
 
   * New upstream release.
   * GPL license stated in upstream release.
@@ -18,9 +26,8 @@
 
  -- Steffen Moeller <moeller at pzr.uni-rostock.de>  Tue, 05 Apr 2004 13:17:00 +0200
 
-biosmile (1.46-1) unstable; urgency=low
+mlv-smile (1.46-1) unstable; urgency=low
 
-  * Initial Release (Closes: #221492).
   * Upstream author contributed man page.
 
  -- Steffen Moeller <moeller at pzr.uni-rostock.de>  Tue, 18 Nov 2003 16:20:05 +0100

Modified: trunk/packages/smile/trunk/debian/control
===================================================================
--- trunk/packages/smile/trunk/debian/control	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/control	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1,4 +1,4 @@
-Source: biosmile
+Source: mlv-smile
 Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
@@ -11,7 +11,7 @@
 Standards-Version: 3.9.2
 Homepage: http://www-igm.univ-mlv.fr/~marsan/smile_english.html
 
-Package: biosmile
+Package: mlv-smile
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, perl
 Description: Find statistically significant patterns in sequences

Modified: trunk/packages/smile/trunk/debian/dirs
===================================================================
--- trunk/packages/smile/trunk/debian/dirs	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/dirs	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1,4 +1,4 @@
 usr/bin
 usr/lib
-usr/lib/biosmile
-usr/lib/biosmile/bin
+usr/lib/mlv-smile
+usr/lib/mlv-smile/bin

Modified: trunk/packages/smile/trunk/debian/manpages
===================================================================
--- trunk/packages/smile/trunk/debian/manpages	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/manpages	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1 +1 @@
-biosmile.1
+mlv-smile.1

Modified: trunk/packages/smile/trunk/debian/patches/Makefile.patch
===================================================================
--- trunk/packages/smile/trunk/debian/patches/Makefile.patch	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/patches/Makefile.patch	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1,4 +1,6 @@
-Add install target to Makefiles
+Desription: Add install target to Makefiles
+Author: Steffen Moeller <moeller at pzr.uni-rostock.de>
+Last-Update: 2011-05-20
 --- smile-1.47.orig/P_BLOCS/Makefile
 +++ smile-1.47/P_BLOCS/Makefile
 @@ -124,4 +124,12 @@
@@ -6,7 +8,7 @@
  	makedepend -o.o $(SPELL_INCL_DIR)*.h $(INCL_DIR)*.h $(SPELL_SRC_DIR)*.c $(SRC_DIR)*.c -I$(INCL_DIR) -I$(SPELL_INCL_DIR)
  
 +DESTDIR=""
-+DESTLIBDIR=$(DESTDIR)/usr/lib/biosmile/
++DESTLIBDIR=$(DESTDIR)/usr/lib/mlv-smile/
 +
 +install:	all
 +	-mkdir -p $(DESTLIBDIR)/bin
@@ -48,7 +50,7 @@
 +	$(MAKE) -C $(P_DIR) install
 +	$(MAKE) -C $(PD_DIR) install
 +	$(MAKE) -C $(S_DIR) install
-+	cp Lanceur/smile $(DESTDIR)/usr/bin/biosmile
++	cp Lanceur/smile $(DESTDIR)/usr/bin/mlv-smile
 --- smile-1.47.orig/P_BLOCS+DELTA/Makefile
 +++ smile-1.47/P_BLOCS+DELTA/Makefile
 @@ -124,4 +124,12 @@
@@ -56,7 +58,7 @@
  	makedepend -o.o $(SPELL_INCL_DIR)*.h $(INCL_DIR)*.h $(SPELL_SRC_DIR)*.c $(SRC_DIR)*.c -I$(INCL_DIR) -I$(SPELL_INCL_DIR)
  
 +DESTDIR=""
-+DESTLIBDIR=$(DESTDIR)/usr/lib/biosmile/
++DESTLIBDIR=$(DESTDIR)/usr/lib/mlv-smile/
 +
 +install:        all
 +	-mkdir -p $(DESTLIBDIR)/bin
@@ -89,7 +91,7 @@
  	tar -zcvf $(ARCHIVE_NAME) ./*
  
 +DESTDIR=""
-+DESTLIBDIR=$(DESTDIR)/usr/lib/biosmile/
++DESTLIBDIR=$(DESTDIR)/usr/lib/mlv-smile/
 +
 +install:	all
 +	-mkdir -p $(DESTLIBDIR)/bin
@@ -112,7 +114,7 @@
  	makedepend -o.o $(SPELL_INCL_DIR)*.h $(INCL_DIR)*.h $(SPELL_SRC_DIR)*.c $(SRC_DIR)*.c -I$(INCL_DIR) -I$(SPELL_INCL_DIR)
 +
 +DESTDIR=""
-+DESTLIBDIR=$(DESTDIR)/usr/lib/biosmile/
++DESTLIBDIR=$(DESTDIR)/usr/lib/mlv-smile/
 +
 +install:	obj
 +	#-mkdir -p $(DESTLIBDIR)/bin

Modified: trunk/packages/smile/trunk/debian/patches/although.patch
===================================================================
--- trunk/packages/smile/trunk/debian/patches/although.patch	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/patches/although.patch	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1,4 +1,6 @@
-Spelling error altough -> although
+Desription: Spelling error altough -> although
+Author: Thorsten Alteholz <debian at alteholz.de>
+Last-Update: 2011-05-20
 --- smile-1.47.orig/SigStat/src/io.c	2011-05-16 18:18:45.000000000 +0200
 +++ smile-1.47/SigStat/src/io.c	2011-05-16 18:20:30.000000000 +0200
 @@ -132,7 +132,7 @@

Modified: trunk/packages/smile/trunk/debian/patches/misc.patch
===================================================================
--- trunk/packages/smile/trunk/debian/patches/misc.patch	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/patches/misc.patch	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1,4 +1,6 @@
-Different patches for Debian.
+Desription: Different patches for Debian.
+Author: Steffen Moeller <moeller at pzr.uni-rostock.de>
+Last-Update: 2011-05-20
 --- smile-1.47.orig/P_BLOCS/src/allocateurs.c
 +++ smile-1.47/P_BLOCS/src/allocateurs.c
 @@ -17,6 +17,7 @@
@@ -21,8 +23,8 @@
 -$progfaux = "../SigStat/bin/e-smile_against";
 +
 +my $prefix="..";
-+if ( -x "/usr/lib/biosmile/bin")   {
-+	$prefix="/usr/lib/biosmile/bin";
++if ( -x "/usr/lib/mlv-smile/bin")   {
++	$prefix="/usr/lib/mlv-smile/bin";
 +	$prog1 = "$prefix/x-smile";
 +	$prog2 = "$prefix/x-smile_delta";
 +	$progstat = "$prefix/e-smile_shuffling";

Modified: trunk/packages/smile/trunk/debian/rules
===================================================================
--- trunk/packages/smile/trunk/debian/rules	2011-05-30 17:40:39 UTC (rev 6894)
+++ trunk/packages/smile/trunk/debian/rules	2011-05-30 18:05:14 UTC (rev 6895)
@@ -1,90 +1,18 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# debian/rules file for smile
+# Thorsten Alteholz <debian at alteholz.de>
+# GPL
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-	# some spellings in compressed man page corrected
+override_dh_auto_install:
 	zcat smile.1.gz |sed "s/\.\.\.which/which/g"|\
-		sed "s/allows to/allows one to/g"|\
-		sed "s/algorithmical/algorithmically/g"|\
-		sed "s/smile \-g/smile \\\-g/g"|\
-		sed "s/smile/biosmile/g"|\
-		sed "s/Smile/Biosmile/g" > biosmile.1
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	-rm -r $(CURDIR)/debian/biosmile
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) clean
-	dh_clean biosmile.1
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	# Add here commands to install the package into debian/biosmile.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/biosmile
-
-# 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
+                sed "s/allows to/allows one to/g"|\
+                sed "s/algorithmical/algorithmically/g"|\
+                sed "s/smile \-g/smile \\\-g/g"|\
+                sed "s/smile/mlv-smile/g"|\
+                sed "s/Smile/mlv-smile/g" > mlv-smile.1
 	dh_installchangelogs READ_ME
-	dh_installdocs
-	dh_installexamples
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_auto_install 
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure




More information about the debian-med-commit mailing list