[med-svn] r3998 - in trunk/packages: . pixelmed pixelmed/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Fri Sep 18 07:36:20 UTC 2009


Author: malat-guest
Date: 2009-09-18 07:36:19 +0000 (Fri, 18 Sep 2009)
New Revision: 3998

Added:
   trunk/packages/pixelmed/
   trunk/packages/pixelmed/debian/
   trunk/packages/pixelmed/debian/changelog
   trunk/packages/pixelmed/debian/compat
   trunk/packages/pixelmed/debian/control
   trunk/packages/pixelmed/debian/rules
   trunk/packages/pixelmed/debian/watch
Log:
Early packaging for pixelmed

Added: trunk/packages/pixelmed/debian/changelog
===================================================================
--- trunk/packages/pixelmed/debian/changelog	                        (rev 0)
+++ trunk/packages/pixelmed/debian/changelog	2009-09-18 07:36:19 UTC (rev 3998)
@@ -0,0 +1,5 @@
+pixelmed (20090816-1) unstable; urgency=low
+
+  * Initial release. (Closes: #547184)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 17 Sep 2009 16:41:35 +0200


Property changes on: trunk/packages/pixelmed/debian/changelog
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/pixelmed/debian/compat
===================================================================
--- trunk/packages/pixelmed/debian/compat	                        (rev 0)
+++ trunk/packages/pixelmed/debian/compat	2009-09-18 07:36:19 UTC (rev 3998)
@@ -0,0 +1 @@
+7


Property changes on: trunk/packages/pixelmed/debian/compat
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/pixelmed/debian/control
===================================================================
--- trunk/packages/pixelmed/debian/control	                        (rev 0)
+++ trunk/packages/pixelmed/debian/control	2009-09-18 07:36:19 UTC (rev 3998)
@@ -0,0 +1,17 @@
+Source: pixelmed
+Section: graphics
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+Build-Depends: debhelper (>= 7), libhsqldb-java, libvecmath1.2-java | libjava3d-java 
+Standards-Version: 3.8.3
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/pixelmed/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/pixelmed/trunk/
+Homepage: http://www.pixelmed.com
+
+Package: pixelmed-tools
+Architecture: all
+Depends: libhsqldb-java, libvecmath1.2-java | libjava3d-java , libcommons-codec-java
+Description: DICOM
+ This package contains programs for manipulating DICOM file


Property changes on: trunk/packages/pixelmed/debian/control
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/pixelmed/debian/rules
===================================================================
--- trunk/packages/pixelmed/debian/rules	                        (rev 0)
+++ trunk/packages/pixelmed/debian/rules	2009-09-18 07:36:19 UTC (rev 3998)
@@ -0,0 +1,111 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+include /usr/share/quilt/quilt.make
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+VER_MAJOR = 2009
+VER_MINOR = 08
+VER_PATCH = 16
+
+VER_FULL = $(VER_MAJOR)$(VER_MINOR)$(VER_PATCH)
+
+UPSTREAM_SRC = pixelmedjavadicom_sourcerelease.$(VER_FULL)
+DEBIAN_SRC_DIR = pixelmed-$(VER_FULL)
+DEBIAN_SRC_TAR = pixelmed_$(VER_FULL).orig.tar.gz
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+	# Add here commands to configure the package.
+	#[ -d debian/build ] || mkdir debian/build
+	#[ ! -e CMakeCache.txt ] || rm CMakeCache.txt
+	#cd debian/build; cmake ../..
+
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	#rm -rf debian/build
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install
+
+
+# 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
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_install --list-missing
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+$(UPSTREAM_SRC).tar.bz2:
+	wget -c http://www.dclunie.com/pixelmed/software/$(VER_FULL)_current/$@
+
+get-orig-source: $(UPSTREAM_SRC).tar.bz2
+	#uscan --verbose --force-download --repack
+	mkdir $(DEBIAN_SRC_DIR)
+	tar xjf $(UPSTREAM_SRC).tar.bz2 -C $(DEBIAN_SRC_DIR)
+	GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
+	rm -rf $(DEBIAN_SRC_DIR)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: trunk/packages/pixelmed/debian/rules
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/pixelmed/debian/watch
===================================================================
--- trunk/packages/pixelmed/debian/watch	                        (rev 0)
+++ trunk/packages/pixelmed/debian/watch	2009-09-18 07:36:19 UTC (rev 3998)
@@ -0,0 +1,2 @@
+version=3
+http://www.dclunie.com/pixelmed/software/([\d]+)_current/pixelmedjavadicom_sourcerelease.([\d]+).tar.bz2


Property changes on: trunk/packages/pixelmed/debian/watch
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native




More information about the debian-med-commit mailing list