[med-svn] r7815 - in trunk/packages/libsbml: branches trunk trunk/debian trunk/debian/source

Ivo Maintz ivomaintz-guest at alioth.debian.org
Thu Sep 15 15:47:40 UTC 2011


Author: ivomaintz-guest
Date: 2011-09-15 15:47:39 +0000 (Thu, 15 Sep 2011)
New Revision: 7815

Added:
   trunk/packages/libsbml/branches/libsbml3/
   trunk/packages/libsbml/trunk/debian/
   trunk/packages/libsbml/trunk/debian/README.Debian-source
   trunk/packages/libsbml/trunk/debian/changelog
   trunk/packages/libsbml/trunk/debian/compat
   trunk/packages/libsbml/trunk/debian/control
   trunk/packages/libsbml/trunk/debian/copyright
   trunk/packages/libsbml/trunk/debian/dirs
   trunk/packages/libsbml/trunk/debian/docs
   trunk/packages/libsbml/trunk/debian/jvm-find.sh
   trunk/packages/libsbml/trunk/debian/libsbml5-dev.install
   trunk/packages/libsbml/trunk/debian/libsbml5-doc.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-examples.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-examples.examples
   trunk/packages/libsbml/trunk/debian/libsbml5-java-doc.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-java.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-java.install
   trunk/packages/libsbml/trunk/debian/libsbml5-java.postinst
   trunk/packages/libsbml/trunk/debian/libsbml5-java.postrm
   trunk/packages/libsbml/trunk/debian/libsbml5-matlab.install
   trunk/packages/libsbml/trunk/debian/libsbml5-octave.install
   trunk/packages/libsbml/trunk/debian/libsbml5-perl-doc.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-perl.install
   trunk/packages/libsbml/trunk/debian/libsbml5-python-doc.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-python.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-python.install
   trunk/packages/libsbml/trunk/debian/libsbml5-ruby1.8.install
   trunk/packages/libsbml/trunk/debian/libsbml5.install
   trunk/packages/libsbml/trunk/debian/libsbml5.postinst
   trunk/packages/libsbml/trunk/debian/libsbml5.postrm
   trunk/packages/libsbml/trunk/debian/patches/
   trunk/packages/libsbml/trunk/debian/rules
   trunk/packages/libsbml/trunk/debian/source/
   trunk/packages/libsbml/trunk/debian/source/format
   trunk/packages/libsbml/trunk/debian/watch
Removed:
   trunk/packages/libsbml/trunk/debian/
Log:
first try to build libsbml5


Added: trunk/packages/libsbml/trunk/debian/README.Debian-source
===================================================================
--- trunk/packages/libsbml/trunk/debian/README.Debian-source	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/README.Debian-source	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,5 @@
+the source package have only .zip file format
+
+unzip libsbml-5.0.0-b1-src.zip
+tar cvzf libsbml-5.0.0-b1/* > libsbml_5.0.99.tar.gz
+

Added: trunk/packages/libsbml/trunk/debian/changelog
===================================================================
--- trunk/packages/libsbml/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/changelog	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,23 @@
+libsbml (5.0.99-1) UNRELEASED; urgency=low
+
+  * Upstream update
+
+ -- Ivo Maintz <ivo at maintz.de>  Thu, 15 Sep 2011 17:33:28 +0200
+
+libsbml (3.4.0-1) UNRELEASED; urgency=low
+
+  * Upstream update.
+
+ -- Moriyoshi Koizumi <mozo at sfc.keio.ac.jp>  Tue, 16 Jun 2009 19:42:00 +0900
+
+libsbml (3.3.2-1) UNRELEASED; urgency=low
+
+  * Upstream update.
+
+ -- Moriyoshi Koizumi <mozo at sfc.keio.ac.jp>  Wed, 03 Jun 2009 02:30:07 +0900
+
+libsbml (3.3.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #241111)
+
+ -- David Paleino <d.paleino at gmail.com>  Tue, 10 Feb 2009 14:36:09 +0100

Added: trunk/packages/libsbml/trunk/debian/compat
===================================================================
--- trunk/packages/libsbml/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/compat	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+7

Added: trunk/packages/libsbml/trunk/debian/control
===================================================================
--- trunk/packages/libsbml/trunk/debian/control	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/control	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,368 @@
+Source: libsbml
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Ivo Maintz <ivo at maintz.de>,
+ Steffen Moeller <moeller at debian.org>,
+ Changyan Xie <panchoat at gmail.com>,
+ Moriyoshi Koizumi <mozo at sfc.keio.ac.jp>,
+ David Paleino <d.paleino at gmail.com>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7),
+ autoconf,
+ automake,
+ dpatch,
+ swig (>= 2),
+ ruby1.8,
+ libxml2-dev,
+ python-dev,
+ ruby1.8-dev,
+ perl,
+ libperl-dev,
+ openjdk-6-jdk | java-gcj-compat-dev | java-sdk,
+ octave-pkg-dev,
+ python-support,
+ doxygen (>= 1.5.8),
+ graphviz,
+ zlib1g-dev,
+ libbz2-dev,
+ c-sharp-compiler,
+ cli-common-dev,
+ cli-runtime
+Standards-Version: 3.9.1
+Section: science
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libsbml/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/libsbml
+
+Package: libsbml5-dev
+Section: libdevel
+Provides: libsbml-dev
+Conflicts: libsbml3-dev
+Architecture: any
+Depends: libsbml5 (= ${binary:Version})
+Description: System Biology Markup Language library - development files
+ LibSBML is a library designed to help you read, write, manipulate, 
+ translate, and validate SBML files and data streams. It is not an 
+ application itself (though it does come with many example programs), 
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be 
+ used from all the programming languages listed to the left. In fact, 
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but 
+ vectors in Matlab. Also, the C and C++ interfaces are completely 
+ distinct (it's possible to program in pure C), but in C++ the C APIs 
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows 
+ (native), and Mac OS X.
+ .
+ This package contains files necessary for development with libsbml.
+
+Package: libsbml5
+Section: libs
+Architecture: any
+Conflicts: libsbml1, libsbml2, libsbml3
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: System Biology Markup Language library
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+
+Package: libsbml5-python
+Section: python
+Provides: ${python:Provides},
+ python-sbml,
+ libsbml-python
+Conflicts: python-sbml3
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${python:Depends}
+Description: System Biology Markup Language library - Python binding
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows 
+ (native), and Mac OS X.
+ .
+ This package contains the Python binding of LibSBML.
+
+Package: libsbml5-ruby1.8
+Section: libs
+Provides: libsbml3-ruby
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: System Biology Markup Language library - Ruby binding
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows 
+ (native), and Mac OS X.
+ .
+ This package contains the Ruby binding of LibSBML.
+
+Package: libsbml5-java
+Section: libs
+Provides: libsbml-java
+Conflicts: libsbml3-java
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: System Biology Markup Language library - Java binding
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This Package contains the Java binding of LibSBML.
+
+Package: libsbml5-perl
+Section: perl
+Provides: libsbml-perl
+Conflicts: libsbml3-perl
+Depends: ${shlibs:Depends},
+ ${perl:Depends},
+ ${misc:Depends}
+Architecture: any
+Description: System Biology Markup Language library - Perl binding
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This package contains the Perl binding of LibSBML.
+
+Package: libsbml5-octave
+Section: math
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ octave3.2
+Architecture: any
+Description: System Biology Markup Language library - Octave binding
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This package contains the Octave binding of LibSBML.
+
+Package: libsbml5-cil
+Section: libs
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${cli:Depends}
+Architecture: all
+Description: System Biology Markup Language library - CLR binding
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This package contains the CLR binding of LibSBML.
+
+Package: libsbml5-doc
+Section: docs
+Architecture: all
+Depends: ${misc:Depends}
+Description: System Biology Markup Language library - C / C++ API docs
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This package contains C / C++ API documentation of LibSBML.
+
+Package: libsbml5-java-doc
+Section: docs
+Architecture: all
+Depends: ${misc:Depends}
+Description: System Biology Markup Language library - Java API docs
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This package contains Java API documentation of LibSBML.
+
+Package: libsbml5-perl-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: System Biology Markup Language library - Perl API docs
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This package contains Perl API documentation of LibSBML.
+
+Package: libsbml5-python-doc
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}
+Description: System Biology Markup Language library - Python API docs
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be
+ used from all the programming languages listed to the left. In fact,
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but
+ vectors in Matlab. Also, the C and C++ interfaces are completely
+ distinct (it's possible to program in pure C), but in C++ the C APIs
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows
+ (native), and Mac OS X.
+ .
+ This package contains Python API documentation of LibSBML.
+
+Package: libsbml5-examples
+Section: doc
+Architecture: all
+Depends: libsbml5-dev (= ${binary:Version}),
+ ${misc:Depends}
+Description: System Biology Markup Language library -- example files
+ LibSBML is a library designed to help you read, write, manipulate, 
+ translate, and validate SBML files and data streams. It is not an 
+ application itself (though it does come with many example programs), 
+ but rather a library you can embed in your own applications.
+ .
+ LibSBML is written in ISO C and C++ but as a library it may be 
+ used from all the programming languages listed to the left. In fact, 
+ we strive to adhere to the natural idioms of each particular language
+ to make the libSBML programming experience seamless. For example, SBML
+ <listOf> elements behave like lists and sequences in Python, but 
+ vectors in Matlab. Also, the C and C++ interfaces are completely 
+ distinct (it's possible to program in pure C), but in C++ the C APIs 
+ may be called without sacrifcing type safety.
+ .
+ The LibSBML code is very portable and is supported on Linux, Windows 
+ (native), and Mac OS X.
+ .
+ This package contains C/C++, Java, Perl and layout examples.

Added: trunk/packages/libsbml/trunk/debian/copyright
===================================================================
--- trunk/packages/libsbml/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/copyright	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,33 @@
+This package was debianized by Changyan Xie <panchoat at gmail.com> on
+Mon, 22 Jan 2007 05:20:36 +0000.
+
+It was downloaded from http://www.sbml.org/software/libsbml/ 
+
+Upstream Author: Ben Bornstein with contributions from
+	 Ben Kovitz, Stefan Hoops, Sarah Keating, Mike Hucka,
+	 Martin Ginkel, Christoph Flamm, Rainer Machne,
+	 and many others in the SBML community.
+
+	 mailto:sbml-team at caltech.edu
+
+Copyright: SBML-TEAM (2005), the sponsors are listed below,such as :
+
+the National Institutes of Health (USA); the International
+Joint Research Program of NEDO (Japan); the JST ERATO-SORST Program
+(Japan); the Japanese Ministry of Agriculture; the Japanese Ministry of
+Education, Culture, Sports, Science and Technology; the BBSRC e-Science
+Initiative (UK); the DARPA IPTO Bio-Computation Program (USA); the Army
+Research Office's Institute for Collaborative Biotechnologies (USA); the
+Air Force Office of Scientific Research (USA); the California Institute of
+Technology (USA); the University of Hertfordshire (UK); the Molecular
+Sciences Institute (USA); and the Systems Biology Institute (Japan).
+
+License: LGPL
+
+The Debian packaging is (C) 2007, Changyan Xie <panchoat at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+

Added: trunk/packages/libsbml/trunk/debian/dirs
===================================================================
--- trunk/packages/libsbml/trunk/debian/dirs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/dirs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,3 @@
+usr/share/java
+usr/lib/jni
+usr/share/man

Added: trunk/packages/libsbml/trunk/debian/docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,7 @@
+AUTHORS.txt
+FUNDING.txt
+NEWS.txt
+README.txt
+README.txt
+VERSION.txt
+debian/README.Debian-source

Added: trunk/packages/libsbml/trunk/debian/jvm-find.sh
===================================================================
--- trunk/packages/libsbml/trunk/debian/jvm-find.sh	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/jvm-find.sh	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,3 @@
+#!/bin/sh
+TARGET_JAVAC=`env LANG=C update-alternatives --display javac | sed -e "s/Current \\\`best' version is \\(.*\\)\.\$/\\1/; t e; d; :e"`
+echo JAVA_HOME=/usr/lib/jvm/`find /usr/lib/jvm -maxdepth 1 -iname "*.jinfo" | head -n 1 | while read file; do test \`sed -e 's/^jdk  *javac  *//; t e; d; :e' $file\` = "$TARGET_JAVAC" && sed -e 's/name= *//; t e; d; :e' $file; done`


Property changes on: trunk/packages/libsbml/trunk/debian/jvm-find.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/libsbml/trunk/debian/libsbml5-dev.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-dev.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-dev.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,5 @@
+usr/include/sbml/*
+usr/lib/libsbml.a
+usr/lib/libsbml.la
+usr/lib/libsbml.so
+usr/lib/pkgconfig/libsbml.pc

Added: trunk/packages/libsbml/trunk/debian/libsbml5-doc.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-doc.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-doc.docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/doc/libsbml-*/c-api
+debian/tmp/usr/share/doc/libsbml-*/cpp-api

Added: trunk/packages/libsbml/trunk/debian/libsbml5-examples.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-examples.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-examples.docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+examples/README.txt

Added: trunk/packages/libsbml/trunk/debian/libsbml5-examples.examples
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-examples.examples	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-examples.examples	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+examples/*

Added: trunk/packages/libsbml/trunk/debian/libsbml5-java-doc.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-java-doc.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-java-doc.docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/libsbml-*/java-api

Added: trunk/packages/libsbml/trunk/debian/libsbml5-java.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-java.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-java.docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/libsbml-*/java.txt

Added: trunk/packages/libsbml/trunk/debian/libsbml5-java.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-java.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-java.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,2 @@
+usr/lib/libsbmlj.so
+usr/share/java/libsbmlj.jar

Added: trunk/packages/libsbml/trunk/debian/libsbml5-java.postinst
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-java.postinst	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-java.postinst	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,27 @@
+#!/bin/sh
+# postinst script for libsbml-java
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+    configure)
+    ldconfig usr/lib/libsbmlj.so
+    ;;
+
+    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/libsbml/trunk/debian/libsbml5-java.postrm
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-java.postrm	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-java.postrm	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postrm script for libsbml-java
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ldconfig
+    ;;
+
+    *)
+        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/libsbml/trunk/debian/libsbml5-matlab.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-matlab.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-matlab.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,5 @@
+usr/lib/TranslateSBML*
+usr/lib/OutputSBML*
+usr/lib/*.m
+etc/profile.d/libsbml-matlab.sh
+etc/csh/login.d/libsbml-matlab.csh

Added: trunk/packages/libsbml/trunk/debian/libsbml5-octave.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-octave.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-octave.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+usr/lib/octave/*

Added: trunk/packages/libsbml/trunk/debian/libsbml5-perl-doc.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-perl-doc.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-perl-doc.docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/libsbml-*/perl-api

Added: trunk/packages/libsbml/trunk/debian/libsbml5-perl.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-perl.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-perl.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+usr/lib/perl*

Added: trunk/packages/libsbml/trunk/debian/libsbml5-python-doc.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-python-doc.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-python-doc.docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/libsbml-*/python-api

Added: trunk/packages/libsbml/trunk/debian/libsbml5-python.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-python.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-python.docs	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/libsbml-*/python.txt

Added: trunk/packages/libsbml/trunk/debian/libsbml5-python.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-python.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-python.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+usr/lib/python*

Added: trunk/packages/libsbml/trunk/debian/libsbml5-ruby1.8.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-ruby1.8.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-ruby1.8.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+usr/lib/ruby/*/*/*/*.so /usr/lib/ruby/1.8/x86_64-linux/

Added: trunk/packages/libsbml/trunk/debian/libsbml5.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5.install	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+usr/lib/libsbml.so.*

Added: trunk/packages/libsbml/trunk/debian/libsbml5.postinst
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5.postinst	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5.postinst	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,27 @@
+#!/bin/sh
+# postinst script for libsbml
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+    configure)
+    ldconfig usr/lib/libsbml.so.5.10
+    ;;
+
+    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/libsbml/trunk/debian/libsbml5.postrm
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5.postrm	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5.postrm	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postrm script for libsbml
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ldconfig
+    ;;
+
+    *)
+        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/libsbml/trunk/debian/rules
===================================================================
--- trunk/packages/libsbml/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/rules	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,155 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# 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
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+# shared library versions, option 1
+version=2.3.4
+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)}'`
+
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	libtoolize -c -f
+	aclocal -Iconfig
+	autoconf
+	eval `bash ./debian/jvm-find.sh` && javac -cp $$JAVA_HOME/lib/tools.jar -sourcepath docs/src -d docs/src docs/src/ExcludeDoclet.java
+	touch patch-stamp
+
+config.status: patch-stamp configure
+	dh_testdir
+	# Add here commands to configure the package.
+	MONO_SHARED_DIR="$(CURDIR)" CFLAGS="$(CFLAGS)" \
+	./configure --host=$(DEB_HOST_GNU_TYPE) \
+	            --build=$(DEB_BUILD_GNU_TYPE) \
+	            --prefix=/usr \
+	            --mandir=\$${prefix}/share/man \
+	            --infodir=\$${prefix}/share/info \
+	            --with-doxygen=/usr \
+	            --with-perl=/usr \
+	            --with-python=/usr \
+	            --with-java=/usr \
+	            --with-ruby=/usr \
+	            --with-octave=/usr \
+	            --with-csharp=/usr
+	touch \
+		src/bindings/java/java-files \
+		src/bindings/java/libsbml_wrap.cpp \
+		src/bindings/perl/LibSBML.pm \
+		src/bindings/perl/LibSBML_wrap.cxx \
+		src/bindings/python/libsbml.py \
+		src/bindings/python/libsbml_wrap.cpp \
+		src/bindings/ruby/libsbml_wrap.cpp
+
+build: build-stamp build-stamp-indep
+build-stamp: config.status
+	dh_testdir
+	MONO_SHARED_DIR="$(CURDIR)" $(MAKE) all DESTDIR=$(CURDIR)/debian/tmp/
+	touch build-stamp
+
+build-indep: build-stamp-indep
+build-stamp-indep: config.status
+	dh_testdir
+	MONO_SHARED_DIR="$(CURDIR)" $(MAKE) docs 
+	touch build-stamp-indep
+
+unpatch:
+	# Unpatch after distclean
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+distclean:
+	dh_testdir
+	dh_testroot
+	-([ -r Makefile ] && $(MAKE) distclean)
+
+clean: distclean unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	rm -f build-stamp-indep
+	rm -f config.status
+	rm -f config.log
+	# Clean not sufficient for dpkg-sources diff
+	rm -rf docs/formatted
+	dh_clean \
+	  `find . -name "*.a" -o -name "*.la" -o -iname "*.Po" -o -iname "*.loT" -o -name "*pdf" -o -name "*.aux" -o -name "*.dvi" ` \
+	  docs/src/ExcludeDoclet\\$$1.class \
+	  src/bindings/octave/BuildTranslate_Win32.m \
+	  src/bindings/octave/CheckAndConvert.m \
+	  src/bindings/octave/Contents.m \
+	  src/bindings/octave/README.txt \
+	  src/bindings/octave/TranslateSBML.c \
+	  src/bindings/octave/TranslateSBML.m \
+	  src/bindings/octave/install_Win32.m \
+	  src/bindings/octave/make.bat \
+	  src/bindings/octave/matlab-tags-regexp.txt \
+	  src/bindings/octave/test.xml
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	# Add here commands to install the package into debian/tmp
+	MONO_SHARED_DIR="$(CURDIR)" $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
+	MONO_SHARED_DIR="$(CURDIR)" $(MAKE) install-docs DESTDIR=$(CURDIR)/debian/tmp/
+
+# Build architecture-independent files here.
+binary-indep: build-indep install
+	# Well, if I would need to separate the make install header files from the remainder
+	# and I do not like tampering too much with upstream source.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=$(CURDIR)/debian/tmp
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_makeclilibs -i -V
+	dh_installcligac -i
+	dh_perl
+	dh_pysupport
+	dh_installdeb
+	dh_shlibdeps -Xlibsbml3-cil -Xlibsbml3-octave -Xlibsbml3-perl -Xlibsbml3-java -Xpython-sbml3 -Xlibsbml3-ruby1.8
+	dh_clideps -i -d -ldebian/libsbml3-cli/usr
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch


Property changes on: trunk/packages/libsbml/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/libsbml/trunk/debian/source/format
===================================================================
--- trunk/packages/libsbml/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/source/format	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/libsbml/trunk/debian/watch
===================================================================
--- trunk/packages/libsbml/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/watch	2011-09-15 15:47:39 UTC (rev 7815)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/sbml/  libsbml-(.*)-src\.zip




More information about the debian-med-commit mailing list