[med-svn] r8469 - trunk/packages/muscle/trunk/debian

Charles Plessy plessy at alioth.debian.org
Tue Nov 8 06:14:24 UTC 2011


Author: plessy
Date: 2011-11-08 06:14:24 +0000 (Tue, 08 Nov 2011)
New Revision: 8469

Added:
   trunk/packages/muscle/trunk/debian/README.source
Modified:
   trunk/packages/muscle/trunk/debian/changelog
   trunk/packages/muscle/trunk/debian/copyright
   trunk/packages/muscle/trunk/debian/rules
Log:
Repack usptream archive and implemented a get-orig-source target.


Added: trunk/packages/muscle/trunk/debian/README.source
===================================================================
--- trunk/packages/muscle/trunk/debian/README.source	                        (rev 0)
+++ trunk/packages/muscle/trunk/debian/README.source	2011-11-08 06:14:24 UTC (rev 8469)
@@ -0,0 +1,3 @@
+The original upstream archive have been repacked to remove the muscle21
+program, for which it was unsure if source was provided.  To simplify building,
+the contents of the src directory were moved to the root.

Modified: trunk/packages/muscle/trunk/debian/changelog
===================================================================
--- trunk/packages/muscle/trunk/debian/changelog	2011-11-07 21:24:58 UTC (rev 8468)
+++ trunk/packages/muscle/trunk/debian/changelog	2011-11-08 06:14:24 UTC (rev 8469)
@@ -6,6 +6,8 @@
   * Changed the doc-base section according to the new policy.
   * Updated my email address.
   * Updated debian/watch to new version scheme and download location.
+  * Repack usptream archive and implemented a get-orig-source target
+    (debian/rules, debian/README.source, debian/copyright).
 
   [ David Paleino ]
   * debian/control:

Modified: trunk/packages/muscle/trunk/debian/copyright
===================================================================
--- trunk/packages/muscle/trunk/debian/copyright	2011-11-07 21:24:58 UTC (rev 8468)
+++ trunk/packages/muscle/trunk/debian/copyright	2011-11-08 06:14:24 UTC (rev 8469)
@@ -1,32 +1,10 @@
-X-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
-X-Debianized-By: Steffen Moeller <steffen_moeller at gmx.de>
-X-Debianized-Date: Sun, 19 Sep 2004 00:51:19 +0200
+Format: http://dep.debian.net/deps/dep5/
 Source: http://www.drive5.com/muscle/downloads3.8.31/muscle3.8.31_src.tar.gz
-X-Upstream-Author: Robert C. Edgar "Bob" <muscle at drive5.com>
+Comment: This release contains a potentially sourceless binary file, muscle21, that was removed.
 
-This release contains a potentially sourceless binary file, muscle21.  It needs
-to be removed.  The command ‘grep Rel muscle21.vcproj  | cut -f2 -d'"' | xargs
-ls’ suggests that the file consts.h may be needed to build muscle21, but is
-missing.
-
-Files: debian/*
-
-Copyright: © 2004 Steffen Moeller <steffen_moeller at gmx.de>
-           © 2007 Nelson A. de Oliveira <naoliv at debian.org>
-	   © 2007 David Paleino <d.paleino at gmail.com>
-	   © 2006-2008 Charles Plessy <charles-debian-nospam at plessy.org>
-
-Licence: PD
- Please treat this work as if it were in public domain.
-
-
 Files: *
-
-Copyright: This work in not subjected to copyright.
-
-X-Comment: This is the work (2004-2007 )of Robert C. Edgar "Bob" <muscle at drive5.com>
-
-License: PD
+Copyright: © Robert C. Edgar "Bob" <muscle at drive5.com>
+License: PD-dedication
  MUSCLE is public domain software
  The MUSCLE software, including object and source code, is hereby donated
  to the public domain.
@@ -34,4 +12,13 @@
  Disclaimer of warranty
  THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
  EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+Files: debian/*
+Copyright: © 2004 Steffen Moeller <steffen_moeller at gmx.de>
+           © 2007 Nelson A. de Oliveira <naoliv at debian.org>
+           © 2007 David Paleino <d.paleino at gmail.com>
+           © 2006-2008 Charles Plessy <charles-debian-nospam at plessy.org>
+License: PD-dedication
+ Please treat this work as if it were in public domain.
+

Modified: trunk/packages/muscle/trunk/debian/rules
===================================================================
--- trunk/packages/muscle/trunk/debian/rules	2011-11-07 21:24:58 UTC (rev 8468)
+++ trunk/packages/muscle/trunk/debian/rules	2011-11-08 06:14:24 UTC (rev 8469)
@@ -16,3 +16,19 @@
 clean::
 	$(RM) *.o make.err make.out
 	$(RM) muscle
+
+SRC_TMP    := $(shell mktemp --tmpdir --directory muscle-build.XXXXXXXXXX)
+UP_TARBALL := $(SRC_TMP)/muscle$(DEB_UPSTREAM_VERSION)_src.tar.gz
+REPACKED   := muscle-$(DEB_UPSTREAM_VERSION).orig
+TARBALLS   := $(CURDIR)/../tarballs
+
+get-orig-source:
+	rm -rf $(SRC_TMP)/$(REPACKED)
+	[ -f $(UP_TARBALL) ] || wget -q -O $(UP_TARBALL) http://www.drive5.com/muscle/downloads3.8.31/muscle$(DEB_UPSTREAM_VERSION)_src.tar.gz
+	cd $(SRC_TMP) && \
+	  tar xvf $(UP_TARBALL) && \
+	  find . -name "muscle21" -delete && \
+	  mv $(SRC_TMP)/muscle$(DEB_UPSTREAM_VERSION)/src $(SRC_TMP)/$(REPACKED)
+	[ -d $(TARBALLS) ] || mkdir $(TARBALLS)
+	cd $(SRC_TMP) && tar -cjf $(TARBALLS)/muscle_$(DEB_UPSTREAM_VERSION).orig.tar.bz2 $(REPACKED)
+	rm -rf $(SRC_TMP)




More information about the debian-med-commit mailing list