--- libmei-1.0.1.orig/debian/changelog
+++ libmei-1.0.1/debian/changelog
@@ -0,0 +1,96 @@
+libmei (1.0.1-8) unstable; urgency=low
+
+ * Missing files python-mei added (Closes: #594502)
+ * Standards-Version updated to version 3.9.1
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Thu, 26 Aug 2010 16:56:30 +0200
+
+libmei (1.0.1-7) unstable; urgency=low
+
+ * Packages python-libmei renamed to python-mei (Closes: #585184)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Thu, 29 Jul 2010 10:25:05 +0200
+
+libmei (1.0.1-6.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Replace ‘site-packages’ with ‘*-packages’ in debian/*.install to fix FTBFS
+ with Python 2.6 (closes: #582790) Thanks to Angel Abad for the bug report
+ and the initial patch.
+ * Update Build-Depends and debian/rules to use python-support to
+ byte-compile Python modules (closes: #583552).
+ * Fix bashisms in the configure script (closes: #582795). Thanks to Clint
+ Adams for the patch.
+ * Fix the mei_patch_lm.diff, so that it actually can be applied, and add it
+ to the series file.
+
+ -- Jakub Wilk <jwilk@debian.org> Fri, 28 May 2010 11:27:15 +0200
+
+libmei (1.0.1-6) unstable; urgency=low
+
+ * Handle python 2.6 (Closes: #571495)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Thu, 25 Feb 2010 20:00:37 +0100
+
+libmei (1.0.1-5) unstable; urgency=low
+
+ * Missing build dep (Closes: #570701)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Mon, 22 Feb 2010 12:12:34 +0100
+
+libmei (1.0.1-4) unstable; urgency=low
+
+ * Upload in unstable
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 20 Feb 2010 15:09:45 +0100
+
+libmei (1.0.1-3) experimental; urgency=low
+
+ * watch file updated
+ * Missing dep on autoconf
+ * Update of Vcs-Svn Vcs-Browser
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Thu, 18 Feb 2010 11:57:16 +0100
+
+libmei (1.0.1-2) experimental; urgency=low
+
+ * Missing files
+ * Missing detection of the libm. Thanks to David Monfort (mei_patch_lm.diff)
+ * Package python-libmei added with python bindings
+ * Standards-Version updated to version 3.8.4
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Tue, 09 Feb 2010 18:14:45 +0100
+
+libmei (1.0.1-1) experimental; urgency=low
+
+ * New upstream release
+ * Patch bftDetection.diff & copyPythonTest.diff removed (applied upstream)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 30 Jan 2010 17:20:49 +0100
+
+libmei (1.0.0-4) unstable; urgency=low
+
+ * The two patches remove (useless now)
+ * bison, flex, zlib1g-dev dependencies also removed
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Tue, 24 Nov 2009 19:20:42 +0100
+
+libmei (1.0.0-3) unstable; urgency=low
+
+ * libmei1.install => libmei0.install
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 17 Oct 2009 00:13:28 +0200
+
+libmei (1.0.0-2) unstable; urgency=low
+
+ * Missing deps against python-dev and others (Closes: #547262)
+ * Update of the patch bftDetection.diff
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Fri, 18 Sep 2009 00:16:37 +0200
+
+libmei (1.0.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #546816)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Tue, 15 Sep 2009 22:53:59 +0200
+
--- libmei-1.0.1.orig/debian/copyright
+++ libmei-1.0.1/debian/copyright
@@ -0,0 +1,68 @@
+This package was debianized by Sylvestre Ledru <sylvestre@debian.org> on
+Tue, 15 Sep 2009 22:53:59 +0200.
+
+It was downloaded from <http://www.code-saturne.org/>
+
+Upstream Authors:
+
+ Alexandre Douce <alexandre.douce@edf.fr>
+ Tom Niemann
+ Olivier Carton
+
+Copyright:
+
+ Copyright (C) 2008-2009 EDF
+
+License:
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+The full text of the LGPL 2.1 can be found in
+`/usr/share/common-licenses/LGPL-2.1'.
+
+The Debian packaging is (C) 2008, Sylvestre Ledru <sylvestre.ledru@inria.fr> and
+is licensed under the LGPL, see `/usr/share/common-licenses/LGPL'.
+
+File: src/mei_parser.c
+
+Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
+
+License:
+ 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 3 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/>. */
+
+/* As a special exception, you may create a larger work that contains
+ part or all of the Bison parser skeleton and distribute that work
+ under terms of your choice, so long as that work isn't itself a
+ parser generator using the skeleton or a modified version thereof
+ as a parser skeleton. Alternatively, if you modify or redistribute
+ the parser skeleton itself, you may (at your option) remove this
+ special exception, which will cause the skeleton and the resulting
+ Bison output files to be licensed under the GNU General Public
+ License without this special exception.
+
+ This special exception was added by the Free Software Foundation in
+ version 2.2 of Bison. */
--- libmei-1.0.1.orig/debian/docs
+++ libmei-1.0.1/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- libmei-1.0.1.orig/debian/mei-config.1
+++ libmei-1.0.1/debian/mei-config.1
@@ -0,0 +1,71 @@
+.\"
+.\" This file is part of the "Base Functions and Types" library, intended to
+.\" simplify and enhance portability, memory and I/O use for scientific codes.
+.\"
+.\" Copyright (C) 2009 EDF S.A., France
+.\"
+.\" This library is free software; you can redistribute it and/or
+.\" modify it under the terms of the GNU Lesser General Public
+.\" License as published by the Free Software Foundation; either
+.\" version 2.1 of the License, or (at your option) any later version.
+.\"
+.\" This library 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
+.\" Lesser General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU Lesser General Public
+.\" License along with this library; if not, write to the Free Software
+.\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+.\"
+.TH MEI-CONFIG 1 2009-02-04 "" ""
+.SH NAME
+mei-config \- Script to get information about the installed version of
+the MEI library.
+.SH SYNOPSIS
+.B mei-config
+.RI [options]
+.RI [scope]
+.br
+.SH DESCRIPTION
+This script is a tool that is used to configure to determine
+the compiler and linker flags that should be used to compile
+and link programs that use
+.BR libmei .
+.SH OPTIONS
+.PP
+.I Options
+.B
+.IP --prefix
+Installation path prefix
+.B
+.IP --exec-prefix
+System-dependent path prefix
+.B
+.IP --version
+Version
+.B
+.IP --cppflags
+C preprocessor flags (e.g. -D<macro>, ...)
+.B
+.IP --cflags
+C flags (e.g. -O, -g, ...)
+.B
+.IP --ldflags
+Linker flags (e.g. -g, -L<path>, ...)
+.B
+.IP --libs
+librairies used (e.g. -l<libname>)
+.B
+.IP --cc
+C compiler used for build
+.PP
+.I Scope
+.B
+.IP "use (default)"
+Options required for user code
+.B
+.IP build
+Options used for build
+.SH SEE ALSO
+.BR fvm-config (1)
--- libmei-1.0.1.orig/debian/libmei-dev.manpages
+++ libmei-1.0.1/debian/libmei-dev.manpages
@@ -0,0 +1,2 @@
+debian/mei-config.1
+
--- libmei-1.0.1.orig/debian/libmei-dev.install
+++ libmei-1.0.1/debian/libmei-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/bin
+debian/tmp/usr/include
+debian/tmp/usr/lib/lib*.*a
+debian/tmp/usr/lib/lib*.so
--- libmei-1.0.1.orig/debian/compat
+++ libmei-1.0.1/debian/compat
@@ -0,0 +1 @@
+7
--- libmei-1.0.1.orig/debian/python-mei.install
+++ libmei-1.0.1/debian/python-mei.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/python*/*-packages/mei/*.so*
+debian/tmp/usr/lib/python*/*-packages/mei/*.py
+debian/tmp/usr/lib/python*/*-packages/mei/*.a
+
--- libmei-1.0.1.orig/debian/watch
+++ libmei-1.0.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://research.edf.com/research-and-the-scientific-community/softwares/code-saturne/download-80059.html \
+.*/mei-(\d)(\d)(\d)\.tgz debian
--- libmei-1.0.1.orig/debian/libmei0.install
+++ libmei-1.0.1/debian/libmei0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*
--- libmei-1.0.1.orig/debian/rules
+++ libmei-1.0.1/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# Copyright 2008 Sylvestre Ledru <sylvestre.ledru@inria.fr>
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/python-module.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+debian/stamp-autotools-files:
+ autoconf
+ touch $@
+
+DEB_DH_MAKESHLIBS_ARGS_python-libmei = -n
+
+# The website seems to break uscan - it simply does not find the
+# hyperlinks. That is why we are using wget here. :-(
+get-orig-source:
+ wget http://research.edf.com/fichiers/fckeditor/File/EDF%20RD/Code_Saturne/Fichiers/mei-100.tgz
+ mv mei-100.tgz libmei_1.0.0.orig.tar.gz
+ #uscan --force-download
--- libmei-1.0.1.orig/debian/control
+++ libmei-1.0.1/debian/control
@@ -0,0 +1,61 @@
+Source: libmei
+Section: libs
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Sylvestre Ledru <sylvestre@debian.org>
+Build-Depends: debhelper (>= 7), autotools-dev, cdbs, swig, libbft-dev (>= 1.1.2),
+ python-support, python-dev, quilt, autoconf, zlib1g-dev
+XS-Python-Version: all
+Standards-Version: 3.9.1
+Homepage: http://www.code-saturne.org/
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/code-saturne/libmei/
+Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/code-saturne/libmei/
+
+Package: libmei-dev
+Section: libdevel
+Architecture: any
+Depends: libmei0 (= ${binary:Version}), ${misc:Depends}
+Description: Code_Saturne Mathematical Expression Interpreter
+ MEI stands for Mathematical Expression Interpreter.
+ It is intended to provide interpretation of mathematical formula in a string.
+ It is destined to be used by scientific codes (Computational Fluid
+ Dynamics).
+ .
+ This package contains the development files needed to compile software to
+ use the libmei API.
+
+Package: libmei0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Code_Saturne Mathematical Expression Interpreter
+ MEI stands for Mathematical Expression Interpreter.
+ It is intended to provide interpretation of mathematical formula in a string.
+ It is destined to be used by scientific codes (Computational Fluid
+ Dynamics).
+
+Package: python-mei
+Replaces: python-libmei (<< 1.0.1-7)
+Conflicts: python-libmei (<< 1.0.1-7)
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: A Python language binding for libmei
+ MEI stands for Mathematical Expression Interpreter.
+ It is intended to provide interpretation of mathematical formula in a string.
+ It is destined to be used by scientific codes (Computational Fluid
+ Dynamics).
+ .
+ This package contains the Python binding to libmei.
+
+Package: libmei0-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libmei0 (= ${binary:Version}), ${misc:Depends}
+Description: Code_Saturne Mathematical Expression Interpreter
+ MEI stands for Mathematical Expression Interpreter.
+ It is intended to provide interpretation of mathematical formula in a string.
+ It is destined to be used by scientific codes (Computational Fluid
+ Dynamics).
+ .
+ This package contains the debugging symbols of the library.
--- libmei-1.0.1.orig/debian/patches/mei_patch_lm.diff
+++ libmei-1.0.1/debian/patches/mei_patch_lm.diff
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -192,6 +192,8 @@
+
+ fi
+
++LIBS="${LIBS} -lm"
++
+ # Optional additional user flags
+ #-------------------------------
+