--- ahven-1.2.orig/debian/ahven-dbg.lintian-overrides +++ ahven-1.2/debian/ahven-dbg.lintian-overrides @@ -0,0 +1 @@ +ahven-dbg: dbg-package-missing-depends ahven --- ahven-1.2.orig/debian/libahven-dev.install +++ ahven-1.2/debian/libahven-dev.install @@ -0,0 +1,3 @@ +/usr/lib/*.so +/usr/lib/ada +/usr/share/ada/adainclude --- ahven-1.2.orig/debian/copyright +++ ahven-1.2/debian/copyright @@ -0,0 +1,35 @@ +Author: Tero Koskinen +Download: http://home.gna.org/ahven/ + +Files: * +Copyright: (C) 2007-2008 Tero Koskinen +License: other-BSD + Permission to use, copy, modify, and distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright + notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + +Files: debian/* +Copyright: (C) 2008 Reto Buerki +License: GPL-3+ + This program 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 program 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 . + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. --- ahven-1.2.orig/debian/libahven12.docs +++ ahven-1.2/debian/libahven12.docs @@ -0,0 +1 @@ +ROADMAP --- ahven-1.2.orig/debian/libahven-dev.docs +++ ahven-1.2/debian/libahven-dev.docs @@ -0,0 +1 @@ +doc/* --- ahven-1.2.orig/debian/libahven12.install +++ ahven-1.2/debian/libahven12.install @@ -0,0 +1 @@ +/usr/lib/*.so.* --- ahven-1.2.orig/debian/rules +++ ahven-1.2/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # required for git + mkdir -p lib test_objects objects doc/api + $(MAKE) clean + rm -f lib/libahven.so.* + + dh_clean + +build: patch-stamp build-stamp +build-stamp: + dh_testdir + + CFLAGS="$(CFLAGS)" $(MAKE) + # build docs as well + $(MAKE) docs + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) PREFIX=$(CURDIR)/debian/tmp/usr install + + mv debian/tmp/usr/lib/ahven/libahven.so.* debian/tmp/usr/lib + ln -sf libahven.so.`basename debian/tmp/usr/lib/libahven.so.*.* | sed -e 's/libahven.so.//'` debian/tmp/usr/lib/libahven.so + ln -sf libahven.so.`basename debian/tmp/usr/lib/libahven.so.*.* | sed -e 's/libahven.so.//'` debian/tmp/usr/lib/libahven.so.`basename debian/tmp/usr/lib/libahven.so.*.* | sed -e 's/libahven.so.//' -e 's/\..*//'` + + mkdir -p debian/tmp/usr/share/ada/adainclude + mv debian/tmp/usr/include/ahven debian/tmp/usr/share/ada/adainclude + + mkdir -p debian/tmp/usr/lib/ada/adalib + mv debian/tmp/usr/lib/ahven debian/tmp/usr/lib/ada/adalib + + mv debian/tmp/usr/lib/gnat/* debian/tmp/usr/share/ada/adainclude + rmdir debian/tmp/usr/lib/gnat + +binary: binary-arch + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_lintian + dh_strip --dbg-package=ahven-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + +.PHONY: clean build install binary binary-arch binary-indep --- ahven-1.2.orig/debian/watch +++ ahven-1.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.gna.org/ahven/ahven-(.*)\.tar\.gz --- ahven-1.2.orig/debian/changelog +++ ahven-1.2/debian/changelog @@ -0,0 +1,30 @@ +ahven (1.2-1) unstable; urgency=low + + * New upstream release: + - Bumps soname 11 to 12 - no other packages need to be transitioned. + * API-documentation is built with adabrowse now. + * Added adabrowse to Build-Depends. + * Added patch to build docs for ahven-xml_runner.ads and ahven-compat.ads + as well. + + -- Reto Buerki Sun, 18 May 2008 21:02:37 +0200 + +ahven (1.1-3) unstable; urgency=low + + * Added missing docs in libahven-dev package. + + -- Reto Buerki Sun, 11 May 2008 08:59:23 +0000 + +ahven (1.1-2) unstable; urgency=low + + * Only building ahven on architectures supported by gnat + (alpha amd64 hppa i386 ia64 powerpc s390 sparc). + * Further excluding mips, mipsel (not ported yet). + + -- Reto Buerki Thu, 08 May 2008 10:16:06 +0200 + +ahven (1.1-1) unstable; urgency=low + + * Initial release. + + -- Reto Buerki Fri, 11 Apr 2008 11:20:14 +0200 --- ahven-1.2.orig/debian/libahven-dev.examples +++ ahven-1.2/debian/libahven-dev.examples @@ -0,0 +1 @@ +examples/* --- ahven-1.2.orig/debian/compat +++ ahven-1.2/debian/compat @@ -0,0 +1 @@ +7 --- ahven-1.2.orig/debian/control +++ ahven-1.2/debian/control @@ -0,0 +1,37 @@ +Source: ahven +Section: libs +Priority: optional +Maintainer: Reto Buerki +Uploaders: Adrian-Ken Rueegsegger +Build-Depends: debhelper (>= 7), dpatch, adabrowse, gnat +Standards-Version: 3.7.3 +Homepage: http://home.gna.org/ahven/ + +Package: libahven12 +Section: libs +Architecture: alpha amd64 hppa i386 ia64 powerpc s390 sparc +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Unit test library for Ada + Ahven is a simple unit test library for the Ada 95 programming language. It + is loosely modeled after JUnit, and some ideas are taken from AUnit. + +Package: libahven-dev +Section: libdevel +Architecture: any +Depends: libahven12 (= ${binary:Version}) +Description: Unit test library for Ada (development) + Ahven is a simple unit test library for the Ada 95 programming language. It + is loosely modeled after JUnit, and some ideas are taken from AUnit. + . + This package contains the development files. + +Package: ahven-dbg +Section: devel +Priority: extra +Architecture: any +Depends: libahven12 (= ${binary:Version}), libahven-dev (= ${binary:Version}) +Description: Unit test library for Ada (debug) + Ahven is a simple unit test library for the Ada 95 programming language. It + is loosely modeled after JUnit, and some ideas are taken from AUnit. + . + This package contains the debug symbols. --- ahven-1.2.orig/debian/patches/01-fix_documentation_generation.dpatch +++ ahven-1.2/debian/patches/01-fix_documentation_generation.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-fix_documentation_generation.dpatch by Reto Buerki +## +## DP: Generate docs for ahven-compat.ads, ahven-xml_runner.ads too. + +@DPATCH@ + +diff -urNad ahven-1.2~/ahven.specs ahven-1.2/ahven.specs +--- ahven-1.2~/ahven.specs 2008-05-19 07:20:02.000000000 +0000 ++++ ahven-1.2/ahven.specs 2008-05-19 08:16:39.000000000 +0000 +@@ -1,3 +1,4 @@ ++ahven-compat.ads + ahven-doubly_linked_list.ads + ahven-framework.ads + ahven-listeners-basic.ads +@@ -8,4 +9,5 @@ + ahven-runner.ads + ahven-temporary_output.ads + ahven-text_runner.ads ++ahven-xml_runner.ads + ahven.ads --- ahven-1.2.orig/debian/patches/00list +++ ahven-1.2/debian/patches/00list @@ -0,0 +1 @@ +01-fix_documentation_generation.dpatch