--- gp2c-0.0.5pl4.orig/debian/watch +++ gp2c-0.0.5pl4/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +ftp://pari.math.u-bordeaux.fr/pub/pari/GP2C/gp2c-(.*)\.tar\.gz debian uupdate --- gp2c-0.0.5pl4.orig/debian/rules +++ gp2c-0.0.5pl4/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +PARI_CFG = $(shell ls /usr/lib/pari/pari.cfg \ + /usr/lib/pari/dft.Config.in 2>/dev/null) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS)" ./configure --with-paricfg=$(PARI_CFG) --with-paricfg-dbg=$(PARI_CFG) --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build-arch: build +build-indep: build +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + $(MAKE) check + $(MAKE) -C doc + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_link + + $(MAKE) install DESTDIR=$(CURDIR)/debian/pari-gp2c PACKAGE=pari-gp2c + +# 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_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gp2c-0.0.5pl4.orig/debian/pari-gp2c.doc-base.manual +++ gp2c-0.0.5pl4/debian/pari-gp2c.doc-base.manual @@ -0,0 +1,14 @@ +Document: gp2c-manual +Title: An introduction to GP2C +Author: Bill Allombert and Ariel Pacetti +Abstract: This manual describes how to use the GP2C compiler to + run your GP scripts faster. +Section: Apps/Math + +Format: DVI +Files: /usr/share/doc/pari-gp2c/gp2c.dvi.gz + +Format: HTML +Index: /usr/share/doc/pari-gp2c/gp2c.html +Files: /usr/share/doc/pari-gp2c/gp2c.html + --- gp2c-0.0.5pl4.orig/debian/control +++ gp2c-0.0.5pl4/debian/control @@ -0,0 +1,26 @@ +Source: gp2c +Section: math +Priority: optional +Maintainer: Bill Allombert +Build-Depends: debhelper (>= 4.0.0), libpari-dev (>= 2.3.0-2), pari-gp (>= 2.3.0) +Standards-Version: 3.7.2 + +Package: pari-gp2c +Architecture: any +Depends: libpari-dev (>= 2.3.0), gcc, pari-gp, ${shlibs:Depends},${misc:Depends} +Recommends: libpari-dbg, gdb +Description: PARI/GP GP to C compiler + PARI/GP is a widely used computer algebra system designed for fast + computations in number theory (factorizations, algebraic number theory, + elliptic curves...), but also contains a large number of other useful + functions to compute with mathematical entities such as matrices, + polynomials, power series, algebraic numbers, etc., and a lot of + transcendental functions. PARI is also available as a C library to allow + for faster computations. + . + Originally developed by Henri Cohen and his co-workers (University Bordeaux I, + France), PARI is now under the GPL and maintained by Karim Belabas + with the help of many volunteer contributors. + . + This package contains the G2PC compiler that converts GP scripts to C + libpari modules and the helper scripts gp2c-run and gp2c-dbg. --- gp2c-0.0.5pl4.orig/debian/pari-gp2c.doc-base.type +++ gp2c-0.0.5pl4/debian/pari-gp2c.doc-base.type @@ -0,0 +1,15 @@ +Document: gp2c-type +Title: GP2C types and the description system. +Author: Bill Allombert +Abstract: The main feature GP2C adds above GP is the use of types. Types give a + semantic to PARI objects, so that GP2C can generate code that use specialized + (hence faster) PARI functions instead of generic ones. +Section: Apps/Math + +Format: DVI +Files: /usr/share/doc/pari-gp2c/type.dvi.gz + +Format: HTML +Index: /usr/share/doc/pari-gp2c/type.html +Files: /usr/share/doc/pari-gp2c/type.html + --- gp2c-0.0.5pl4.orig/debian/compat +++ gp2c-0.0.5pl4/debian/compat @@ -0,0 +1 @@ +4 --- gp2c-0.0.5pl4.orig/debian/changelog +++ gp2c-0.0.5pl4/debian/changelog @@ -0,0 +1,34 @@ +gp2c (0.0.5pl4-1) unstable; urgency=low + + * New upstream release + * Remove now useless Build-Depends on flex. + + -- Bill Allombert Thu, 7 Jun 2007 11:58:52 +0200 + +gp2c (0.0.5pl3-1) unstable; urgency=low + + * New upstream release + + -- Bill Allombert Fri, 13 Apr 2007 15:16:47 +0200 + +gp2c (0.0.5pl2-1) unstable; urgency=low + + * New upstream release + + -- Bill Allombert Sun, 17 Sep 2006 19:09:21 +0200 + +gp2c (0.0.5pl1-1) unstable; urgency=low + + * New upstream release + * Build-Depends on flex to work around a bug in autoconf. Closes: #375818. + * Bump versionned Build-Depends on libpari-dev to (>= 2.3.0-2) to avoid a + useless dependency on libgmp3-dev. + + -- Bill Allombert Thu, 29 Jun 2006 23:16:46 +0200 + +gp2c (0.0.5-1) unstable; urgency=low + + * Initial Release. Closes: #368371. + + -- Bill Allombert Fri, 16 Jun 2006 17:28:59 +0200 + --- gp2c-0.0.5pl4.orig/debian/docs +++ gp2c-0.0.5pl4/debian/docs @@ -0,0 +1,4 @@ +BUGS +NEWS +doc/gp2c.dvi +doc/type.dvi --- gp2c-0.0.5pl4.orig/debian/copyright +++ gp2c-0.0.5pl4/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Bill Allombert on +Sun, 30 May 2004 11:18:31 +0200. + +It was downloaded from + +Upstream Author: Bill Allombert + +Copyright: + +GP2C is copyright 2000-2006 by the PARI group. + +GP2C 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. It is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY WHATSOEVER. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'.