--- r-cran-diagnosismed-0.2.3.orig/debian/copyright
+++ r-cran-diagnosismed-0.2.3/debian/copyright
@@ -0,0 +1,33 @@
+Format: Machine-readable license summary, see http://dep.debian.net/deps/dep5/
+
+Name: DiagnosisMed
+Contact: Pedro Brasil <pedro.brasil@ipec.fiocruz.br>
+Source: http://cran.r-project.org/web/packages/DiagnosisMed
+
+License: GPL-2+
+Copyright: 2009 Pedro Brasil <pedro.brasil@ipec.fiocruz.br>
+
+	This program 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 2 of the License, or
+	(at your option) any later version.
+	 
+	This program is distributed in the hope that it will be useful,
+	but WITHOUT ANY WARRANTY; without even the implied warranty of
+	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+	GNU General Public License for more details.
+	 
+	You should have received a copy of the GNU General Public License
+	along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Comment: On Debian systems, the complete text of the GNU Public
+ License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+
+Files: debian/*
+Copyright: 2008 Andreas Tille   <tille@debian.org>
+           2009 Charles Plessy <plessy@debian.org>
+License: Same as r-cran-diagnosismed itelf
+ (see above)
+Packaged-By: Andreas Tille <tille@debian.org>
+Packaged-Date: Thu, 19 Nov 2009 15:38:39 +0100
--- r-cran-diagnosismed-0.2.3.orig/debian/compat
+++ r-cran-diagnosismed-0.2.3/debian/compat
@@ -0,0 +1 @@
+7
--- r-cran-diagnosismed-0.2.3.orig/debian/control
+++ r-cran-diagnosismed-0.2.3/debian/control
@@ -0,0 +1,27 @@
+Source: r-cran-diagnosismed
+Section: gnu-r
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille@debian.org>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev
+Build-Depends-Indep: r-cran-epicalc, r-cran-epitools, r-cran-teachingdemos, r-cran-amore
+Standards-Version: 3.8.4
+Homepage: http://cran.r-project.org/web/packages/DiagnosisMed
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/R/r-cran-diagnosismed/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/R/r-cran-diagnosismed/trunk/
+
+Package: r-cran-diagnosismed
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${R:Depends}, r-cran-epicalc, r-cran-epitools,
+ r-cran-teachingdemos, r-cran-amore
+Suggests: r-cran-surveillance, r-cran-epi, r-cran-epibasix, r-cran-epir
+Description: GNU R Diagnostic test accuracy evaluation for medical professionals
+ DiagnosisMed is a package to analyze data from diagnostic test accuracy
+ evaluating health conditions. It is being built to be used by health
+ professionals. This package is able to estimate sensitivity and
+ specificity from categorical and continuous test results including some
+ evaluations of indeterminate results, or compare different categorical
+ tests, and estimate reasonble cut-offs of tests and display it in a way
+ commonly used by health professionals. No graphical interface is
+ avalible yet.
--- r-cran-diagnosismed-0.2.3.orig/debian/watch
+++ r-cran-diagnosismed-0.2.3/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://cran.r-project.org/src/contrib/DiagnosisMed_([-\d.]+)\.tar\.gz
--- r-cran-diagnosismed-0.2.3.orig/debian/changelog
+++ r-cran-diagnosismed-0.2.3/debian/changelog
@@ -0,0 +1,16 @@
+r-cran-diagnosismed (0.2.3-1) unstable; urgency=low
+
+  * New upstream version
+  * Incremented Standards-Version to reflect conformance with Policy 3.8.4
+    (debian/control, no changes needed).
+  * Depend on a version equal or superior than the R version used to build
+    the package, by adding a R:Depends substvar (debian/control, debian/rules).
+
+ -- Andreas Tille <tille@debian.org>  Tue, 16 Mar 2010 10:18:44 +0100
+
+r-cran-diagnosismed (0.2.2.2-1) unstable; urgency=low
+
+  * Initial release (closes: #557202).
+
+ -- Andreas Tille <tille@debian.org>  Thu, 19 Nov 2009 15:38:39 +0100
+
--- r-cran-diagnosismed-0.2.3.orig/debian/rules
+++ r-cran-diagnosismed-0.2.3/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# 							-*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-diagnosismed package
+# Copyright 2008 by Andreas Tille <tille@debian.org>
+
+include /usr/share/R/debian/r-cran.mk
+
+# Require a number equal or superior than the R version the package was built with.
+install/r-$(debRreposname)-$(cranName)::
+	echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl -ne 'print / +([0-9]\.[0-9]+\.[0-9])/'))" >> debian/r-$(debRreposname)-$(cranName).substvars
+
