r36564 - in /packages/slepc/trunk/debian: ./ patches/
prudhomm at users.alioth.debian.org
prudhomm at users.alioth.debian.org
Sat May 29 09:40:28 UTC 2010
Author: prudhomm
Date: Sat May 29 09:40:24 2010
New Revision: 36564
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36564
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
packages/slepc/trunk/debian/ (with props)
packages/slepc/trunk/debian/README.Debian
packages/slepc/trunk/debian/README.source
packages/slepc/trunk/debian/changelog
packages/slepc/trunk/debian/compat
packages/slepc/trunk/debian/control
packages/slepc/trunk/debian/copyright
packages/slepc/trunk/debian/docs
packages/slepc/trunk/debian/libslepc3.0.0-dev.postinst.in
packages/slepc/trunk/debian/libslepc3.0.0-dev.prerm.in
packages/slepc/trunk/debian/patches/
packages/slepc/trunk/debian/patches/petsc-shlib-link.patch
packages/slepc/trunk/debian/patches/petsc31.patch
packages/slepc/trunk/debian/patches/series
packages/slepc/trunk/debian/rules (with props)
packages/slepc/trunk/debian/slepc3.0.0-doc.docs
packages/slepc/trunk/debian/watch
Propchange: packages/slepc/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: packages/slepc/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/README.Debian?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/README.Debian (added)
+++ packages/slepc/trunk/debian/README.Debian Sat May 29 09:40:24 2010
@@ -1,0 +1,33 @@
+SLEPc for Debian
+----------------
+
+This source package includes the following binary packages:
+
+ libslepc3.0.0 - shared libraries
+ libslepc3.0.0-dev - static libraries, shared links, and header files
+ libslepc3.0.0-dbg - static debugging libraries
+ slepc3.0.0-doc - documentation and examples
+
+With libslepc3.0.0-dev installed, you can build programs against it two ways:
+
+ 1. Standard build convention: use -I/usr/include/slepc for headers and
+ link to optimized libraries in /usr/lib, so your resulting binaries
+ will only depend on libslepc3.0.0. To link against the static
+ debugging libs in libslepc3.0.0-dbg, add -L/usr/lib/slepc/lib/libg
+ when linking and set LD_LIBRARY_PATH to /usr/lib/slepc/lib/libg.
+ 2. PETSc/SLEPc build convention: modify the makefile from the one in
+ their examples directory and build with
+
+ PETSC_DIR=/usr/lib/petsc PETSC_ARCH=`petscarch` \
+ PETSC_LIB_DIR=$PETSC_DIR/$PETSC_ARCH/lib SLEPC_DIR=/usr/lib/slepc \
+ SLEPC_LIB_DIR=$SLEPC_DIR/$PETSC_ARCH/lib make
+
+The slepc3.0.0-doc package comes with the full source code of the SLEPc
+examples. Just do:
+
+ tar xzf /usr/share/doc/slepc3.0.0-doc/src.tar.gz
+
+then cd src/examples, and use the PETSc/SLEPc build convention make command
+above.
+
+See also README.Debian in the PETSc package for more releated notes.
Added: packages/slepc/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/README.source?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/README.source (added)
+++ packages/slepc/trunk/debian/README.source Sat May 29 09:40:24 2010
@@ -1,0 +1,2 @@
+This package uses the quilt patch system to manage all modifications
+to the upstream source (see /usr/share/doc/quilt/README.source).
Added: packages/slepc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/changelog?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/changelog (added)
+++ packages/slepc/trunk/debian/changelog Sat May 29 09:40:24 2010
@@ -1,0 +1,157 @@
+slepc (3.0.0-p7.dfsg-4) unstable; urgency=low
+
+ [Christophe Prud'homme]
+ * Bug fix: "FTBFS: ERROR: Unable to link with PETSc", thanks to Lucas
+ Nussbaum (Closes: #577291).
+ * Provide patch for PETSc 3.1 and changes in the interface
+ * Update Standards-Version to 3.8.4, no change
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Fri, 28 May 2010 13:50:42 +0200
+
+slepc (3.0.0-p7.dfsg-3) unstable; urgency=low
+
+ [Christophe Prud'homme]
+ * debian/control: fixed lintian warnings
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Sun, 03 Jan 2010 08:35:04 +0100
+
+slepc (3.0.0-p7.dfsg-2) unstable; urgency=low
+
+ [Christophe Prud'homme]
+ * Bug fix: "Updating the slepc Maintainer/Uploaders list", thanks to
+ Sandro Tosi (Closes: #550416).
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Sun, 08 Nov 2009 08:09:43 +0100
+
+slepc (3.0.0-p7.dfsg-1) unstable; urgency=low
+
+ * New upstream release (patch level 7). Includes some fixes for PGHNEP
+ problems and other minor fixes.
+ * debian/control:
+ - Update Standards-Version to 3.8.3.
+ - Force libslepc3.0.0-dev to depend on the exact same version of
+ libslepc3.0.0 (replace source:Version with binary:Version).
+ * debian/rules: Use DEB_BUILD_GNU_SYSTEM to set PETSC_ARCH such that
+ it does not fail on non linux-gnu architectures.
+ * debian/README.source: Refer to README.source for quilt.
+ * debian/watch: Use the dversionmangle option to remove the dfsg
+
+ -- Johannes Ring <johannr at simula.no> Tue, 03 Nov 2009 08:23:03 +0100
+
+slepc (3.0.0-p5.dfsg-1) unstable; urgency=low
+
+ [ Johannes Ring ]
+ * New upstream release (patch level 5). Includes updated
+ conf/slepc_common_variables (closes: #528122).
+ * debian/rules: Removed docs/slepc.pdf from tarball (no sources).
+ * debian/control:
+ - Change section to debug for -dbg package (lintian warning).
+ - Updated Standards-Version to 3.8.2.
+ * debian/patches: Added patch to link SLEPc shared library against
+ PETSc shared libraries.
+
+ [ Christophe Prud'homme ]
+ * Bug fix: "Paths broken so petsc is unable to find slepc", thanks to
+ root (Closes: #530625).
+ * debian/rules: don't fail in mv if some files are not there
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Wed, 26 Aug 2009 18:12:44 +0200
+
+slepc (3.0.0-p2-1) unstable; urgency=low
+
+ [ Christophe Prud'homme ]
+ * New upstream release
+ + Released under GNU LGPL license.
+ + Improved support for the case that many eigenpairs are to be
+ computed. This is especially so in the default eigensolver
+ (Krylov-Schur) for symmetric problems, as well as for SVD
+ computations. The user can control the behaviour of the solver with a
+ new parameter, mpd (see EPSSetDimensions).
+ + Support for harmonic projection in the default eigensolver
+ (Krylov-Schur), see EPSSetExtraction. This can be useful for computing
+ interior or rightmost eigenvalues without the need of a spectral
+ transformation.
+ + Memory usage has been optimized in most solvers. In some cases,
+ memory requirements have been halved with respect to the previous
+ versions.
+ + In the spectral transformations (ST) the linear solver used
+ internally has been changed to a direct solver by default. The user
+ can still employ an iterative linear solver by setting the appropriate
+ options.
+ + Added better support for Fortran 90.
+ + Improved support for 'make install', see the Users Manual for
+ details.
+ * debian/copyright: updated to LGPL-3
+ * debian/control: Updated Standards-Version to 3.8.1 (no changes)
+ * debian/{control,compat}: Updated dh compat to 7
+
+ [ Johannes Ring ]
+ * Completely rewrote debian/rules. Now strongly based on debian/rules
+ from PETSc package.
+ * Removed NLU files (debian/slepc-dev.dirs, debian/slepc1.dirs,
+ debian/slepc-dev.install, debian/slepc1.install, debian/dirs, and
+ debian/examples).
+ * Removed NLU patches.
+ * debian/control:
+ - Removed build-dependency on quilt since there are no more patches.
+ - Added new package libslepc3.0.0-dbg for static debugging libraries.
+ - Added new package slepc3.0.0-doc for documentation and examples.
+ * debian/copyright: Added missing upstream author Eloy Romero.
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Thu, 19 Mar 2009 14:28:49 +0100
+
+slepc (2.3.3.7-1) unstable; urgency=low
+
+ * New upstream release: 2.3.3 with patch level 7
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Tue, 28 Oct 2008 06:36:00 +0100
+
+slepc (2.3.2-3) UNRELEASED; urgency=low
+
+ [ Ondrej Certik ]
+ * Ondrej Certik added to Uploaders.
+
+ [ Daniel Leidert ]
+ * debian/control: Vcs* and Homepage field transition. Fixed Vcs-Svn.
+
+ -- Ondrej Certik <ondrej at certik.cz> Tue, 16 Oct 2007 00:55:36 +0200
+
+slepc (2.3.2-2) unstable; urgency=low
+
+ [ Christophe Prud'homme ]
+ * Upload slepc as libpetsc2.3.3 is now in debian
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Tue, 04 Sep 2007 21:28:07 +0200
+
+slepc (2.3.2-1oc1) unstable; urgency=low
+
+ * Unofficial build, until libpetsc2.3.3 hits the archives
+ * Fixed sources to built against libpetsc2.3.3
+ * Updated README.Debian with building instructions
+
+ -- Ondrej Certik <ondrej at certik.cz> Fri, 27 Jul 2007 15:08:44 +0200
+
+slepc (2.3.2-1) unstable; urgency=low
+
+ * Upload to debian non-free
+
+ -- Christophe Prud'homme <prudhomm at debian.org> Mon, 09 Jul 2007 09:25:24 +0200
+
+slepc (2.3.2-0oc3) unstable; urgency=low
+
+ * Moved the package to non-free
+
+ -- Ondrej Certik <ondrej at certik.cz> Thu, 05 Jul 2007 00:55:44 +0200
+
+slepc (2.3.2-0oc2) unstable; urgency=low
+
+ * copy SLEPc examples into the -dev package
+
+ -- Ondrej Certik <ondrej at certik.cz> Wed, 04 Jul 2007 23:25:54 +0200
+
+slepc (2.3.2-0oc1) unstable; urgency=low
+
+ * Initial debian package
+
+ -- Ondrej Certik <ondrej at certik.cz> Tue, 26 Jun 2007 11:18:31 +0200
+
Added: packages/slepc/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/compat?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/compat (added)
+++ packages/slepc/trunk/debian/compat Sat May 29 09:40:24 2010
@@ -1,0 +1,1 @@
+7
Added: packages/slepc/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/control?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/control (added)
+++ packages/slepc/trunk/debian/control Sat May 29 09:40:24 2010
@@ -1,0 +1,67 @@
+Source: slepc
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christophe Prud'homme <prudhomm at debian.org>
+Build-Depends: debhelper (>= 7), quilt, python (>= 2.4.4-6), libpetsc3.1-dev (>= 3.1.dfsg-3), libpetsc3.1-dbg (>= 3.1.dfsg-3), libarpack2-dev, libarpack2-dbg, libhdf5-mpi-dev
+Standards-Version: 3.8.4
+Section: libs
+Homepage: http://www.grycap.upv.es/slepc/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/slepc/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/slepc/
+
+Package: libslepc3.0.0-dev
+Section: libdevel
+Architecture: any
+Depends: libslepc3.0.0 (= ${binary:Version}), libpetsc3.0.0-dev (>= 3.0.0-0), libarpack2-dev, ${misc:Depends}
+Suggests: libslepc3.0.0-dbg (= ${binary:Version}), slepc3.0.0-doc (= ${binary:Version})
+Conflicts: libslepc2.3.2-dev
+Description: Scalable Library for Eigenvalue Problem Computations
+ SLEPc is a software library for the solution of large scale sparse eigenvalue
+ problems on parallel computers. It is an extension of PETSc and can be used
+ for either standard or generalized eigenproblems, with real or complex
+ arithmetic. It can also be used for computing a partial SVD of a large,
+ sparse, rectangular matrix.
+ .
+ This package contains the static libraries, shared links, and header files
+ for SLEPC.
+
+Package: libslepc3.0.0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libslepc2.3.2
+Description: Scalable Library for Eigenvalue Problem Computations
+ SLEPc is a software library for the solution of large scale sparse eigenvalue
+ problems on parallel computers. It is an extension of PETSc and can be used
+ for either standard or generalized eigenproblems, with real or complex
+ arithmetic. It can also be used for computing a partial SVD of a large,
+ sparse, rectangular matrix.
+ .
+ This package contains the shared libraries for SLEPc.
+
+Package: libslepc3.0.0-dbg
+Architecture: any
+Section: debug
+Depends: libslepc3.0.0-dev (= ${binary:Version}), libpetsc3.0.0-dbg (>= 3.0.0-0), libarpack2-dbg, ${misc:Depends}
+Description: Scalable Library for Eigenvalue Problem Computations
+ SLEPc is a software library for the solution of large scale sparse eigenvalue
+ problems on parallel computers. It is an extension of PETSc and can be used
+ for either standard or generalized eigenproblems, with real or complex
+ arithmetic. It can also be used for computing a partial SVD of a large,
+ sparse, rectangular matrix.
+ .
+ This package contains the static debugging libraries for SLEPc.
+
+Package: slepc3.0.0-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libslepc3.0.0-dev (= ${binary:Version})
+Description: Scalable Library for Eigenvalue Problem Computations
+ SLEPc is a software library for the solution of large scale sparse eigenvalue
+ problems on parallel computers. It is an extension of PETSc and can be used
+ for either standard or generalized eigenproblems, with real or complex
+ arithmetic. It can also be used for computing a partial SVD of a large,
+ sparse, rectangular matrix.
+ .
+ This package contains the documentation and examples for SLEPc.
Added: packages/slepc/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/copyright?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/copyright (added)
+++ packages/slepc/trunk/debian/copyright Sat May 29 09:40:24 2010
@@ -1,0 +1,24 @@
+This package was debianized by Ondrej Certik <ondrej at certik.cz> on
+Tue, 26 Jun 2007 11:18:31 +0200.
+
+It was downloaded from http://www.grycap.upv.es/slepc/
+
+Upstream Authors:
+
+ Vicente Hernandez
+ Jose E. Roman
+ Eloy Romero
+ Andres Tomas
+ Vicent Vidal
+
+Copyright:
+
+ Copyright (c) 2002-2009, Universidad Politecnica de Valencia, Spain
+
+License:
+
+ LGPL-3: /usr/share/common-licenses/LGPL-3
+
+
+The Debian packaging is (C) 2007, Ondrej Certik <ondrej at certik.cz> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: packages/slepc/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/docs?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/docs (added)
+++ packages/slepc/trunk/debian/docs Sat May 29 09:40:24 2010
@@ -1,0 +1,1 @@
+README
Added: packages/slepc/trunk/debian/libslepc3.0.0-dev.postinst.in
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/libslepc3.0.0-dev.postinst.in?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/libslepc3.0.0-dev.postinst.in (added)
+++ packages/slepc/trunk/debian/libslepc3.0.0-dev.postinst.in Sat May 29 09:40:24 2010
@@ -1,0 +1,11 @@
+#!/bin/sh -e
+
+# Make alternatives links
+if [ "$1" = "configure" ]; then
+update-alternatives --install /usr/lib/slepc slepc /usr/lib/slepcdir/slepc_ver 3000 \
+ --slave /usr/include/slepc slepcinclude /usr/lib/slepcdir/slepc_ver/include \
+ --slave /usr/lib/libslepc.a libslepc.a /usr/lib/slepcdir/slepc_ver/lib/libO/libslepc.a \
+ --slave /usr/lib/libslepc.so libslepc.so /usr/lib/libslepc.so.slepc_ver
+fi
+
+#DEBHELPER#
Added: packages/slepc/trunk/debian/libslepc3.0.0-dev.prerm.in
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/libslepc3.0.0-dev.prerm.in?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/libslepc3.0.0-dev.prerm.in (added)
+++ packages/slepc/trunk/debian/libslepc3.0.0-dev.prerm.in Sat May 29 09:40:24 2010
@@ -1,0 +1,8 @@
+#!/bin/sh -e
+
+# Remove alternatives links
+if [ "$1" = "remove" ]; then
+ update-alternatives --remove slepc /usr/lib/slepcdir/slepc_ver
+fi
+
+#DEBHELPER#
Added: packages/slepc/trunk/debian/patches/petsc-shlib-link.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/patches/petsc-shlib-link.patch?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/patches/petsc-shlib-link.patch (added)
+++ packages/slepc/trunk/debian/patches/petsc-shlib-link.patch Sat May 29 09:40:24 2010
@@ -1,0 +1,21 @@
+Link SLEPc shared library against PETSc shared libraries.
+
+Index: slepc-3.0.0-p7.dfsg/conf/slepc_common_variables
+===================================================================
+--- slepc-3.0.0-p7.dfsg.orig/conf/slepc_common_variables 2010-05-28 13:45:15.000000000 +0200
++++ slepc-3.0.0-p7.dfsg/conf/slepc_common_variables 2010-05-28 13:45:55.000000000 +0200
+@@ -8,7 +8,7 @@
+
+ PCONF = ${SLEPC_HAVE_ARPACK} ${SLEPC_HAVE_BLZPACK} ${SLEPC_HAVE_PLANSO} ${SLEPC_HAVE_TRLAN} ${SLEPC_MISSING_LAPACK} ${SLEPC_HAVE_PRIMME}
+ SLEPC_EXTERNAL_LIB = ${ARPACK_LIB} ${BLZPACK_LIB} ${PLANSO_LIB} ${TRLAN_LIB} ${PRIMME_LIB}
+-OTHERSHAREDLIBS = ${SLEPC_EXTERNAL_LIB}
++OTHERSHAREDLIBS = ${SLEPC_EXTERNAL_LIB} ${PETSC_KSP_LIB}
+
+ INSTALL_LIB_DIR = ${SLEPC_LIB_DIR}
+ CCPPFLAGS = ${PETSC_CCPPFLAGS} ${SLEPC_INCLUDE} ${PCONF}
+@@ -20,4 +20,5 @@
+ SLEPC_FORTRAN_LIB =
+
+ SHLIBS = libslepc
++LIBNAME = ${SLEPC_LIB_DIR}/libslepc.a
+
Added: packages/slepc/trunk/debian/patches/petsc31.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/patches/petsc31.patch?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/patches/petsc31.patch (added)
+++ packages/slepc/trunk/debian/patches/petsc31.patch Sat May 29 09:40:24 2010
@@ -1,0 +1,54 @@
+Index: slepc-3.0.0-p7.dfsg/config/makefile
+===================================================================
+--- slepc-3.0.0-p7.dfsg.orig/config/makefile 2010-05-28 13:43:03.000000000 +0200
++++ slepc-3.0.0-p7.dfsg/config/makefile 2010-05-28 13:43:56.000000000 +0200
+@@ -19,7 +19,8 @@
+ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ #
+
+-include ${PETSC_DIR}/conf/base
++include ${PETSC_DIR}/conf/variables
++include ${PETSC_DIR}/conf/rules
+
+ checklink: checklink.o chkopts
+ ${CLINKER} -o checklink checklink.o ${TESTFLAGS} ${PETSC_KSP_LIB}
+Index: slepc-3.0.0-p7.dfsg/src/eps/interface/monitor.c
+===================================================================
+--- slepc-3.0.0-p7.dfsg.orig/src/eps/interface/monitor.c 2010-05-28 13:43:03.000000000 +0200
++++ slepc-3.0.0-p7.dfsg/src/eps/interface/monitor.c 2010-05-28 13:43:56.000000000 +0200
+@@ -201,7 +201,7 @@
+ PetscInt i;
+ int n = eps->nev;
+ #if !defined(PETSC_USE_COMPLEX)
+- int p;
++ PetscReal p;
+ PetscDraw draw1;
+ PetscDrawLG lg1;
+ #endif
+Index: slepc-3.0.0-p7.dfsg/src/svd/interface/svdmon.c
+===================================================================
+--- slepc-3.0.0-p7.dfsg.orig/src/svd/interface/svdmon.c 2010-05-28 13:43:03.000000000 +0200
++++ slepc-3.0.0-p7.dfsg/src/svd/interface/svdmon.c 2010-05-28 13:43:56.000000000 +0200
+@@ -188,7 +188,8 @@
+ PetscDrawLG lg;
+ PetscErrorCode ierr;
+ PetscReal *x,*y;
+- int p,n = svd->nsv;
++ PetscReal p;
++ int n = svd->nsv;
+ PetscInt i;
+ PetscDraw draw1;
+ PetscDrawLG lg1;
+Index: slepc-3.0.0-p7.dfsg/src/sys/f90-mod/slepcmod.F
+===================================================================
+--- slepc-3.0.0-p7.dfsg.orig/src/sys/f90-mod/slepcmod.F 2010-05-28 13:43:03.000000000 +0200
++++ slepc-3.0.0-p7.dfsg/src/sys/f90-mod/slepcmod.F 2010-05-28 13:43:56.000000000 +0200
+@@ -19,7 +19,7 @@
+
+ #define PETSC_USE_FORTRAN_MODULES
+
+-#include "finclude/petscalldef.h"
++#include "finclude/petscdef.h"
+ #include "finclude/slepcalldef.h"
+
+ module slepcstdef
Added: packages/slepc/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/patches/series?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/patches/series (added)
+++ packages/slepc/trunk/debian/patches/series Sat May 29 09:40:24 2010
@@ -1,0 +1,2 @@
+petsc-shlib-link.patch
+petsc31.patch
Added: packages/slepc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/rules?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/rules (added)
+++ packages/slepc/trunk/debian/rules Sat May 29 09:40:24 2010
@@ -1,0 +1,283 @@
+#!/usr/bin/make -f
+# Sample debian/rules file - for GNU Hello (1.3).
+# Copyright 1994,1995 by Ian Jackson.
+# I hereby give you perpetual unlimited permission to copy,
+# modify and relicense this file, provided that you do not remove
+# my name from the file itself. (I assert my moral right of
+# paternity under the Copyright, Designs and Patents Act 1988.)
+# This file may have to be extensively modified
+
+# This file is strongly based on debian/rules from the Debian PETSc package
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# SLEPC_VERSION is used for the package names, library sonames, and
+# /usr/lib/slepcdir subdirectory names.
+SLEPC_VERSION=3.0.0
+
+# SLEPC_NAME is the install dir under /usr/lib and the base for package names
+SLEPC_NAME=slepc$(SLEPC_VERSION)
+
+# PETSC_ARCH is the architecture that PETSc was configured on.
+PETSC_ARCH=$(DEB_BUILD_GNU_SYSTEM)
+
+# PETSC_DIR is the location of PETSc.
+PETSC_DIR=/usr/lib/petsc
+
+# These files need to be customized based on architecture and/or version.
+# See the binary arch target for how they are generated.
+ARCH_GENERATED_FILES=debian/lib$(SLEPC_NAME)-dev.postinst \
+ debian/lib$(SLEPC_NAME)-dev.prerm
+
+export CPPFLAGS=-I/usr/include/petsc
+
+clean:
+ dh_testdir
+ -if [ -e patch ]; then \
+ debian/rules unpatch; \
+ fi
+ -mv tags thetags
+ dh_clean
+ -mv thetags tags
+ rm -f build* install* $(ARCH_GENERATED_FILES)
+ -$(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
+ SLEPC_DIR=$(CURDIR) allclean
+ -$(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-opt PETSC_DIR=$(PETSC_DIR) \
+ SLEPC_DIR=$(CURDIR) allclean
+# These probably should be removed by `make clean' but aren't
+ rm -f `find . -name \*.pyc -print`
+ rm -rf $(PETSC_ARCH)-c-debug $(PETSC_ARCH)-c-opt
+ rm -rf lib debian/extemp
+
+patch:
+ if [ ! -e $@ ]; then \
+ QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2; \
+ fi
+ touch $@
+
+unpatch:
+ if [ -e patch ]; then \
+ QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2; \
+ rm -rf patch .pc; \
+ fi
+
+build-indep: patch
+# We have nothing to do by default.
+ touch $@
+
+# With debugging=1, only static libraries are generated.
+# Build optimized libs second so files are consistent with optimized.
+build-arch: patch
+ PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
+ SLEPC_DIR=$(CURDIR) ./configure --with-arpack-dir=/usr/lib/debug/usr/lib \
+ --with-arpack-flags=-lparpack,-larpack
+ $(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
+ SLEPC_INSTALL_DIR=/usr/lib/slepcdir/$(SLEPC_VERSION) \
+ SLEPC_DIR=$(CURDIR)
+ PETSC_ARCH=$(PETSC_ARCH)-c-opt PETSC_DIR=$(PETSC_DIR) \
+ SLEPC_DIR=$(CURDIR) ./configure --with-arpack-dir=/usr/lib \
+ --with-arpack-flags=-lparpack,-larpack
+ $(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-opt PETSC_DIR=$(PETSC_DIR) \
+ SLEPC_INSTALL_DIR=/usr/lib/slepcdir/$(SLEPC_VERSION) \
+ SL_LINKER_SUFFIX_VERSIONED="so.$(SLEPC_VERSION)" \
+ SLEPC_DIR=$(CURDIR)
+ touch $@
+
+build: build-arch build-indep
+ touch $@
+
+install-arch: build-arch
+# Install conf in PETSC_DIR
+ install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/conf
+ for cfile in `ls conf`; do \
+ grep -v top_builddir conf/$$cfile | \
+ sed "s/`echo $(CURDIR) | sed s/\\\\//\\\\\\\\\\\\//g`/\/usr\/lib\/slepcdir\/$(SLEPC_VERSION)/g" > \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/conf/$$cfile ; \
+ done
+# Install PETSC_ARCH/conf and PETSC_ARCH/include files in SLEPC_DIR/PETSC_ARCH/;
+# replace this dir with install dir, and remove top_builddir
+ install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-opt/conf
+ for cfile in `ls $(PETSC_ARCH)-c-opt/conf`; do \
+ grep -v top_builddir $(PETSC_ARCH)-c-opt/conf/$$cfile | \
+ sed "s/`echo $(CURDIR) | sed s/\\\\//\\\\\\\\\\\\//g`/\/usr\/lib\/slepcdir\/$(SLEPC_VERSION)/g" > \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-opt/conf/$$cfile ; \
+ done
+ rm -f debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-opt/conf/*.py
+ cp -a $(PETSC_ARCH)-c-opt/include debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-opt/
+# Now conf and include for the -dbg package
+ install -d debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-debug/conf
+ for cfile in `ls $(PETSC_ARCH)-c-debug/conf`; do \
+ grep -v top_builddir $(PETSC_ARCH)-c-debug/conf/$$cfile | \
+ sed "s/`echo $(CURDIR) | sed s/\\\\//\\\\\\\\\\\\//g`/\/usr\/lib\/slepcdir\/$(SLEPC_VERSION)/g" > \
+ debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-debug/conf/$$cfile ; \
+ done
+ rm -f debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-debug/conf/*.py
+ cp -a $(PETSC_ARCH)-c-debug/include debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-debug/
+# Install headers in SLEPC_DIR/include
+ install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/finclude
+ cp -p include/*.h \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include
+ cp -p include/finclude/*.h include/finclude/*.h90 \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/finclude
+ install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/private
+ cp -p include/private/*.h \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/private
+ install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/src/eps/impls/blopex
+ sed "s/..\/src/src/" < src/eps/impls/blopex/slepc-interface.h > \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/src/eps/impls/blopex/slepc-interface.h
+ install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/src/eps/impls/arpack
+ cp -p src/eps/impls/arpack/arpackp.h \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/src/eps/impls/arpack
+# Install libs in SLEPC_DIR, move shared libs to /usr/lib and symlink
+ install -d debian/lib$(SLEPC_NAME)/usr/lib
+ cp -a $(PETSC_ARCH)-c-opt/lib debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-opt/
+ cp -a $(PETSC_ARCH)-c-debug/lib debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-debug/
+ for LIB in `cd $(PETSC_ARCH)-c-opt/lib && ls *.so.*` ; \
+ do \
+ mv debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-opt/lib/$$LIB \
+ debian/lib$(SLEPC_NAME)/usr/lib/$$LIB ; \
+ ln -s ../../../../$$LIB \
+ debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/$(PETSC_ARCH)-c-opt/lib/$$LIB ; \
+ done
+# Make legacy symlinks including C++
+ install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/lib
+ ln -s ../$(PETSC_ARCH)-c-opt/lib debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/lib/libO
+ ln -s ../$(PETSC_ARCH)-c-opt/lib debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/lib/libO_c++
+ install -d debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/lib
+ ln -s ../$(PETSC_ARCH)-c-debug/lib debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/lib/libg
+ ln -s ../$(PETSC_ARCH)-c-debug/lib debian/lib$(SLEPC_NAME)-dbg/usr/lib/slepcdir/$(SLEPC_VERSION)/lib/libg_c++
+ touch install-arch
+
+# Depends on install-arch because it creates SLEPC_DIR
+install-indep: build-indep install-arch
+ifeq ($(SLEPC_VERSION),3.0.0)
+# Install header documentation in -doc/include
+ install -d debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/include/finclude
+ cp -p include/*.html \
+ debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/include
+ cp -p include/finclude/*.html \
+ debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/include/finclude
+ install -d debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/include/private
+ cp -p include/private/*.html \
+ debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/include/private
+ for HEADERDOC in `cd debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/ && find include -name \*.h.html -print | sed s/.h.html/.h/`; \
+ do \
+ dh_link -p$(SLEPC_NAME)-doc \
+ usr/lib/slepcdir/$(SLEPC_VERSION)/$$HEADERDOC \
+ usr/share/doc/$(SLEPC_NAME)-doc/$$HEADERDOC; \
+ done
+# Install examples documentation in -doc/src directory
+ for TESTDIR in `find src -name examples -print | sed "s/src\///"`; \
+ do \
+ install -d debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/src/$$TESTDIR; \
+ for TESTDOC in `find src/$$TESTDIR -name \*.html -print`; do \
+ cp -a $$TESTDOC \
+ debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/src/$$TESTDIR; \
+ done ; \
+ done
+# I don't know of a way to do this "recursively"
+ -rmdir `find debian/slepc3.0.0-doc -empty -type d -print`
+ -rmdir `find debian/slepc3.0.0-doc -empty -type d -print`
+ -rmdir `find debian/slepc3.0.0-doc -empty -type d -print`
+ -rmdir `find debian/slepc3.0.0-doc -empty -type d -print`
+# Install examples & makefiles into temporary directory debian/extemp
+ for TESTDIR in `find src -name examples -print | sed "s/src\///"`; \
+ do \
+ install -d debian/extemp/src/$$TESTDIR; \
+ cp -a src/$$TESTDIR/* debian/extemp/src/$$TESTDIR; \
+ done
+ for MAKEFILE in `find src -name makefile -print | sed "s/src\///"`; \
+ do \
+ if [ -d debian/extemp/src/`echo $$MAKEFILE | sed "s/makefile//"` ] ;\
+ then \
+ cp -p src/$$MAKEFILE debian/extemp/src/$$MAKEFILE; \
+ fi; \
+ done
+# Clean up documentation from debian/extemp
+ rm -f `find debian/extemp -name \*.html -print`
+# Pack debian/extemp/src into src.tar.gz and install
+ cd debian/extemp && tar czf src.tar.gz src
+ mv debian/extemp/src.tar.gz \
+ debian/$(SLEPC_NAME)-doc/usr/share/doc/$(SLEPC_NAME)-doc/src.tar.gz
+ rm -rf debian/extemp
+# Make links to documentation and examples from SLEPC_DIR and docs
+ dh_link -p$(SLEPC_NAME)-doc \
+ usr/share/doc/$(SLEPC_NAME)-doc/docs \
+ usr/lib/slepcdir/$(SLEPC_VERSION)/docs \
+ usr/share/doc/$(SLEPC_NAME)-doc/docs/index.html \
+ usr/lib/slepcdir/$(SLEPC_VERSION)/index.html \
+ usr/share/doc/$(SLEPC_NAME)-doc/makefile.html \
+ usr/lib/slepcdir/$(SLEPC_VERSION)/makefile.html \
+ usr/share/doc/$(SLEPC_NAME)-doc/src \
+ usr/lib/slepcdir/$(SLEPC_VERSION)/src
+ touch install-indep
+endif
+
+install: install-arch install-indep
+ touch install
+
+binary-indep: install-indep
+ifeq ($(SLEPC_VERSION),3.0.0)
+ dh_testdir -i
+ dh_testroot -i
+ dh_installdirs -i
+ dh_installdocs -i
+# Clean up and finish
+ rm -f `find debian/$(SLEPC_NAME)-doc -name ?akefile -print`
+ rm -f `find debian/$(SLEPC_NAME)-doc -name *.cit* -print`
+ rm -f `find debian/$(SLEPC_NAME)-doc -empty -type f -print`
+ dh_installchangelogs -i
+ dh_compress -i -X.xbm -X.pdf
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+endif
+
+binary-arch: install-arch
+ dh_testdir -a
+ dh_testroot -a
+ for ARCHGEN in $(ARCH_GENERATED_FILES); do \
+ rm -f $$ARCHGEN ; \
+ sed "s/petsc_arch/$(PETSC_ARCH)-c-opt/" < \
+ `echo "$$ARCHGEN.in" | sed "s/$(SLEPC_NAME)/slepc3.0.0/"` | \
+ sed "s/slepc_ver/$(SLEPC_VERSION)/" > $$ARCHGEN; \
+ done
+ dh_installdirs -a
+ dh_installdocs -a
+ dh_installchangelogs -a
+ dh_strip -a -Xlibg$(SLEPC_BOPT_EXTRA)
+ dh_makeshlibs -a -m$(SLEPC_VERSION)
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+DEB_SOURCE_PACKAGE = slepc
+DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p')
+USCAN_DESTDIR := $(CURDIR)
+
+.PHONY: binary binary-arch binary-indep clean checkroot get-orig-source
+get-orig-source:
+ uscan --force-download --verbose --check-dirname-level 0 --destdir $(USCAN_DESTDIR) --download-version $(DEB_STRIPPED_UPSTREAM_VERSION) --upstream-version $(DEB_STRIPPED_UPSTREAM_VERSION) ; \
+ set -ex ;
+ test -d $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig && rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig ; \
+ TMPDIR=$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig; \
+ mkdir $$TMPDIR; \
+ cp $(USCAN_DESTDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz "$$TMPDIR" ; \
+ tar -C "$$TMPDIR" --strip-components 1 -xzf "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz ; \
+ rm -f "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)*.tar.gz ; \
+ rm -f "$$TMPDIR"/docs/slepc.pdf ; \
+ GZIP=-9 tar -czf \
+ $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+ $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig ; \
+ rm -rf "$$TMPDIR"
+
Propchange: packages/slepc/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/slepc/trunk/debian/slepc3.0.0-doc.docs
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/slepc3.0.0-doc.docs?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/slepc3.0.0-doc.docs (added)
+++ packages/slepc/trunk/debian/slepc3.0.0-doc.docs Sat May 29 09:40:24 2010
@@ -1,0 +1,1 @@
+docs
Added: packages/slepc/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/watch?rev=36564&op=file
==============================================================================
--- packages/slepc/trunk/debian/watch (added)
+++ packages/slepc/trunk/debian/watch Sat May 29 09:40:24 2010
@@ -1,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\.dfsg\.\d+$//,downloadurlmangle=s/download.php\?filename=/distrib\//,filenamemangle=s/^.*(slepc.*?\.tgz)/$1/ \
+ http://www.grycap.upv.es/slepc/download/download.htm ^.*slepc-(.+)\.tgz$
More information about the debian-science-commits
mailing list