[mpfrc++] 01/01: Imported Debian patch 3.5.5-1

Jerome Benoit calculus-guest at alioth.debian.org
Thu Oct 10 15:59:42 UTC 2013


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

calculus-guest pushed a commit to branch master
in repository mpfrc++.

commit 1cb13e5523b8f3de7e9263a94ad076dffdfc1cd4
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Thu Oct 10 15:29:27 2013 +0000

    Imported Debian patch 3.5.5-1
---
 debian/changelog                                  |   25 ++++++++++++++++
 debian/compat                                     |    1 +
 debian/control                                    |   24 ++++++++++++++++
 debian/copyright                                  |   32 +++++++++++++++++++++
 debian/libmpfrc++-dev.dirs                        |    1 +
 debian/libmpfrc++-dev.examples                    |    2 ++
 debian/libmpfrc++-dev.install                     |    1 +
 debian/patches/minimalize-example-makefile.patch  |   19 ++++++++++++
 debian/patches/series                             |    2 ++
 debian/patches/system-preprocessing-example.patch |   16 +++++++++++
 debian/rules                                      |   10 +++++++
 debian/source/format                              |    1 +
 debian/source/lintian-overrides                   |    1 +
 debian/source/options                             |    2 ++
 debian/watch                                      |    2 ++
 15 files changed, 139 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..46ed762
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,25 @@
+mpfrc++ (3.5.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #723839), thanks to the upstream maintainer
+    Pavel Holoborodko <pavel at holoborodko.com> for clarifying the upstream
+    license policy and for tweaking the upstream Mercurial repository to
+    allow minimal debian/{rules,watch} material and a cleaner package.
+  * Debianization:
+    - debian/copyright in DEP-5 format;
+    - debhelper build-dep to >= 9;
+    - source format 3.0 (quilt);
+    - Standards Version 3.9.4;
+    - debian/patches/ patches in DEP-3 format;
+    - debian/watch file;
+    - debian/rules:
+      - minimal rules;
+      - optional get-orig-source target which relies on uscan to get
+        the currently packaged upstream tarball source;
+      - default target which basically queries packages status with
+        uscan, output in DEHS format.
+  * Minor fixes and enhancements:
+    - example/* :
+      - example/example.cpp, system preprocessing directive #include;
+      - minimal example/makefile, unnecessary target were wiped out.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Thu, 10 Oct 2013 15:29:27 +0000
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..36d2358
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: mpfrc++
+Section: math
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jerome Benoit <calculus at rezozer.net>
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.4
+Homepage: http://www.holoborodko.com/pavel/mpfr
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/mpfrc++.git
+Vcs-Browser: http://anonscm.debian.org/?p=debian-science/packages/mpfrc++.git
+
+Package: libmpfrc++-dev
+Section: libdevel
+Architecture: all
+Depends: libmpfr-dev, ${misc:Depends}
+Description: C++ wrapper for the GNU MPFR C library
+ MPFR C++ introduces C++ arbitrary precision numeric types; based on
+ GNU MPFR --- Multiple Precision Floating-Point Reliable Library.
+ .
+ MPFR C++ makes possible to use MPFR calculations in the same simple
+ way as calculations with numbers of built-in types double or float:
+ all arithmetic and boolean operators (+, -, *, /, >, !=, etc.) are
+ implemented through operator overloading technique; elementary
+ mathematical functions (sqrt, pow, sin, cos, etc.) are supported.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..78aa8be
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: mpfrc++
+Upstream-Contact: Pavel Holoborodko <pavel at holoborodko.com>
+Source: http://www.holoborodko.com/pavel/mpfr
+X-Upstream-Vcs: https://bitbucket.org/advanpix/mpreal
+
+Files: *
+Copyright:
+ 2008-2013 Pavel Holoborodko <pavel at holoborodko.com>
+License: GPL-3+
+
+Files: debian/*
+Copyright:
+ 2013 Jerome Benoit <calculus at rezozer.net>
+License: GPL-3+
+
+License: GPL-3+
+ 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 3 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/libmpfrc++-dev.dirs b/debian/libmpfrc++-dev.dirs
new file mode 100644
index 0000000..e43b95c
--- /dev/null
+++ b/debian/libmpfrc++-dev.dirs
@@ -0,0 +1 @@
+usr/include
diff --git a/debian/libmpfrc++-dev.examples b/debian/libmpfrc++-dev.examples
new file mode 100644
index 0000000..eaa9e2f
--- /dev/null
+++ b/debian/libmpfrc++-dev.examples
@@ -0,0 +1,2 @@
+example/makefile
+example/*.cpp
diff --git a/debian/libmpfrc++-dev.install b/debian/libmpfrc++-dev.install
new file mode 100644
index 0000000..b0be900
--- /dev/null
+++ b/debian/libmpfrc++-dev.install
@@ -0,0 +1 @@
+mpreal.h usr/include
diff --git a/debian/patches/minimalize-example-makefile.patch b/debian/patches/minimalize-example-makefile.patch
new file mode 100644
index 0000000..e3440c8
--- /dev/null
+++ b/debian/patches/minimalize-example-makefile.patch
@@ -0,0 +1,19 @@
+Description: minimalize makefile for examples
+Origin: debian
+Author: Jerome Benoit <calculs at rezozer.net>
+Last-Update: 2013-10-10
+
+--- a/example/makefile
++++ b/example/makefile
+@@ -1,9 +1,2 @@
+-example: example.o
+-	g++ example.o -o example -lmpfr -lgmp
+-
+-example.o: example.cpp
+-	g++ -c example.cpp
+-
+-clean:
+-	rm -f *.o 
+-
++example: example.cpp
++	g++ example.cpp -o example -lmpfr -lgmp
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..42f3b8a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+system-preprocessing-example.patch
+minimalize-example-makefile.patch
diff --git a/debian/patches/system-preprocessing-example.patch b/debian/patches/system-preprocessing-example.patch
new file mode 100644
index 0000000..70174a9
--- /dev/null
+++ b/debian/patches/system-preprocessing-example.patch
@@ -0,0 +1,16 @@
+Description: system preprocessing directive #include for examples
+Origin: debian
+Author: Jerome Benoit <calculs at rezozer.net>
+Last-Update: 2013-10-10
+
+--- a/example/example.cpp
++++ b/example/example.cpp
+@@ -46,7 +46,7 @@
+ */
+ 
+ #include <iostream>
+-#include "../mpreal.h"
++#include <mpreal.h>
+ 
+ int main(int argc, char* argv[])
+ {
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..30df4c2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+default:
+	@uscan --no-conf --dehs --report || true
+
+%:
+	dh $@
+
+get-orig-source:
+	uscan --no-conf --download-current-version --verbose
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..5280378
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+source-contains-hg-tags-file
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..22a4de9
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+compression = xz
+compression-level = 9
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6207222
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://bitbucket.org/advanpix/mpreal/downloads .*/mpfrc%2B%2B-(\d+\.\d+\.\d+)\.tar\.(?:gz|bz2|xz)

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



More information about the debian-science-commits mailing list