[med-svn] r16935 - trunk/packages/liboptimization-java/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Wed May 14 12:17:44 UTC 2014


Author: tille
Date: 2014-05-14 12:17:44 +0000 (Wed, 14 May 2014)
New Revision: 16935

Modified:
   trunk/packages/liboptimization-java/trunk/debian/control
   trunk/packages/liboptimization-java/trunk/debian/copyright
   trunk/packages/liboptimization-java/trunk/debian/rules
Log:
Adapted to Debian Med policy, add get-orig-source target


Modified: trunk/packages/liboptimization-java/trunk/debian/control
===================================================================
--- trunk/packages/liboptimization-java/trunk/debian/control	2014-05-13 16:24:54 UTC (rev 16934)
+++ trunk/packages/liboptimization-java/trunk/debian/control	2014-05-14 12:17:44 UTC (rev 16935)
@@ -1,14 +1,21 @@
 Source: liboptimization-java
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Tim Booth <tbooth at ceh.ac.uk>,
+           Andreas Tille <tille at debian.org>
 Section: java
-Priority: extra
-Maintainer: Tim Booth <tbooth at ceh.ac.uk>
-Build-Depends: debhelper (>= 9), quilt, default-jdk, javahelper
-Standards-Version: 3.9.4
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               default-jdk,
+               javahelper
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/liboptimization-java/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/liboptimization-java/trunk/
 Homepage: http://www1.fpl.fs.fed.us/optimization.html
 
 Package: liboptimization-java
 Architecture: all
-Depends: ${java:Depends}, ${misc:Depends}
+Depends: ${java:Depends},
+         ${misc:Depends}
 Description: Nonlinear Optimization Java Package
  Currently (as of 8/8/05) this package contains Java translations of the
  1-dimensional minimization routine, fmin, the multi-dimensional minimization

Modified: trunk/packages/liboptimization-java/trunk/debian/copyright
===================================================================
--- trunk/packages/liboptimization-java/trunk/debian/copyright	2014-05-13 16:24:54 UTC (rev 16934)
+++ trunk/packages/liboptimization-java/trunk/debian/copyright	2014-05-14 12:17:44 UTC (rev 16935)
@@ -1,31 +1,35 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: FPL Nonlinear Optimization Java Package
+Upstream-Contact: Steve Verrill <steve at swst.org>
 Source: http://www1.fpl.fs.fed.us/optimization.src.tar.html
+Files-Excluded: Console.java
+                *Test*.java
+                *.class
 
 Files: *
 Copyright: Public Domain
-License: Public Domain
-Package optimization copyright claim:
- 
+License: PublicDomain
+ Package optimization copyright claim:
+ .
  These classes were either developed by a US Government employee
  on official time, or they were translated from public domain
  sources by a US Government employee on official time.  Thus
  they are in the public domain.
- 
+ .
  These programs are distributed in the hope that they will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- 
+ .
  The author/translator's mail address is
- 
+ .
  Steve Verrill 
  USDA Forest Products Laboratory
  1 Gifford Pinchot Drive
  Madison, Wisconsin
  53705
- 
+ .
  The author/translator's e-mail address is
- 
+ .
  steve at ws10.fpl.fs.fed.us
 
 Files: debian/*

Modified: trunk/packages/liboptimization-java/trunk/debian/rules
===================================================================
--- trunk/packages/liboptimization-java/trunk/debian/rules	2014-05-13 16:24:54 UTC (rev 16934)
+++ trunk/packages/liboptimization-java/trunk/debian/rules	2014-05-14 12:17:44 UTC (rev 16935)
@@ -7,8 +7,6 @@
 	dh $@ --with javahelper
 
 override_dh_auto_clean:
-	#Remove non-free stuff
-	rm -f Console.java *Test*.java
 	rm -f *.class *.jar
 	rm -rf optimization
 
@@ -17,3 +15,10 @@
 	cp *.java optimization/
 	jh_build optimization.jar optimization
 	rm optimization/*.java
+
+get-orig-source:
+	wget --output-document=../src.tar.Z ftp://www1.fpl.fs.fed.us/pub/optim/src.tar.Z
+	# Hint: dealing with .Z compression needs a patch for devscripts
+	# If you want to recreate the source you probably need to manually deal with this
+	# Additional note: The ftpdownload seems to be broken most of the time
+	mk-origtargz --repack --compress xz ../src.tar.Z




More information about the debian-med-commit mailing list