r35211 - in /packages/sparskit: ./ trunk/ trunk/debian/ trunk/debian/patches/

domibel-guest at users.alioth.debian.org domibel-guest at users.alioth.debian.org
Fri Sep 12 14:00:53 UTC 2008


Author: domibel-guest
Date: Fri Sep 12 14:00:52 2008
New Revision: 35211

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

Added:
    packages/sparskit/
    packages/sparskit/trunk/
    packages/sparskit/trunk/debian/
    packages/sparskit/trunk/debian/README.Debian
    packages/sparskit/trunk/debian/changelog
    packages/sparskit/trunk/debian/compat
    packages/sparskit/trunk/debian/control
    packages/sparskit/trunk/debian/copyright
    packages/sparskit/trunk/debian/docs
    packages/sparskit/trunk/debian/get-orig-source
    packages/sparskit/trunk/debian/patches/
    packages/sparskit/trunk/debian/patches/00list
    packages/sparskit/trunk/debian/patches/50_gfortran.dpatch   (with props)
    packages/sparskit/trunk/debian/rules   (with props)

Added: packages/sparskit/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/README.Debian?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/README.Debian (added)
+++ packages/sparskit/trunk/debian/README.Debian Fri Sep 12 14:00:52 2008
@@ -1,0 +1,13 @@
+sparskit for Debian
+-------------------
+
+ln -s /usr/bin/gfortran /usr/bin/f77
+
+package: make
+make-dfsg-3.81$ grep -r f77 .
+./default.c:    "CF", "cf77",
+./default.c:    "FC", "f77",
+
+
+
+ -- Dominique Belhachemi <domibel at cs.tu-berlin.de>  Thu, 11 Sep 2008 23:22:53 +0200

Added: packages/sparskit/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/changelog?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/changelog (added)
+++ packages/sparskit/trunk/debian/changelog Fri Sep 12 14:00:52 2008
@@ -1,0 +1,6 @@
+sparskit (2.0.0-1) intrepid; urgency=low
+
+  * Initial release (Closes: #498653)
+
+ -- Dominique Belhachemi <domibel at cs.tu-berlin.de>  Thu, 11 Sep 2008 23:22:53 +0200
+

Added: packages/sparskit/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/compat?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/compat (added)
+++ packages/sparskit/trunk/debian/compat Fri Sep 12 14:00:52 2008
@@ -1,0 +1,1 @@
+7

Added: packages/sparskit/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/control?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/control (added)
+++ packages/sparskit/trunk/debian/control Fri Sep 12 14:00:52 2008
@@ -1,0 +1,37 @@
+Source: sparskit
+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
+Standards-Version: 3.8.0
+Section: libs
+Homepage: http://www-users.cs.umn.edu/~saad/software/SPARSKIT/sparskit.html
+
+Package: libsparskit-dev
+Section: libdevel
+Architecture: any
+Depends: libsparskit2 (= ${binary:Version})
+Description: A basic tool-kit for sparse matrix computations
+ SPARSKIT a basic tool-kit for sparse matrix computations. Sparskit is a general
+ purpose FORTRAN-77  library for sparse matrix computations. It has been
+ gathered over several years and includes some of the most useful tools for
+ developing and implementing sparse matrix techniques, particularly for
+ iterative solvers. If you need a simple routine for doing a sparse matrix
+ operation (e.g., adding two sparse matrices, or reordering a sparse matrix) it
+ is likely to be available in SPARSKIT. SPARSKIT also contains most of the
+ iterative accelarators and a number of efficient preconditioners.
+
+Package: libsparskit2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A basic tool-kit for sparse matrix computations
+ SPARSKIT a basic tool-kit for sparse matrix computations. Sparskit is a
+ general purpose FORTRAN-77 library for sparse matrix computations. It has
+ been gathered over several years and includes some of the most useful tools
+ for developing and implementing sparse matrix techniques, particularly for
+ iterative solvers. If you need a simple routine for doing a sparse matrix
+ operation (e.g., adding two sparse matrices, or reordering a sparse matrix)
+ it is likely to be available in SPARSKIT. SPARSKIT also contains  most of
+ the iterative accelarators and a number of efficient preconditioners.

Added: packages/sparskit/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/copyright?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/copyright (added)
+++ packages/sparskit/trunk/debian/copyright Fri Sep 12 14:00:52 2008
@@ -1,0 +1,17 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: Dominique Belhachemi <domibel at cs.tu-berlin.de>
+Debianized-Date: Thu, 11 Sep 2008 23:22:53 +0200
+Original-Source: http://www-users.cs.umn.edu/~saad/software/SPARSKIT/sparskit.html
+
+Files: *
+Copyright:
+ Copyright (C) 2005, the University of Minnesota,
+               Yousef Saad, saad AT cs dot umn dot edu
+
+License: LGPL-2.1
+ see `/usr/share/common-licenses/LGPL-2.1'
+
+Files: debian/*
+Copyright: Copyright 2008, Dominique Belhachemi <domibel at cs.tu-berlin.de>
+License: GPL-2+
+ The Debian packaging is licensed under the GPL, see `/usr/share/common-licenses/GPL'

Added: packages/sparskit/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/docs?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/docs (added)
+++ packages/sparskit/trunk/debian/docs Fri Sep 12 14:00:52 2008
@@ -1,0 +1,1 @@
+README

Added: packages/sparskit/trunk/debian/get-orig-source
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/get-orig-source?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/get-orig-source (added)
+++ packages/sparskit/trunk/debian/get-orig-source Fri Sep 12 14:00:52 2008
@@ -1,0 +1,7 @@
+wget http://www-users.cs.umn.edu/~saad/software/SPARSKIT/SPARSKIT2.tar.gz
+tar xvzf SPARSKIT2.tar.gz
+mv SPARSKIT2 sparskit-2.0.0
+tar cvzf sparskit_2.0.0.orig.tar.gz sparskit-2.0.0/
+rm SPARSKIT2.tar.gz
+
+

Added: packages/sparskit/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/patches/00list?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/patches/00list (added)
+++ packages/sparskit/trunk/debian/patches/00list Fri Sep 12 14:00:52 2008
@@ -1,0 +1,1 @@
+50_gfortran.dpatch

Added: packages/sparskit/trunk/debian/patches/50_gfortran.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/patches/50_gfortran.dpatch?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/patches/50_gfortran.dpatch (added)
+++ packages/sparskit/trunk/debian/patches/50_gfortran.dpatch Fri Sep 12 14:00:52 2008
@@ -1,0 +1,187 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_gfortran.dpatch by  <domibel at sid1500>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: replaces f77 by gfortran
+
+ at DPATCH@
+diff -urNad sparskit-2.0.0~/BLASSM/makefile sparskit-2.0.0/BLASSM/makefile
+--- sparskit-2.0.0~/BLASSM/makefile	1996-08-13 01:13:02.000000000 +0200
++++ sparskit-2.0.0/BLASSM/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,8 +1,5 @@
+ FFLAGS = 
+-F77 = f77
+-
+-#F77 = cf77
+-#FFLAGS = -Wf"-dp"
++F77 = gfortran
+ 
+ mvec.ex: rmatvec.o ../MATGEN/FDIF/functns.o ../libskit.a
+ 	$(F77) $(FFLAGS) -o mvec.ex rmatvec.o ../MATGEN/FDIF/functns.o ../libskit.a
+diff -urNad sparskit-2.0.0~/FORMATS/makefile sparskit-2.0.0/FORMATS/makefile
+--- sparskit-2.0.0~/FORMATS/makefile	1996-08-13 01:13:24.000000000 +0200
++++ sparskit-2.0.0/FORMATS/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,8 +1,6 @@
+ FFLAGS =
+-F77 = f77
+-
+-#F77 = cf77
+-#FFLAGS = -Wf"-dp"
++F77 = gfortran
++FC = gfortran
+ 
+ FILES1 = chkun.o 
+ FILES2 = chkfmt1.o 
+diff -urNad sparskit-2.0.0~/INFO/makefile sparskit-2.0.0/INFO/makefile
+--- sparskit-2.0.0~/INFO/makefile	2003-07-11 23:38:12.000000000 +0200
++++ sparskit-2.0.0/INFO/makefile	2008-09-12 15:06:55.000000000 +0200
+@@ -1,18 +1,14 @@
+-# 
+-F77 = f77
+-#F77 = cf77
++FC = gfortran
++F77 = gfortran
+ FFLAGS = -g -Wall 
+ 
+ FILES = rinfo1.o dinfo13.o
+ ## needs library libskit.a in whatever machine version -- 
+ 
+-LIB   = -L/project/darpa/lib/PC -lskit
+-##LIB   = -L/project/darpa/lib/solaris -lskit
+-
+ info1.ex: $(FILES) 
+-	$(F77) -o info1.ex $(FILES) $(LIB) 
++	$(F77) -o info1.ex $(FILES) ../libskit.a
+ 
+ clean:
+ 	rm -f *.o *.ex core *.trace *~ 
+ 
+-.f.o  : ;       $(F77) $(FFLAGS) -c $*.f -o $*.o
+\ No newline at end of file
++.f.o  : ;       $(F77) $(FFLAGS) -c $*.f -o $*.o
+diff -urNad sparskit-2.0.0~/INOUT/makefile sparskit-2.0.0/INOUT/makefile
+--- sparskit-2.0.0~/INOUT/makefile	1996-08-13 01:13:40.000000000 +0200
++++ sparskit-2.0.0/INOUT/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,5 +1,6 @@
+ FFLAGS = 
+-F77 = f77
++F77 = gfortran
++FC = gfortran
+ 
+ #F77 = cf77
+ #FFLAGS = -Wf"-dp"
+diff -urNad sparskit-2.0.0~/ITSOL/makefile sparskit-2.0.0/ITSOL/makefile
+--- sparskit-2.0.0~/ITSOL/makefile	1996-08-13 01:13:46.000000000 +0200
++++ sparskit-2.0.0/ITSOL/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,8 +1,6 @@
+ FFLAGS =
+-F77 = f77
+-
+-#F77 = cf77
+-#FFLAGS = -Wf"-dp"
++F77 = gfortran
++FC = gfortran
+ 
+ LIBS =  ../libskit.a ../UNSUPP/BLAS1/blas1.o
+ 
+diff -urNad sparskit-2.0.0~/MATGEN/FDIF/makefile sparskit-2.0.0/MATGEN/FDIF/makefile
+--- sparskit-2.0.0~/MATGEN/FDIF/makefile	1996-08-13 01:13:56.000000000 +0200
++++ sparskit-2.0.0/MATGEN/FDIF/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,8 +1,6 @@
+ FFLAGS = 
+-F77 = f77
+-
+-#F77 = cf77
+-#FFLAGS = -Wf"-dp"
++F77 = gfortran
++FC = gfortran
+ 
+ FILES1 = rgen5pt.o functns.o 
+ 
+diff -urNad sparskit-2.0.0~/MATGEN/FEM/makefile sparskit-2.0.0/MATGEN/FEM/makefile
+--- sparskit-2.0.0~/MATGEN/FEM/makefile	1996-08-13 01:14:02.000000000 +0200
++++ sparskit-2.0.0/MATGEN/FEM/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,8 +1,6 @@
+ FFLAGS = 
+-F77 = f77
+-
+-#F77 = cf77
+-#FFLAGS = -Wf"-dp"
++F77 = gfortran
++FC = gfortran
+ 
+ FILES = convdif.o functns2.o
+ 
+diff -urNad sparskit-2.0.0~/MATGEN/MISC/makefile sparskit-2.0.0/MATGEN/MISC/makefile
+--- sparskit-2.0.0~/MATGEN/MISC/makefile	1996-08-13 01:14:08.000000000 +0200
++++ sparskit-2.0.0/MATGEN/MISC/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,5 +1,6 @@
+ FFLAGS = 
+-F77 = f77
++F77 = gfortran
++FC = gfortran
+ 
+ #F77 = cf77
+ #FFLAGS = -Wf"-dp"
+diff -urNad sparskit-2.0.0~/UNSUPP/MATEXP/makefile sparskit-2.0.0/UNSUPP/MATEXP/makefile
+--- sparskit-2.0.0~/UNSUPP/MATEXP/makefile	1996-08-13 01:14:17.000000000 +0200
++++ sparskit-2.0.0/UNSUPP/MATEXP/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -1,8 +1,6 @@
+ FFLAGS = 
+-F77 = f77
+-
+-#F77 = cf77
+-#FFLAGS = -Wf"-dp"
++F77 = gfortran
++FC = gfortran
+ 
+ FILES1 = rexp.o exppro.o 
+ FILES2 = rphi.o phipro.o 
+diff -urNad sparskit-2.0.0~/makefile sparskit-2.0.0/makefile
+--- sparskit-2.0.0~/makefile	2001-07-13 00:01:39.000000000 +0200
++++ sparskit-2.0.0/makefile	2008-09-12 15:05:38.000000000 +0200
+@@ -20,28 +20,27 @@
+ # Last Updated:  May 9, 1994.
+ 
+ SHELL = /bin/sh
+-F77 = f77 
+-# F77 = f77 
++F77 = gfortran
++FC = gfortran
+ # AR = ar rcv 
+ AR = ar -rcv 
+ # OPT = -c 
+ # OPT = -c -static -64 -mips4 -O3 -r10000
+ OPT = -c -O
+ 
+-# Cray options
+-#F77 = cf77
+-#AR = bld rv
+-#OPT = -c -Wf"-dp" 
+ 
+ #
+ # library objects
+ #
+ OBJ =	BLASSM/blassm.o		\
+ 	BLASSM/matvec.o		\
++	BLASSM/rmatvec.o 	\
++	BLASSM/tester.o 	\
+ 	FORMATS/formats.o	\
+ 	FORMATS/unary.o		\
+ 	INFO/infofun.o		\
+ 	INOUT/inout.o		\
++	INOUT/chkio.f		\
+ 	ITSOL/ilut.o		\
+ 	ITSOL/iters.o		\
+ 	MATGEN/FDIF/genmat.o	\
+@@ -103,6 +102,10 @@
+ 	(cd BLASSM ; $(F77)  $(OPT) blassm.f)
+ BLASSM/matvec.o: BLASSM/matvec.f
+ 	(cd BLASSM ; $(F77)  $(OPT) matvec.f)
++BLASSM/rmatvec.o: BLASSM/rmatvec.f
++	(cd BLASSM ; $(F77)  $(OPT) rmatvec.f)
++BLASSM/tester.o: BLASSM/tester.f
++	(cd BLASSM ; $(F77)  $(OPT) tester.f)
+ FORMATS/formats.o: FORMATS/formats.f
+ 	(cd FORMATS ; $(F77)  $(OPT) formats.f)
+ FORMATS/unary.o: FORMATS/unary.f

Propchange: packages/sparskit/trunk/debian/patches/50_gfortran.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/sparskit/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/sparskit/trunk/debian/rules?rev=35211&op=file
==============================================================================
--- packages/sparskit/trunk/debian/rules (added)
+++ packages/sparskit/trunk/debian/rules Fri Sep 12 14:00:52 2008
@@ -1,0 +1,95 @@
+#!/usr/bin/make -f
+
+PACKAGE=sparskit
+
+# 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)
+	./dotests
+
+	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
+	- rm libskit.a
+
+	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 -plibsparskit2       libskit.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/sparskit/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the debian-science-commits mailing list