[flint-arb] 01/01: Initial packaging
Julien Puydt
julien.puydt at laposte.net
Mon Jan 18 10:57:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository flint-arb.
commit 554138ffbbaf83bc05f033166c77185690e1e0bc
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Mon Jan 18 11:07:07 2016 +0100
Initial packaging
---
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 46 +++++++++++++++++++++++++++++
debian/copyright | 53 ++++++++++++++++++++++++++++++++++
debian/gbp.conf | 2 ++
debian/libflint-arb-dev.install | 2 ++
debian/libflint-arb-doc.docs | 2 ++
debian/libflint-arb1.install | 1 +
debian/libflint-arb1.lintian-overrides | 2 ++
debian/rules | 18 ++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
12 files changed, 135 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3989bb1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+flint-arb (2.8.1-1) UNRELEASED; urgency=medium
+
+ * Initial release. (Closes: #797822)
+
+ -- Julien Puydt <julien.puydt at laposte.net> Sun, 17 Jan 2016 21:11:23 +0100
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..51c1588
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: flint-arb
+Section: math
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Julien Puydt <julien.puydt at laposte.net>
+Homepage: https://github.com/fredrik-johansson/arb
+Build-Depends: debhelper (>= 9), libflint-dev, libgmp-dev, libmpfr-dev
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/arb.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/arb
+
+Package: libflint-arb1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C library for arbitrary-precision ball arithmetic, shared library
+ FLINT-ARB is a C library for high-performance arbitrary-precision
+ floating-point ball (mid-rad interval) arithmetic. It supports complex
+ numbers, polynomials, matrices, and evaluation of special functions, all
+ with rigorous error bounding.
+ .
+ This package contains the shared library.
+
+Package: libflint-arb-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libflint-arb1 (= ${binary:Version})
+Description: C library for arbitrary-precision ball arithmetic, dev. files
+ FLINT-ARB is a C library for high-performance arbitrary-precision
+ floating-point ball (mid-rad interval) arithmetic. It supports complex
+ numbers, polynomials, matrices, and evaluation of special functions, all
+ with rigorous error bounding.
+ .
+ This package contains the development files.
+
+Package: libflint-arb-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: C library for arbitrary-precision ball arithmetic, documentation
+ FLINT-ARB is a C library for high-performance arbitrary-precision
+ floating-point ball (mid-rad interval) arithmetic. It supports complex
+ numbers, polynomials, matrices, and evaluation of special functions, all
+ with rigorous error bounding.
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c72edda
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: arb
+Upstream-Contact: Fredrik Johansson
+Source: https://github.com/fredrik-johansson/arb
+
+Files: *
+Copyright: 2011-2015 Fredrik Johansson
+License: GPL-2+
+
+Files: acb_poly/divrem.c acb_poly/test/t-shift_left_right.c acb_poly/test/t-get_set_coeff_fmprb.c acb_poly/mullow_classical.c acb_poly/div_root.c acb_poly/product_roots.c acb_poly/compose_divconquer.c acb_poly/shift_left.c
+Copyright: 2009-2011 William Hart
+License: GPL-2+
+
+Files: acb_poly/compose_horner.c acb_poly/shift_right.c acb_poly/compose.c
+Copyright:
+ 2008-2010 William Hart
+ 2010-2012 Sebastian Pancratz
+License: GPL-2+
+
+Files: acb_poly/test/t-get_coeff_ptr.c acb_poly/evaluate_horner.c acb_mat/charpoly.c
+Copyright: 2010,2012 Sebastian Pancratz
+License: GPL-2+
+
+Files: arf.h
+Copyright: 1991-2007 Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: examples/*
+Copyright: Fredrik Johansson
+License: public-domain
+ This file is public domain. Author: Fredrik Johansson
+
+Files: debian/*
+Copyright: 2015 Julien Puydt
+License: GPL-2+
+
+License: GPL-2+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 package; if not, write to 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 `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/libflint-arb-dev.install b/debian/libflint-arb-dev.install
new file mode 100644
index 0000000..d2fcbbf
--- /dev/null
+++ b/debian/libflint-arb-dev.install
@@ -0,0 +1,2 @@
+/usr/include
+/usr/lib/libflint-arb.so
diff --git a/debian/libflint-arb-doc.docs b/debian/libflint-arb-doc.docs
new file mode 100644
index 0000000..e5261b9
--- /dev/null
+++ b/debian/libflint-arb-doc.docs
@@ -0,0 +1,2 @@
+examples/
+
diff --git a/debian/libflint-arb1.install b/debian/libflint-arb1.install
new file mode 100644
index 0000000..8de9198
--- /dev/null
+++ b/debian/libflint-arb1.install
@@ -0,0 +1 @@
+/usr/lib/libflint-arb.so.*
diff --git a/debian/libflint-arb1.lintian-overrides b/debian/libflint-arb1.lintian-overrides
new file mode 100644
index 0000000..d89d38d
--- /dev/null
+++ b/debian/libflint-arb1.lintian-overrides
@@ -0,0 +1,2 @@
+# The hardening flags are given: false positive
+libflint-arb1: hardening-no-fortify-functions usr/lib/libflint-arb.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7fea2ea
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+MAKE_OVERRIDE = AT= QUIET_CXX= QUIET_CC= QUIET_AR= ABI_FLAG='$(LDFLAGS) $(CPPFLAGS) $(CFLAGS)'
+
+%:
+ dh $@ --parallel
+
+# upstream Makefile has only CFLAGS, not CPPFLAGS and not even CXXFLAGS, so
+# inject flags using configure. let's hope CFLAGS will always be good enough
+# even for $(CXX)
+override_dh_auto_configure:
+ ./configure --prefix=/usr --disable-static --with-flint=/usr CFLAGS='$(CPPFLAGS) $(CFLAGS)'
+ sed -i Makefile -e "s/libarb/libflint-arb/g"
+ sed -i Makefile -e "s/-larb/-lflint-arb/g"
+
+override_dh_auto_build:
+ dh_auto_build --parallel -- $(MAKE_OVERRIDE)
+ /sbin/ldconfig -n
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..66ac756
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/fredrik-johansson/arb/tags /fredrik-johansson/arb/archive/(\d[-\d.]*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flint-arb.git
More information about the debian-science-commits
mailing list