[gap-io] 02/02: Imported Debian patch 4.2+ds-1

Jerome Benoit calculus-guest at moszumanska.debian.org
Thu Jan 16 07:42:50 UTC 2014


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

calculus-guest pushed a commit to branch master
in repository gap-io.

commit eaca5175701294753e0c47f5079ffd87f2c0579b
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Thu Jan 16 07:06:54 2014 +0000

    Imported Debian patch 4.2+ds-1
---
 debian/changelog                                  |  24 +++++
 debian/check.g                                    |   4 +
 debian/compat                                     |   1 +
 debian/control                                    |  24 +++++
 debian/copyright                                  |  39 ++++++++
 debian/gap-io.dir                                 |   5 +
 debian/gap-io.doc-base                            |  17 ++++
 debian/gap-io.docs                                |   3 +
 debian/gap-io.install                             |   6 ++
 debian/gap-io.links                               |   3 +
 debian/io.map                                     |   8 ++
 debian/makedoc.g                                  |  13 +++
 debian/patches/debianization.patch                |  76 ++++++++++++++
 debian/patches/series                             |   2 +
 debian/patches/upstream-autotools-machinery.patch |  88 ++++++++++++++++
 debian/repack                                     | 117 ++++++++++++++++++++++
 debian/rules                                      |  21 ++++
 debian/source/format                              |   1 +
 debian/source/lintian-overrides                   |   1 +
 debian/source/options                             |   2 +
 debian/watch                                      |   4 +
 21 files changed, 459 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1c6362d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,24 @@
+gap-io (4.2+ds-1) unstable; urgency=low
+
+  * Initial release (Closes: #734418).
+  * Debianization:
+    - debian/copyright in DEP-5 format;
+    - debian/control:
+      - debhelper build-dep to >= 9;
+      - Standards Version 3.9.5;
+      - Vcs-* headers.
+    - debian/source, format 3.0 (quilt);
+    - debian/patches/ patches in DEP-3 format;
+    - debian/watch file;
+    - debian/repack, repack script to clean up and gain weight;
+    - debian/rules:
+      - autoreconf-iguration;
+      - full and minal dh integration;
+      - get-orig-source uscan based target which downloads the currently
+        packaged upstream tarball and repacks it;
+      - default target which basically queries package status with uscan
+        -- output in DEHS format;
+      - remark: the regeneration of the documention provides in fact a
+        self-test suite substitute.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Thu, 16 Jan 2014 07:06:54 +0000
diff --git a/debian/check.g b/debian/check.g
new file mode 100644
index 0000000..beca6d4
--- /dev/null
+++ b/debian/check.g
@@ -0,0 +1,4 @@
+#ExtendRootDirectories(["./debian/gap-io/usr/lib/gap/","./debian/gap-io/usr/share/gap/"]);
+SetPackagePath("io","./debian/gap-io/usr/share/gap/pkg/io");
+LoadPackage("io");
+DisplayPackageLoadingLog(PACKAGE_DEBUG);
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..0d11526
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: gap-io
+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), autotools-dev, libtool, dh-autoreconf, autoconf-archive,
+ gap (>=4r5), gap-dev (>=4r5), gap-gapdoc, libgmp-dev,
+ texlive-latex-extra, texlive-fonts-recommended
+Standards-Version: 3.9.5
+Homepage: http://www.gap-system.org/Packages/io.html
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/gap-io.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/gap-io.git
+
+Package: gap-io
+Provides: gap-pkg-io
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, gap (>=4r5)
+Description: low level C library IO bindings for GAP
+ GAP is a system for computational discrete algebra with particular
+ emphasis on computational group theory, but which has already proved
+ useful also in other areas.
+ .
+ This package allows GAP to access UNIX I/O C-library functions.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ca270c4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: io package for GAP
+Upstream-Contact: Max Neunhoeffer <neunhoef at mcs.st-and.ac.uk>
+Source: http://www.gap-system.org/Packages/io.html
+Comment:
+ The upstream source tarball is repacked mainly because the top upstream
+ Makefile is corrupted in such a way that it blocks the Debian build. The
+ autotools chain being reconfigured, the opportunity is taken to drop off
+ the regenarated material ---in particular the documentation--- to gain
+ substantial weight. (A second side effect is that the documentation
+ recomposition is use as self-test suite substitute since the package
+ is needed to build the documentation.)
+
+Files: *
+Copyright:
+ 2006-2012 Max Neunhoeffer <neunhoef at mcs.st-and.ac.uk>
+License: GPL-3+
+
+Files: debian/*
+Copyright:
+ 2014 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 package. 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/gap-io.dir b/debian/gap-io.dir
new file mode 100644
index 0000000..e36303f
--- /dev/null
+++ b/debian/gap-io.dir
@@ -0,0 +1,5 @@
+usr/share/gap/pkg/io
+usr/share/gap/pkg/io/gap
+usr/share/gap/pkg/io/tst
+usr/share/gap/pkg/io/doc
+usr/share/gap/pkg/io/example
diff --git a/debian/gap-io.doc-base b/debian/gap-io.doc-base
new file mode 100644
index 0000000..4b16ca5
--- /dev/null
+++ b/debian/gap-io.doc-base
@@ -0,0 +1,17 @@
+Document: gap-io
+Title: Bindings for low level C library I/O routines
+Author: Max Neunhöffer
+Abstract:
+ The purpose of this package is to allow efficient and flexible
+ Input/Output operations from GAP. This is achieved by providing
+ bindings to the low-level I/O functions in the C-library.
+ On top of this an implementation of buffered I/O in the GAP language
+ is provided. Further, a framework for serialisation of arbitrary GAP
+ objects is implemented. Finally, an implementation of the client side
+ of the HTTP protocol is included in the package. This package allows
+ to use file based I/O, access to links and file systems, pipes, sockets,
+ and the UDP and TCP/IP protocols.
+Section: Science/Mathematics
+
+Format: pdf
+Files: /usr/share/doc/gap-io/doc/manual.pdf
diff --git a/debian/gap-io.docs b/debian/gap-io.docs
new file mode 100644
index 0000000..75a1a8e
--- /dev/null
+++ b/debian/gap-io.docs
@@ -0,0 +1,3 @@
+HISTORY
+README
+TODO
diff --git a/debian/gap-io.install b/debian/gap-io.install
new file mode 100644
index 0000000..085653a
--- /dev/null
+++ b/debian/gap-io.install
@@ -0,0 +1,6 @@
+usr/lib/gap/pkg/io/bin/*/io.so
+PackageInfo.g init.g makedoc.g read.g VERSION usr/share/gap/pkg/io
+gap/* usr/share/gap/pkg/io/gap
+tst/* usr/share/gap/pkg/io/tst
+doc/*.txt doc/*.html doc/manual.six doc/manual.pdf usr/share/gap/pkg/io/doc
+example/* usr/share/gap/pkg/io/example
diff --git a/debian/gap-io.links b/debian/gap-io.links
new file mode 100644
index 0000000..0f61a18
--- /dev/null
+++ b/debian/gap-io.links
@@ -0,0 +1,3 @@
+usr/lib/gap/pkg/io/bin usr/share/gap/pkg/io/bin
+usr/share/gap/pkg/io/doc usr/share/doc/gap-io/doc
+usr/share/gap/pkg/io/example usr/share/doc/gap-io/example
diff --git a/debian/io.map b/debian/io.map
new file mode 100644
index 0000000..86f7390
--- /dev/null
+++ b/debian/io.map
@@ -0,0 +1,8 @@
+GAP_PKG_IO {
+	global:
+		IO_SIGCHLDHandler;
+		FuncIO_*;
+		Init__io;
+		Init__Dynamic;
+	local: *;
+};
diff --git a/debian/makedoc.g b/debian/makedoc.g
new file mode 100644
index 0000000..712467d
--- /dev/null
+++ b/debian/makedoc.g
@@ -0,0 +1,13 @@
+# debian/makedoc.g -- GAP script
+SetPackagePath("io",".");
+if LoadPackage("io") <> true then
+	Error("GAP package IO not foud\n");
+fi;
+#DisplayPackageLoadingLog(PACKAGE_DEBUG);
+LoadPackage("GAPDoc");
+MakeGAPDocDoc("doc", "io", [], "IO", "../../..");
+GAPDocManualLab("IO");
+#quit;
+Print("quitting ...\n");
+QUIT;
+## eos
diff --git a/debian/patches/debianization.patch b/debian/patches/debianization.patch
new file mode 100644
index 0000000..30a20ce
--- /dev/null
+++ b/debian/patches/debianization.patch
@@ -0,0 +1,76 @@
+Description: debianization
+	Meant to maintain a minimal debian/rules, to fix warnings,
+	to address Debian specific stuff in general.
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2014-01-08
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,7 +2,7 @@
+ 
+ SUBDIRS =
+ 
+-GAP=$(GAPROOT)/bin/gap.sh
++GAP=/usr/bin/gap
+ 
+ BINARCHDIR = bin/$(GAPARCH)
+ GAPINSTALLLIB = $(abs_top_srcdir)/$(BINARCHDIR)/io.so
+@@ -12,7 +12,7 @@
+ io_la_SOURCES = src/io.c
+ io_la_CPPFLAGS = $(GAP_CPPFLAGS) -DCONFIG_H
+ # Note that the latter is only for GAP 4.4.12
+-io_la_LDFLAGS = -module -avoid-version
++io_la_LDFLAGS = -module -avoid-version -Wl,--version-script,debian/io.map
+ if SYS_IS_CYGWIN
+ io_la_LDFLAGS += -no-undefined -version-info 0:0:0 -Wl,$(GAPROOT)/bin/$(GAPARCH)/gap.dll
+ endif
+@@ -30,13 +30,14 @@
+ ##	@echo "SUCCESS!"
+ 
+ distclean-local:
+-	rm -rf bin/*
++	rm -rf bin
+ 	(cd doc ; ./clean)
+ 
+ doc: doc/manual.six
+ 
+ doc/manual.six: doc/main.xml doc/io.xml VERSION
+-	$(GAP) makedoc.g
++	$(MKDIR_P) bin && cd bin && $(LN_S) ../.libs @GAPARCH@
++	$(GAP) -A debian/makedoc.g
+ 
+ archive: doc
+ 	(cd .. ; tar czvf io-`cat io/VERSION`.tar.gz --exclude ".svn" --exclude bin --exclude test --exclude ".git" --exclude ".libs" --exclude lib --exclude io.la --exclude io_la-io.lo --exclude .deps --exclude autom4te.cache --exclude .gitignore --exclude config.log --exclude stamp-h1 --exclude pkgconfig.h --exclude libtool --exclude config.status io)
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,9 +7,7 @@
+ AC_CONFIG_AUX_DIR([cnf])
+ AM_INIT_AUTOMAKE([foreign])
+ AM_MAINTAINER_MODE
+-LT_INIT([disable-static dlopen win32-dll])
+-
+-AC_PREFIX_DEFAULT([${PWD}])
++LT_INIT
+ 
+ AC_PROG_CC
+ 
+--- a/m4/ac_find_gap.m4
++++ b/m4/ac_find_gap.m4
+@@ -99,7 +99,7 @@
+     echo "********************************************************************"
+     echo ""
+     
+-    AC_MSG_ERROR([Unable to find plausible GAParch information.])
++    AC_MSG_WARN([SKIP: Unable to find plausible GAParch information.])
+   fi  
+   
+   
+@@ -117,6 +117,8 @@
+   AC_MSG_CHECKING([for GAP config.h])
+   if test -r $GAPROOT/src/$GAPARCH/config.h; then
+     AC_MSG_RESULT([$GAPROOT/src/$GAPARCH/config.h])
++  elif test -r $GAPROOT/src/config.h; then
++    AC_MSG_RESULT([$GAPROOT/src/config.h])
+   else
+     AC_MSG_RESULT([Not found])
+     bad=1
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..459529d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+upstream-autotools-machinery.patch
+debianization.patch
diff --git a/debian/patches/upstream-autotools-machinery.patch b/debian/patches/upstream-autotools-machinery.patch
new file mode 100644
index 0000000..60f50be
--- /dev/null
+++ b/debian/patches/upstream-autotools-machinery.patch
@@ -0,0 +1,88 @@
+Description: Autotools chain reajustment
+ Slightly reajust the upstream autotools chain.
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2014-01-08
+
+--- a/m4/ac_find_gap.m4
++++ b/m4/ac_find_gap.m4
+@@ -115,8 +115,8 @@
+     bad=1
+   fi
+   AC_MSG_CHECKING([for GAP config.h])
+-  if test -r $GAPROOT/bin/$GAPARCH/config.h; then
+-    AC_MSG_RESULT([$GAPROOT/bin/$GAPARCH/config.h])
++  if test -r $GAPROOT/src/$GAPARCH/config.h; then
++    AC_MSG_RESULT([$GAPROOT/src/$GAPARCH/config.h])
+   else
+     AC_MSG_RESULT([Not found])
+     bad=1
+@@ -135,7 +135,7 @@
+     echo "  in particular the files"
+     echo "      <gaproot>/sysinfo.gap"
+     echo "      <gaproot>/src/<includes>"
+-    echo "  and <gaproot>/bin/<architecture>/bin/config.h." 
++    echo "  and <gaproot>/src/$GAPARCH/config.h."
+     echo "  Please make sure that your GAP root directory structure"
+     echo "  conforms to this layout, or give the correct GAP root using"
+     echo "  --with-gaproot=<path>"
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,6 +1,8 @@
+ ACLOCAL_AMFLAGS = -I m4
+ 
+-SUBDIRS = 
++SUBDIRS =
++
++GAP=$(GAPROOT)/bin/gap.sh
+ 
+ BINARCHDIR = bin/$(GAPARCH)
+ GAPINSTALLLIB = $(abs_top_srcdir)/$(BINARCHDIR)/io.so
+@@ -14,24 +16,27 @@
+ if SYS_IS_CYGWIN
+ io_la_LDFLAGS += -no-undefined -version-info 0:0:0 -Wl,$(GAPROOT)/bin/$(GAPARCH)/gap.dll
+ endif
++libdir = @GAPROOT@/pkg/io/bin/@GAPARCH@
+ 
+-all-local: io.la install-libLTLIBRARIES
+-	$(mkdir_p) $(top_srcdir)/$(BINARCHDIR)
+-if SYS_IS_CYGWIN
+-	cp $(libdir)/io.dll $(GAPINSTALLLIB)
+-else
+-	cp $(libdir)/io.so $(GAPINSTALLLIB)
+-endif
+-	@echo "SUCCESS!"
++all-local: doc
++
++##all-local: io.la install-libLTLIBRARIES
++##	$(mkdir_p) $(top_srcdir)/$(BINARCHDIR)
++##if SYS_IS_CYGWIN
++##	cp $(libdir)/io.dll $(GAPINSTALLLIB)
++##else
++##	cp $(libdir)/io.so $(GAPINSTALLLIB)
++##endif
++##	@echo "SUCCESS!"
+ 
+ distclean-local:
+ 	rm -rf bin/*
+ 	(cd doc ; ./clean)
+ 
+-doc:	doc/manual.six
++doc: doc/manual.six
+ 
+ doc/manual.six: doc/main.xml doc/io.xml VERSION
+-	($(GAPROOT)/bin/gap.sh makedoc.g)
++	$(GAP) makedoc.g
+ 
+ archive: doc
+ 	(cd .. ; tar czvf io-`cat io/VERSION`.tar.gz --exclude ".svn" --exclude bin --exclude test --exclude ".git" --exclude ".libs" --exclude lib --exclude io.la --exclude io_la-io.lo --exclude .deps --exclude autom4te.cache --exclude .gitignore --exclude config.log --exclude stamp-h1 --exclude pkgconfig.h --exclude libtool --exclude config.status io)
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,6 +1,6 @@
+ AC_PREREQ(2.68)
+ LT_PREREQ([2.4.2])
+-AC_INIT([IOPKG], 4.0, neunhoef at mcs.st-and.ac.uk)
++AC_INIT([IOPKG], 4.2, neunhoef at mcs.st-and.ac.uk)
+ AC_CONFIG_SRCDIR([src/io.c])
+ AC_CONFIG_HEADER([src/pkgconfig.h:cnf/pkgconfig.h.in])
+ AC_CONFIG_MACRO_DIR([m4])
diff --git a/debian/repack b/debian/repack
new file mode 100755
index 0000000..3de18b2
--- /dev/null
+++ b/debian/repack
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+PACKAGE_NAME=gap-io
+
+set -e
+set -u
+
+usage() {
+	echo "Usage: repack --upstream-version <ver> <downloaded file>"
+	exit 1
+	}
+
+if [ "$#" != "3" ]; then
+	usage
+fi
+if [ "$1" != "--upstream-version" ]; then
+	usage
+fi
+if [ ! -f "$3" ]; then
+	if [ -n "$3" ]; then
+		echo "$3 doesn't exist"
+	fi
+	usage
+fi
+UPSTREAM_VERSION="$2"
+UPSTREAM_TARBALLZZ="$3"
+
+DEBIAN_SUFFIX="+ds"
+####DEBIAN_ENCAPSULATEDFOLDERNAME="${PACKAGE_NAME}-usrc"
+
+DEBIAN_UVERSION=${UPSTREAM_VERSION}${DEBIAN_SUFFIX}
+DEBIAN_ROOTFOLDERNAME="${PACKAGE_NAME}-${DEBIAN_UVERSION}.orig"
+DEBIAN_TARBALLXZ="$(dirname $UPSTREAM_TARBALLZZ)/${PACKAGE_NAME}_${DEBIAN_UVERSION}.orig.tar.xz"
+
+REPACK_TMPDIR=`mktemp -d ./repackXXXXXX`
+REPACK_TMPDIR=$(readlink -f "$REPACK_TMPDIR")
+trap "/bin/rm -rf \"$REPACK_TMPDIR\"" QUIT INT EXIT
+
+message() {
+	echo
+	echo "-- -- $1"
+	echo
+	}
+
+message "Repackaging $UPSTREAM_TARBALLZZ"
+
+UPSTREAM_ROOTFOLDER="${REPACK_TMPDIR}/unpacked"
+mkdir "${UPSTREAM_ROOTFOLDER}"
+tar -C "${UPSTREAM_ROOTFOLDER}" -xf "${UPSTREAM_TARBALLZZ}" || unzip -d "${UPSTREAM_ROOTFOLDER}" "${UPSTREAM_TARBALLZZ}"
+if [ `ls -1 "${UPSTREAM_ROOTFOLDER}" | wc -l` -eq 1 ]; then
+	UPSTREAM_ROOTFOLDER="${UPSTREAM_ROOTFOLDER}/`ls -1 "${UPSTREAM_ROOTFOLDER}"`"
+fi
+
+DEBIAN_ROOTFOLDER="${REPACK_TMPDIR}/${DEBIAN_ROOTFOLDERNAME}"
+## repack
+####set -f
+REPACK_WORKING_FOLDER=$(pwd)
+cd "${UPSTREAM_ROOTFOLDER}"
+
+####. "${REPACK_WORKING_FOLDER}/debian/repack.local"
+## wipe out
+####rm --verbose --force -- makefile.basic
+## mimic autoreconf clean up
+rm --verbose --force -- m4/lt~obsolete.m4
+rm --verbose --force -- m4/ltsugar.m4
+rm --verbose --force -- m4/ltoptions.m4
+rm --verbose --force -- m4/ltversion.m4
+rm --verbose --force -- cnf/ltmain.sh
+rm --verbose --force -- cnf/pkgconfig.h.in
+rm --verbose --force -- cnf/missing
+rm --verbose --force -- cnf/depcomp
+rm --verbose --force -- cnf/install-sh
+rm --verbose --force -- cnf/config.guess
+rm --verbose --force -- cnf/config.sub
+rm --verbose --force -- aclocal.m4
+rm --verbose --force -- configure
+rm --verbose --force -- Makefile
+rm --verbose --force -- Makefile.in
+## mimic make clean up
+rm --verbose --force -- doc/chap*.txt
+rm --verbose --force -- doc/chap*.html
+rm --verbose --force -- doc/io.{tex,aux,toc,log,bbl,blg,ind,idx,ilg}
+rm --verbose --force -- doc/io.pnr
+rm --verbose --force -- doc/manual.{pdf,six,lab}
+#:
+
+cd ${REPACK_WORKING_FOLDER}
+set +f
+## end
+####if [ -n "${DEBIAN_ENCAPSULATEDFOLDERNAME}" ]; then
+####	mkdir "${DEBIAN_ROOTFOLDER}"
+####	mv "${UPSTREAM_ROOTFOLDER}" "${DEBIAN_ROOTFOLDER}/${DEBIAN_ENCAPSULATEDFOLDERNAME}"
+####else
+	mv "${UPSTREAM_ROOTFOLDER}" "${DEBIAN_ROOTFOLDER}"
+####fi
+
+REPACK_TARBALL="${REPACK_TMPDIR}/repacked.tar"
+REPACK_TARBALLXZ="${REPACK_TARBALL}.xz"
+( cd "${REPACK_TMPDIR}" && \
+	find -L "${DEBIAN_ROOTFOLDERNAME}" -xdev -type f -print | sort | \
+	tar -T-  --owner=root --group=root --mode=a+rX --create --file "${REPACK_TARBALL}" \
+	)
+xz -9e < "${REPACK_TARBALL}" > "${REPACK_TARBALLXZ}"
+mv "${REPACK_TARBALLXZ}" "${DEBIAN_TARBALLXZ}"
+
+message "Testing ${DEBIAN_TARBALLXZ}"
+
+xz --verbose --test "${DEBIAN_TARBALLXZ}"
+
+message "Printing information about ${DEBIAN_TARBALLXZ}"
+
+xz --verbose --list "${DEBIAN_TARBALLXZ}"
+
+message "Quitting"
+
+##
+## eos
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d1d1651
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+default:
+	@uscan --no-conf --dehs --report || true
+
+%:
+	dh $@ --with autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- --with-gaproot=/usr/lib/gap
+
+override_dh_auto_install:
+	dh_auto_install --destdir debian/tmp/
+
+override_dh_installchangelogs:
+	dh_installchangelogs --keep CHANGES
+
+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..8b06cb1
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+debian-watch-may-check-gpg-signature
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..b1998a5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=dversionmangle=s/\+ds// \
+http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/io.html io/io-([\d\.]+)\.tar\.gz \
+debian bash debian/repack

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



More information about the debian-science-commits mailing list