r10692 - in /packages/itsol: ./ trunk/ trunk/debian/ trunk/debian/patches/

domibel-guest at users.alioth.debian.org domibel-guest at users.alioth.debian.org
Sat Sep 6 22:59:11 UTC 2008


Author: domibel-guest
Date: Sat Sep  6 22:59:11 2008
New Revision: 10692

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=10692
Log:
new package ITSOL

Added:
    packages/itsol/
    packages/itsol/trunk/
    packages/itsol/trunk/debian/
    packages/itsol/trunk/debian/README.Debian
    packages/itsol/trunk/debian/changelog
    packages/itsol/trunk/debian/compat
    packages/itsol/trunk/debian/control
    packages/itsol/trunk/debian/copyright
    packages/itsol/trunk/debian/get-orig-source
    packages/itsol/trunk/debian/patches/
    packages/itsol/trunk/debian/patches/00list
    packages/itsol/trunk/debian/patches/10_gfortran.dpatch   (with props)
    packages/itsol/trunk/debian/patches/20_preprocessor.dpatch   (with props)
    packages/itsol/trunk/debian/patches/30_tests.dpatch   (with props)
    packages/itsol/trunk/debian/rules   (with props)
    packages/itsol/trunk/debian/shlibs.local.ex

Added: packages/itsol/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/README.Debian?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/README.Debian (added)
+++ packages/itsol/trunk/debian/README.Debian Sat Sep  6 22:59:11 2008
@@ -1,0 +1,6 @@
+itsol for Debian
+----------------
+
+nothing for the moment
+
+ -- Dominique Belhachemi <domibel at cs.tu-berlin.de>  Sat, 06 Sep 2008 22:36:05 +0200

Added: packages/itsol/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/changelog?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/changelog (added)
+++ packages/itsol/trunk/debian/changelog Sat Sep  6 22:59:11 2008
@@ -1,0 +1,6 @@
+itsol (1.0.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Dominique Belhachemi <domibel at cs.tu-berlin.de>  Sat, 06 Sep 2008 22:36:05 +0200
+

Added: packages/itsol/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/compat?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/compat (added)
+++ packages/itsol/trunk/debian/compat Sat Sep  6 22:59:11 2008
@@ -1,0 +1,1 @@
+7

Added: packages/itsol/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/control?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/control (added)
+++ packages/itsol/trunk/debian/control Sat Sep  6 22:59:11 2008
@@ -1,0 +1,59 @@
+Source: itsol
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Dominique Belhachemi <domibel at cs.tu-berlin.de>
+Build-Depends: debhelper (>= 7), dpatch, gfortran, liblapack-dev
+Standards-Version: 3.8.0
+Section: libs
+Homepage: http://www-users.cs.umn.edu/~saad/software/ITSOL/
+
+
+Package: libitsol-dev
+Section: libdevel
+Architecture: any
+Depends: libitsol1 (= ${binary:Version})
+Description: ITerative SOLvers
+ ITSOL is a library of iterative solvers for general sparse linear systems of
+ equations. ITSOL can be viewed as an extension of the itsol module in SPARSKIT.
+ It is written in C and offers a selection of recently developed
+ preconditioners. The preconditioner suite includes:
+ .
+   * ILUK (ILU preconditioner with level of fill)
+   * ILUT (ILU preconditioner with threshold)
+   * ILUC (Crout version of ILUT)
+   * VBILUK (variable block preconditioner with level of fill - with automatic
+     block detection)
+   * VBILUT (variable block preconditioner with threshold - with automatic
+     block detection)
+   * ARMS (Algebraic Recursive Multilevel Solvers -- includes actually several
+     methods - In particular the standard ARMS and the ddPQ version which uses
+     nonsymmetric permutations)
+ .
+ Note that ITSOL is a scalar package. You may find parallel implentations of
+ some of the preconditioners listed above in pARMS.
+
+
+Package: libitsol1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ITerative SOLvers
+ ITSOL is a library of iterative solvers for general sparse linear systems of 
+ equations. ITSOL can be viewed as an extension of the itsol module in SPARSKIT. 
+ It is written in C and offers a selection of recently developed
+ preconditioners. The preconditioner suite includes:
+ .
+   * ILUK (ILU preconditioner with level of fill)
+   * ILUT (ILU preconditioner with threshold)
+   * ILUC (Crout version of ILUT)
+   * VBILUK (variable block preconditioner with level of fill - with automatic
+     block detection)
+   * VBILUT (variable block preconditioner with threshold - with automatic
+     block detection)
+   * ARMS (Algebraic Recursive Multilevel Solvers -- includes actually several
+     methods - In particular the standard ARMS and the ddPQ version which uses
+     nonsymmetric permutations) 
+ .
+ Note that ITSOL is a scalar package. You may find parallel implentations of
+ some of the preconditioners listed above in pARMS. 

Added: packages/itsol/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/copyright?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/copyright (added)
+++ packages/itsol/trunk/debian/copyright Sat Sep  6 22:59:11 2008
@@ -1,0 +1,32 @@
+This package was debianized by Dominique Belhachemi <domibel at cs.tu-berlin.de> on
+Sat, 06 Sep 2008 22:36:05 +0200.
+
+It was downloaded from http://www-users.cs.umn.edu/~saad/software/ITSOL/
+
+Upstream Author:
+
+    Yousef Saad (saad at cs.umn.edu)
+
+Copyright:
+
+    2006, the University of Minnesota
+
+License:
+
+    ITSOL 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 [version 2 of  the License, or any later version]
+    For details, see
+    .
+    GNU Public License site 
+    .
+    A copy of the GNU licencing agreement is attached to the ITSOL package
+    in the file GNU.  For additional information contact the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+    .
+    On Debian systems, the complete text of the GNU General Public
+    License can be found in the file `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is (C) 2008, Dominique Belhachemi <domibel at cs.tu-berlin.de> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+

Added: packages/itsol/trunk/debian/get-orig-source
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/get-orig-source?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/get-orig-source (added)
+++ packages/itsol/trunk/debian/get-orig-source Sat Sep  6 22:59:11 2008
@@ -1,0 +1,6 @@
+wget http://www-users.cs.umn.edu/~saad/software/ITSOL/ITSOL_1.tar.gz
+
+tar xvzf ITSOL_1.tar.gz
+mv ITSOL_1 itsol-1.0.0
+tar cvzf itsol_1.0.0.orig.tar.gz itsol-1.0.0
+rm ITSOL_1.tar.gz

Added: packages/itsol/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/patches/00list?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/patches/00list (added)
+++ packages/itsol/trunk/debian/patches/00list Sat Sep  6 22:59:11 2008
@@ -1,0 +1,3 @@
+10_gfortran.dpatch
+20_preprocessor.dpatch
+30_tests.dpatch

Added: packages/itsol/trunk/debian/patches/10_gfortran.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/patches/10_gfortran.dpatch?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/patches/10_gfortran.dpatch (added)
+++ packages/itsol/trunk/debian/patches/10_gfortran.dpatch Sat Sep  6 22:59:11 2008
@@ -1,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_gfortran.dpatch by  <domibel at sid1500>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad itsol-1.0.0~/makefile itsol-1.0.0/makefile
+--- itsol-1.0.0~/makefile	2008-09-06 23:09:03.000000000 +0200
++++ itsol-1.0.0/makefile	2008-09-06 23:10:33.000000000 +0200
+@@ -9,11 +9,11 @@
+ AR = ar -rcv
+ 
+ #
+-FC      =  f77
+-FCFLAGS =  -c -g -Wall
++FC      =  gfortran
++FCFLAGS =  -c -g -Wall -ffixed-line-length-none -ffree-line-length-none
+ CC      =  cc
+ CCFLAGS =  -c -g -DLINUX -Wall -O3
+-LD      =  f77 
++LD      =  gfortran
+ LDFLAGS = 
+ #
+ # clear list of default suffixes, and declare default suffixes

Propchange: packages/itsol/trunk/debian/patches/10_gfortran.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/itsol/trunk/debian/patches/20_preprocessor.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/patches/20_preprocessor.dpatch?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/patches/20_preprocessor.dpatch (added)
+++ packages/itsol/trunk/debian/patches/20_preprocessor.dpatch Sat Sep  6 22:59:11 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_preprocessor.dpatch by  <domibel at sid1500>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad itsol-1.0.0~/LIB/systimer.c itsol-1.0.0/LIB/systimer.c
+--- itsol-1.0.0~/LIB/systimer.c	2008-09-06 22:51:27.000000000 +0200
++++ itsol-1.0.0/LIB/systimer.c	2008-09-06 22:52:11.000000000 +0200
+@@ -30,7 +30,7 @@
+ #include <sys/time.h>
+ 
+ #ifndef CLK_TCK
+-#define ClK_TCK 100
++#define CLK_TCK 100
+ #endif
+ 
+ #ifndef CLOCKS_PER_SEC 

Propchange: packages/itsol/trunk/debian/patches/20_preprocessor.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/itsol/trunk/debian/patches/30_tests.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/patches/30_tests.dpatch?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/patches/30_tests.dpatch (added)
+++ packages/itsol/trunk/debian/patches/30_tests.dpatch Sat Sep  6 22:59:11 2008
@@ -1,0 +1,48 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_tests.dpatch by  <domibel at sid1500>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad itsol-1.0.0~/TESTS_COO/makefile itsol-1.0.0/TESTS_COO/makefile
+--- itsol-1.0.0~/TESTS_COO/makefile	2008-04-22 16:53:11.000000000 +0200
++++ itsol-1.0.0/TESTS_COO/makefile	2008-09-07 00:05:32.000000000 +0200
+@@ -8,11 +8,11 @@
+ ##-L/project/scicom/scicom00/SOFT/lib/linux/linux32 -llapack_LINUX \
+ ##	 -L/project/scicom/scicom00/SOFT/lib/linux/linux32 -lblas_LINUX 
+ #
+-FC      =  f77
++FC      =  gfortran
+ FCFLAGS =  -c -g -Wall
+ CC      =  cc
+ CCFLAGS =  -c -DLINUX -Wall -O3
+-LD      =  f77 
++LD      =  gfortran
+ LDFLAGS = 
+ #
+ # clear list of default suffixes, and declare default suffixes
+diff -urNad itsol-1.0.0~/TESTS_HB/makefile itsol-1.0.0/TESTS_HB/makefile
+--- itsol-1.0.0~/TESTS_HB/makefile	2008-09-07 00:05:11.000000000 +0200
++++ itsol-1.0.0/TESTS_HB/makefile	2008-09-07 00:05:14.000000000 +0200
+@@ -6,11 +6,11 @@
+ 	 -L/project/scicom/scicom00/SOFT/lib/linux32 -lblas
+ 
+ #
+-FC      =  f77
++FC      =  gfortran
+ FCFLAGS =  -c -g -Wall
+ CC      =  cc
+ CCFLAGS =  -c -g -DLINUX -Wall -O3
+-LD      =  f77 
++LD      =  gfortran
+ LDFLAGS = 
+ #
+ # clear list of default suffixes, and declare default suffixes
+@@ -44,4 +44,4 @@
+ 	$(LD) $(LDFLAGS) mainVBILUThb.o $(LINKS) -o vbilut.ex
+ #
+ clean :
+-	rm -f *.o *.ex *~ core *.cache OUT/*
+\ No newline at end of file
++	rm -f *.o *.ex *~ core *.cache OUT/*

Propchange: packages/itsol/trunk/debian/patches/30_tests.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/itsol/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/rules?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/rules (added)
+++ packages/itsol/trunk/debian/rules Sat Sep  6 22:59:11 2008
@@ -1,0 +1,114 @@
+#!/usr/bin/make -f
+
+PACKAGE=itsol
+
+# DPatch
+DEB_SOURCE_PACKAGE:=$(PACKAGE)
+include /usr/share/dpatch/dpatch.make
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+get-orig-source:
+	. debian/get-orig-source
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp  
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	# build tests
+	cd TESTS_HB \
+              && make all
+	cd TESTS_COO \
+              && make all
+
+
+	# run tests
+	cd TESTS_HB \
+              && chmod 755 runall
+	cd TESTS_HB \
+              && ./runall
+	cd TESTS_COO \
+              && ./runall
+
+
+
+	touch $@
+
+clean: clean-patched unpatch
+
+clean-patched: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+#	$(MAKE) clean
+	$(MAKE) cleanall
+	cd TESTS_HB \
+              && make clean
+	cd TESTS_COO \
+              && make clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+#	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	dh_install -plibitsol-dev    libitsol.a     usr/lib
+
+
+
+# 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
+#	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 configure

Propchange: packages/itsol/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/itsol/trunk/debian/shlibs.local.ex
URL: http://svn.debian.org/wsvn/debian-science/packages/itsol/trunk/debian/shlibs.local.ex?rev=10692&op=file
==============================================================================
--- packages/itsol/trunk/debian/shlibs.local.ex (added)
+++ packages/itsol/trunk/debian/shlibs.local.ex Sat Sep  6 22:59:11 2008
@@ -1,0 +1,1 @@
+libitsol 1.0.0 itsol (>> 1.0.0-0), itsol (<< 1.0.0-99)




More information about the debian-science-commits mailing list