[Pkg-octave-commit] rev 289 - tags/packages trunk/packages trunk/packages/sundials trunk/packages/sundials/debian

Rafael Laboissiere rafael at costa.debian.org
Tue Oct 25 08:25:24 UTC 2005


Author: rafael
Date: 2005-10-25 08:25:19 +0000 (Tue, 25 Oct 2005)
New Revision: 289

Added:
   tags/packages/sundials/
   trunk/packages/sundials/
   trunk/packages/sundials/debian/
   trunk/packages/sundials/debian/changelog
   trunk/packages/sundials/debian/compat
   trunk/packages/sundials/debian/conffiles.ex
   trunk/packages/sundials/debian/control
   trunk/packages/sundials/debian/copyright
   trunk/packages/sundials/debian/cron.d.ex
   trunk/packages/sundials/debian/dirs
   trunk/packages/sundials/debian/docs
   trunk/packages/sundials/debian/emacsen-install.ex
   trunk/packages/sundials/debian/emacsen-remove.ex
   trunk/packages/sundials/debian/emacsen-startup.ex
   trunk/packages/sundials/debian/init.d.ex
   trunk/packages/sundials/debian/libsundials-serial-default.ex
   trunk/packages/sundials/debian/libsundials-serial-dev.dirs
   trunk/packages/sundials/debian/libsundials-serial-dev.install
   trunk/packages/sundials/debian/libsundials-serial.doc-base.EX
   trunk/packages/sundials/debian/libsundials-serial1.dirs
   trunk/packages/sundials/debian/libsundials-serial1.install
   trunk/packages/sundials/debian/manpage.1.ex
   trunk/packages/sundials/debian/manpage.sgml.ex
   trunk/packages/sundials/debian/manpage.xml.ex
   trunk/packages/sundials/debian/menu.ex
   trunk/packages/sundials/debian/postinst.ex
   trunk/packages/sundials/debian/postrm.ex
   trunk/packages/sundials/debian/preinst.ex
   trunk/packages/sundials/debian/prerm.ex
   trunk/packages/sundials/debian/rules
   trunk/packages/sundials/debian/shlibs.local.ex
   trunk/packages/sundials/debian/watch.ex
Log:
Initial import of package sundials


Added: trunk/packages/sundials/debian/changelog
===================================================================
--- trunk/packages/sundials/debian/changelog	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/changelog	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,12 @@
+libsundials-serial (2.1.1-2) unstable; urgency=low
+
+  * Move header files into /usr/include/sundials
+
+ -- Andrey Romanenko <andrey at enginum.com>  Fri, 21 Oct 2005 17:20:49 +0100
+
+libsundials-serial (2.1.1-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Andrey Romanenko <andrey at enginum.com>  Fri, 21 Oct 2005 17:19:32 +0100
+

Added: trunk/packages/sundials/debian/compat
===================================================================
--- trunk/packages/sundials/debian/compat	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/compat	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1 @@
+4

Added: trunk/packages/sundials/debian/conffiles.ex
===================================================================
--- trunk/packages/sundials/debian/conffiles.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/conffiles.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,7 @@
+#
+# If you want to use this conffile, remove all comments and put files that
+# you want dpkg to process here using their absolute pathnames.
+# See the policy manual
+#
+# for example:
+# /etc/libsundials-serial/libsundials-serial.conf

Added: trunk/packages/sundials/debian/control
===================================================================
--- trunk/packages/sundials/debian/control	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/control	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,28 @@
+Source: libsundials-serial
+Priority: optional
+Maintainer: Andrey Romanenko <andrey at enginum.com>
+Build-Depends: debhelper (>= 4.0.0), autotools-dev
+Standards-Version: 3.6.2
+Section: libs
+
+Package: libsundials-serial-dev
+Section: libdevel
+Architecture: any
+Depends: libsundials-serial1 (= ${Source-Version})
+Description: The SUNDIALS suit 
+   SUNDIALS is a suit of Nonlinear and DIfferential/ALgebraic equation Solvers
+   by Peter Brown, Aaron Collier, Keith Grant, Alan Hindmarsh, Steve Lee, 
+   Radu Serban, Dan Shumaker, Carol Woodward from Center for Applied Scientific
+   Computing, LLNL
+   This package contains files necessary for development applications that need
+   CVODES
+
+Package: libsundials-serial1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: The SUNDIALS suit 
+   SUNDIALS is a suit of Nonlinear and DIfferential/ALgebraic equation Solvers
+   by Peter Brown, Aaron Collier, Keith Grant, Alan Hindmarsh, Steve Lee, 
+   Radu Serban, Dan Shumaker, Carol Woodward from Center for Applied Scientific
+   Computing, LLNL

Added: trunk/packages/sundials/debian/copyright
===================================================================
--- trunk/packages/sundials/debian/copyright	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/copyright	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,71 @@
+This package was debianized by Andrey Romanenko <andrey at enginum.com> on
+Wed, 20 Apr 2005 12:01:42 +0100.
+
+It was downloaded from http://www.llnl.gov/CASC/sundials/
+
+Authors: Peter Brown, Aaron Collier, Keith Grant, Alan Hindmarsh,
+      Steve Lee, Radu Serban, Dan Shumaker, Carol Woodward
+
+Copyright Holder: The Regents of the University of California.
+
+License:
+
+Copyright (c) 2002, The Regents of the University of California.
+Produced at the Lawrence Livermore National Laboratory
+Written by A.C. Hindmarsh and R. Serban.
+UCRL-CODE-155950
+All rights reserved.
+
+This file is part of CVODES v2.1.0.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the disclaimer below.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the disclaimer (as noted below)
+in the documentation and/or other materials provided with the
+distribution.
+
+3. Neither the name of the UC/LLNL nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+REGENTS OF THE UNIVERSITY OF CALIFORNIA, THE U.S. DEPARTMENT OF ENERGY
+OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Additional BSD Notice
+---------------------
+1. This notice is required to be provided under our contract with
+the U.S. Department of Energy (DOE). This work was produced at the
+University of California, Lawrence Livermore National Laboratory
+under Contract No. W-7405-ENG-48 with the DOE.
+
+2. Neither the United States Government nor the University of
+California nor any of their employees, makes any warranty, express
+or implied, or assumes any liability or responsibility for the
+accuracy, completeness, or usefulness of any information, apparatus,
+product, or process disclosed, or represents that its use would not
+infringe privately-owned rights.
+
+3. Also, reference herein to any specific commercial products,
+process, or services by trade name, trademark, manufacturer or
+otherwise does not necessarily constitute or imply its endorsement,
+recommendation, or favoring by the United States Government or the
+University of California. The views and opinions of authors expressed
+herein do not necessarily state or reflect those of the United States
+Government or the University of California, and shall not be used for
+advertising or product endorsement purposes.

Added: trunk/packages/sundials/debian/cron.d.ex
===================================================================
--- trunk/packages/sundials/debian/cron.d.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/cron.d.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the libsundials-serial package
+#
+0 4	* * *	root	libsundials-serial_maintenance

Added: trunk/packages/sundials/debian/dirs
===================================================================
--- trunk/packages/sundials/debian/dirs	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/dirs	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: trunk/packages/sundials/debian/docs
===================================================================
--- trunk/packages/sundials/debian/docs	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/docs	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1 @@
+README

Added: trunk/packages/sundials/debian/emacsen-install.ex
===================================================================
--- trunk/packages/sundials/debian/emacsen-install.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/emacsen-install.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/libsundials-serial
+
+# Written by Jim Van Zandt <jrv at vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
+
+FLAVOR=$1
+PACKAGE=libsundials-serial
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+#    SITEFLAG="-no-site-file"
+#else
+#    SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0

Added: trunk/packages/sundials/debian/emacsen-remove.ex
===================================================================
--- trunk/packages/sundials/debian/emacsen-remove.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/emacsen-remove.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/libsundials-serial
+
+FLAVOR=$1
+PACKAGE=libsundials-serial
+
+if [ ${FLAVOR} != emacs ]; then
+    if test -x /usr/sbin/install-info-altdir; then
+        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/libsundials-serial.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi

Added: trunk/packages/sundials/debian/emacsen-startup.ex
===================================================================
--- trunk/packages/sundials/debian/emacsen-startup.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/emacsen-startup.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,19 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian libsundials-serial package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+
+;; The libsundials-serial package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(let ((package-dir (concat "/usr/share/"
+                           (symbol-name flavor)
+                           "/site-lisp/libsundials-serial")))
+  (when (file-directory-p package-dir)
+        (setq load-path (cons package-dir load-path))))
+

Added: trunk/packages/sundials/debian/init.d.ex
===================================================================
--- trunk/packages/sundials/debian/init.d.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/init.d.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,74 @@
+#! /bin/sh
+#
+# skeleton	example file to build /etc/init.d/ scripts.
+#		This file should be used to construct scripts for /etc/init.d.
+#
+#		Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+#		Modified for Debian 
+#		by Ian Murdock <imurdock at gnu.ai.mit.edu>.
+#
+# Version:	@(#)skeleton  1.9  26-Feb-2001  miquels at cistron.nl
+#
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/libsundials-serial
+NAME=libsundials-serial
+DESC=libsundials-serial
+
+test -x $DAEMON || exit 0
+
+# Include libsundials-serial defaults if available
+if [ -f /etc/default/libsundials-serial ] ; then
+	. /etc/default/libsundials-serial
+fi
+
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+		--exec $DAEMON -- $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+		--exec $DAEMON
+	echo "$NAME."
+	;;
+  #reload)
+	#
+	#	If the daemon can reload its config files on the fly
+	#	for example by sending it SIGHUP, do it here.
+	#
+	#	If the daemon responds to changes in its config file
+	#	directly anyway, make this a do-nothing entry.
+	#
+	# echo "Reloading $DESC configuration files."
+	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
+	#	/var/run/$NAME.pid --exec $DAEMON
+  #;;
+  restart|force-reload)
+	#
+	#	If the "reload" option is implemented, move the "force-reload"
+	#	option to the "reload" entry above. If not, "force-reload" is
+	#	just the same as "restart".
+	#
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON
+	sleep 1
+	start-stop-daemon --start --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0

Added: trunk/packages/sundials/debian/libsundials-serial-default.ex
===================================================================
--- trunk/packages/sundials/debian/libsundials-serial-default.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/libsundials-serial-default.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,10 @@
+# Defaults for libsundials-serial initscript
+# sourced by /etc/init.d/libsundials-serial
+# installed at /etc/default/libsundials-serial by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS=""

Added: trunk/packages/sundials/debian/libsundials-serial-dev.dirs
===================================================================
--- trunk/packages/sundials/debian/libsundials-serial-dev.dirs	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/libsundials-serial-dev.dirs	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,2 @@
+usr/lib
+usr/include/sundials

Added: trunk/packages/sundials/debian/libsundials-serial-dev.install
===================================================================
--- trunk/packages/sundials/debian/libsundials-serial-dev.install	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/libsundials-serial-dev.install	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,2 @@
+usr/include/*.h usr/include/sundials
+usr/lib/lib*.a

Added: trunk/packages/sundials/debian/libsundials-serial.doc-base.EX
===================================================================
--- trunk/packages/sundials/debian/libsundials-serial.doc-base.EX	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/libsundials-serial.doc-base.EX	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,22 @@
+Document: libsundials-serial
+Title: Debian libsundials-serial Manual
+Author: <insert document author here>
+Abstract: This manual describes what libsundials-serial is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/libsundials-serial/libsundials-serial.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/libsundials-serial/libsundials-serial.ps.gz
+
+Format: text
+Files: /usr/share/doc/libsundials-serial/libsundials-serial.text.gz
+
+Format: HTML
+Index: /usr/share/doc/libsundials-serial/html/index.html
+Files: /usr/share/doc/libsundials-serial/html/*.html
+
+  

Added: trunk/packages/sundials/debian/libsundials-serial1.dirs
===================================================================
--- trunk/packages/sundials/debian/libsundials-serial1.dirs	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/libsundials-serial1.dirs	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1 @@
+usr/lib

Added: trunk/packages/sundials/debian/libsundials-serial1.install
===================================================================
--- trunk/packages/sundials/debian/libsundials-serial1.install	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/libsundials-serial1.install	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1 @@
+usr/lib/lib*.so*

Added: trunk/packages/sundials/debian/manpage.1.ex
===================================================================
--- trunk/packages/sundials/debian/manpage.1.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/manpage.1.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,59 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH LIBSUNDIALS-SERIAL SECTION "October 21, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+libsundials-serial \- program to do something
+.SH SYNOPSIS
+.B libsundials-serial
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B libsundials-serial
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBlibsundials-serial\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+libsundials-serial was written by <upstream author>.
+.PP
+This manual page was written by Andrey Romanenko <andrey at enginum.com>,
+for the Debian project (but may be used by others).

Added: trunk/packages/sundials/debian/manpage.sgml.ex
===================================================================
--- trunk/packages/sundials/debian/manpage.sgml.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/manpage.sgml.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,156 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>October 21, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>andrey at enginum.com</email>">
+  <!ENTITY dhusername  "Andrey Romanenko">
+  <!ENTITY dhucpackage "<refentrytitle>LIBSUNDIALS-SERIAL</refentrytitle>">
+  <!ENTITY dhpackage   "libsundials-serial">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

Added: trunk/packages/sundials/debian/manpage.xml.ex
===================================================================
--- trunk/packages/sundials/debian/manpage.xml.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/manpage.xml.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,148 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+    
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>October 21, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>andrey at enginum.com</email>">
+  <!ENTITY dhusername  "Andrey Romanenko">
+  <!ENTITY dhucpackage "<refentrytitle>LIBSUNDIALS-SERIAL</refentrytitle>">
+  <!ENTITY dhpackage   "libsundials-serial">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+

Added: trunk/packages/sundials/debian/menu.ex
===================================================================
--- trunk/packages/sundials/debian/menu.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/menu.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,2 @@
+?package(libsundials-serial):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
+  title="libsundials-serial" command="/usr/bin/libsundials-serial"

Added: trunk/packages/sundials/debian/postinst.ex
===================================================================
--- trunk/packages/sundials/debian/postinst.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/postinst.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,42 @@
+#! /bin/sh
+# postinst script for libsundials-serial
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+    configure)
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/packages/sundials/debian/postrm.ex
===================================================================
--- trunk/packages/sundials/debian/postrm.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/postrm.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,38 @@
+#! /bin/sh
+# postrm script for libsundials-serial
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: trunk/packages/sundials/debian/preinst.ex
===================================================================
--- trunk/packages/sundials/debian/preinst.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/preinst.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,38 @@
+#! /bin/sh
+# preinst script for libsundials-serial
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/packages/sundials/debian/prerm.ex
===================================================================
--- trunk/packages/sundials/debian/prerm.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/prerm.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,38 @@
+#! /bin/sh
+# prerm script for libsundials-serial
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/packages/sundials/debian/rules
===================================================================
--- trunk/packages/sundials/debian/rules	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/rules	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,116 @@
+#!/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.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# 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
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared --disable-mpi --disable-examples
+
+
+build: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	install -d $(CURDIR)/debian/tmp/usr/lib
+	install -d $(CURDIR)/debian/tmp/usr/include
+	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
+
+
+# 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 --sourcedir=debian/tmp
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: trunk/packages/sundials/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/sundials/debian/shlibs.local.ex
===================================================================
--- trunk/packages/sundials/debian/shlibs.local.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/shlibs.local.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1 @@
+liblibsundials-serial 2.1.1 libsundials-serial (>> 2.1.1-0), libsundials-serial (<< 2.1.1-99)

Added: trunk/packages/sundials/debian/watch.ex
===================================================================
--- trunk/packages/sundials/debian/watch.ex	2005-10-23 09:29:15 UTC (rev 288)
+++ trunk/packages/sundials/debian/watch.ex	2005-10-25 08:25:19 UTC (rev 289)
@@ -0,0 +1,22 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage 
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php libsundials-serial-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/libsundials-serial-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/libsundials-serial-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+# http://sf.net/libsundials-serial/libsundials-serial-(.*)\.tar\.gz
+
+




More information about the Pkg-octave-commit mailing list