--- r-cran-epitools-0.5-5.orig/debian/rules
+++ r-cran-epitools-0.5-5/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-epitools 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
--- r-cran-epitools-0.5-5.orig/debian/upstream-metadata.yaml
+++ r-cran-epitools-0.5-5/debian/upstream-metadata.yaml
@@ -0,0 +1,8 @@
+Archive: CRAN
+Contact: Tomas Aragon <aragon@berkeley.edu>
+CRAN: epitools
+Download: http://cran.r-project.org/src/contrib/
+Help: http://groups.yahoo.com/group/epitools/
+Homepage: http://sites.google.com/site/medepi/epitools
+Name: EpiTools
+Watch: http://cran.r-project.org/src/contrib/epitools_([-\d.]*)\.tar\.gz
--- r-cran-epitools-0.5-5.orig/debian/README.Debian
+++ r-cran-epitools-0.5-5/debian/README.Debian
@@ -0,0 +1,8 @@
+EpiTools CRAN package for Debian
+--------------------------------
+
+Notes on testing:
+
+Since this package does not have regression checks nor instructions for
+performing some manually, it was not thoroughly tested before its upload to the
+Debian archive.
--- r-cran-epitools-0.5-5.orig/debian/control
+++ r-cran-epitools-0.5-5/debian/control
@@ -0,0 +1,32 @@
+Source: r-cran-epitools
+Section: gnu-r
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille@debian.org>, Charles Plessy <plessy@debian.org>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev
+Standards-Version: 3.8.4
+Homepage: http://sites.google.com/site/medepi/epitools
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/R/r-cran-epitools/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/R/r-cran-epitools/trunk/
+
+Package: r-cran-epitools
+Architecture: all
+Depends: ${shlibs:Depends}, ${R:Depends}
+Suggests: r-cran-surveillance, r-cran-epi, r-cran-epibasix
+Description: GNU R Epidemiology Tools for Data and Graphics
+ GNU R Tools for public health epidemiologists and data analysts.
+ Epitools provides numerical tools and programming solutions that
+ have been used and tested in real-world epidemiologic applications.
+ .
+ Many practical problems in the analysis of public health data
+ require programming or special software, and investigators in
+ different locations may duplicate programming efforts. Often,
+ simple analyses, such as the construction of confidence intervals,
+ are not calculated and thereby complicate appropriate statistical
+ inferences for small geographic areas. There are many examples of
+ simple and useful numerical tools that would enhance the work of
+ epidemiologists at local health departments and yet are not readily
+ available for the problem in front of them. The availability of
+ these tools will encourage wider use of appropriate methods and
+ promote evidence-based public health practices.
--- r-cran-epitools-0.5-5.orig/debian/watch
+++ r-cran-epitools-0.5-5/debian/watch
@@ -0,0 +1,6 @@
+version=3
+# Stay with the original version numbering even if it contains a dash
+# as agreed with other maintainers of R packages and it should be mentioned
+# in a Debian R policy
+# opts="dversionmangle=s/([\d.]+)\.(\d)/$1-$2/" \
+http://cran.r-project.org/src/contrib/epitools_([-\d.]+)\.tar\.gz
--- r-cran-epitools-0.5-5.orig/debian/changelog
+++ r-cran-epitools-0.5-5/debian/changelog
@@ -0,0 +1,51 @@
+r-cran-epitools (1:0.5-5-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).
+ * Using Debhelper 7 (debian/compat).
+
+ -- Charles Plessy <plessy@debian.org> Mon, 08 Mar 2010 20:11:35 +0900
+
+r-cran-epitools (1:0.5-4-1) unstable; urgency=low
+
+ * New upstream version - switch to original version numbering
+ of upstream containing a dash ('-') as agreed with other
+ maintainers of R packages.
+
+ -- Andreas Tille <tille@debian.org> Thu, 19 Nov 2009 15:23:56 +0100
+
+r-cran-epitools (0.5.3-2) unstable; urgency=low
+
+ * Rebuilt against R 2.10.0 (new documentation system).
+ * debian/changelog:
+ - Added myself to the uploaders.
+ - Incremented Standards-Version to reflect conformance with Policy 3.8.3
+ (no changes needed).
+ - Changed homepage to ‘http://sites.google.com/site/medepi/epitools’.
+ * Cosmetic changes to the format of debian/copyright.
+ * Added debian/README.Debian to inform that this package is not thoroughly
+ tested.
+ * Added various informations about upstream in debian/upstream-metadata.yaml.
+
+ -- Charles Plessy <plessy@debian.org> Wed, 28 Oct 2009 09:08:19 +0900
+
+r-cran-epitools (0.5.3-1) unstable; urgency=low
+
+ [ Charles Plessy ]
+ * New upstream release.
+ * Updated debian/copyright to latest machine-readable format.
+
+ [ Andreas Tille ]
+ * Change section from science to gnu-r
+ * Standards-Version: 3.8.1 (no changes needed)
+
+ -- Andreas Tille <tille@debian.org> Sat, 02 May 2009 22:10:47 +0200
+
+r-cran-epitools (0.5.2-1) unstable; urgency=low
+
+ * Initial release (closes: #515644).
+
+ -- Andreas Tille <tille@debian.org> Tue, 17 Feb 2009 17:47:44 +0100
--- r-cran-epitools-0.5-5.orig/debian/compat
+++ r-cran-epitools-0.5-5/debian/compat
@@ -0,0 +1 @@
+7
--- r-cran-epitools-0.5-5.orig/debian/copyright
+++ r-cran-epitools-0.5-5/debian/copyright
@@ -0,0 +1,34 @@
+Format: Machine-readable license summary, see http://dep.debian.net/deps/dep5/
+
+Name: EpiTools
+Contact: Tomas Aragon <aragon at berkeley.edu>
+Source: http://cran.r-project.org/src/contrib/epitools_0.5-5.tar.gz
+
+
+License: GPL-2+
+Copyright: 2003-2009 Tomas Aragon
+
+ 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-epitools itelf
+ (see above)
+Packaged-By: Andreas Tille <tille@debian.org>
+Packaged-Date: Mon, 24 Nov 2008 13:12:38 +0100