[clapack] 02/02: Initial packaging attempt

Andreas Tille tille at debian.org
Mon May 16 08:36:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository clapack.

commit 95c8c343af6158fb53e7997cd1649ebd63ac6a67
Author: Andreas Tille <tille at debian.org>
Date:   Mon May 16 10:33:14 2016 +0200

    Initial packaging attempt
---
 debian/changelog                     |  5 +++
 debian/compat                        |  1 +
 debian/control                       | 68 ++++++++++++++++++++++++++++++++++++
 debian/copyright                     | 11 ++++++
 debian/patches/format-security.patch | 11 ++++++
 debian/patches/series                |  1 +
 debian/rules                         | 10 ++++++
 debian/source/format                 |  1 +
 debian/watch                         |  2 ++
 9 files changed, 110 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7e6c5d8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+clapack (3.2.1-1) UNRELEASED; urgency=medium
+
+  * Initial Release. (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org>  Fri, 13 May 2016 10:14:13 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b25e2d6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,68 @@
+Source: clapack
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: libs
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               cmake
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/clapack.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/clapack.git
+Homepage: http://www.netlib.org/clapack/
+
+Package: libclapack3
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Provides: libclapack.so.3
+Description: C Library of FORTRAN linear algebra routines - shared version
+ CLAPACK a comprehensive FORTRAN library that does linear algebra
+ operations including matrix inversions, least squared solutions to
+ linear sets of equations, eigenvector analysis, singular value
+ decomposition, etc. It is a very comprehensive and reputable package
+ that has found extensive use in the scientific community.
+ .
+ The CLAPACK library was built using a Fortran to C conversion utility
+ called f2c. The entire Fortran 77 LAPACK library is run through f2c to
+ obtain C code, and then modified to improve readability. CLAPACK's
+ goal is to provide LAPACK for someone who does not have access to a
+ Fortran compiler.
+ .
+ However, f2c is designed to create C code that is still callable from
+ Fortran, so all arguments must be passed using Fortran calling
+ conventions and data structures. This requirement has several
+ repercussions. The first is that since many compilers require distinct
+ Fortran and C routine namespaces, an underscore (_) is appended to C
+ routine names which will be called from Fortran. Therefore, f2c has
+ added this underscore to all the names in CLAPACK.
+ .
+ This package contains a shared version of the library.
+
+Package: libclapack-dev
+Architecture: any
+Section: libdevel
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Description: C Library of FORTRAN linear algebra routines - shared version
+ CLAPACK a comprehensive FORTRAN library that does linear algebra
+ operations including matrix inversions, least squared solutions to
+ linear sets of equations, eigenvector analysis, singular value
+ decomposition, etc. It is a very comprehensive and reputable package
+ that has found extensive use in the scientific community.
+ .
+ The CLAPACK library was built using a Fortran to C conversion utility
+ called f2c. The entire Fortran 77 LAPACK library is run through f2c to
+ obtain C code, and then modified to improve readability. CLAPACK's
+ goal is to provide LAPACK for someone who does not have access to a
+ Fortran compiler.
+ .
+ However, f2c is designed to create C code that is still callable from
+ Fortran, so all arguments must be passed using Fortran calling
+ conventions and data structures. This requirement has several
+ repercussions. The first is that since many compilers require distinct
+ Fortran and C routine namespaces, an underscore (_) is appended to C
+ routine names which will be called from Fortran. Therefore, f2c has
+ added this underscore to all the names in CLAPACK.
+ .
+ This package contains development files for the C language library for
+ CLAPACK, including a static version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..552ad2a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: <pkg>
+Source: <path_to_download>
+
+Files: *
+Copyright: © 20xx-20yy <upstream>
+License: <license>
+
+Files: debian/*
+Copyright: © 2016 maintainername <maintainer at e.mail>
+License: <license>
diff --git a/debian/patches/format-security.patch b/debian/patches/format-security.patch
new file mode 100644
index 0000000..9910cfc
--- /dev/null
+++ b/debian/patches/format-security.patch
@@ -0,0 +1,11 @@
+--- a/F2CLIBS/libf2c/arithchk.c
++++ b/F2CLIBS/libf2c/arithchk.c
+@@ -110,7 +110,7 @@ icheck(void)
+ 	return 0;
+ 	}
+ 
+-char *emptyfmt = "";	/* avoid possible warning message with printf("") */
++char *emptyfmt = "%s";	/* avoid possible warning message with printf("") */
+ 
+  static Akind *
+ ccheck(void)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3e8783a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+# format-security.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1367010
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_BUILD_HARDENING_FORMAT:=0
+DPKG_EXPORT_BUILDFLAGS = 1
+
+%:
+	dh $@ --buildsystem=cmake
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8a3b2fd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.netlib.org/clapack/ clapack-([\d\.]+)-CMAKE.tgz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clapack.git



More information about the debian-science-commits mailing list