debian/0000755000000000000000000000000011725732013007167 5ustar debian/copyright0000644000000000000000000000453711725641027011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: APQ Upstream-Contact: Marcelo Coraça de Freitas Source: http://framework.kow.com.br/projects/apq/files Files: * Copyright: (C) 2002-2007 Warren W. Gay (C) 2007-2012 KOW Framework Project License: GPL-2+ with Ada exception 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 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . As a special exception, if other files instantiate generics from this unit, or you link this unit with other files to produce an executable, this unit does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Public License. Files: debian/* Copyright: (C) 2009-2012 Adrian-Ken Rueegsegger License: GPL-2+ 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 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-3 file. debian/control0000644000000000000000000000316711725641027010605 0ustar Source: apq Section: libs Priority: optional Maintainer: Adrian-Ken Rueegsegger Uploaders: Reto Buerki DM-Upload-Allowed: yes Build-Depends: debhelper (>= 8), gnat, gnat-4.6, gprbuild, chrpath, texlive-latex-recommended, texlive-fonts-recommended, latex-xcolor Standards-Version: 3.9.3 Homepage: http://framework.kow.com.br/ Vcs-Browser: http://git.codelabs.ch/?p=debian/apq.git Vcs-Git: http://git.codelabs.ch/git/debian/apq.git Package: libapq3.2.0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Pluggable Ada 95 Binding to various database systems (library) APQ is a pluggable Ada 95 Binding to various database systems like PostgreSQL or MySQL. This is the core package providing the plugin loading support. Package: libapq3.2.0-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libapq3.2.0 (= ${binary:Version}), gnat, gnat-4.6 Description: Pluggable Ada 95 Binding to various database systems (development) APQ is a pluggable Ada 95 Binding to various database systems like PostgreSQL or MySQL. This is the core package providing the plugin loading support. . This package contains the development files. Package: libapq3.2.0-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, libapq3.2.0 (= ${binary:Version}), libapq3.2.0-dev (= ${binary:Version}) Description: Pluggable Ada 95 Binding to various database systems (debug) APQ is a pluggable Ada 95 Binding to various database systems like PostgreSQL or MySQL. This is the core package providing the plugin loading support. . This package contains the debugging symbols. debian/patches/0000755000000000000000000000000011725641027010622 5ustar debian/patches/01-fix-version.patch0000644000000000000000000000050511725641027014332 0ustar Author: Adrian-Ken Rueegsegger Description: Set correct version number in sample gpr file. --- apq.orig/samples/apq-samples.gpr +++ apq/samples/apq-samples.gpr @@ -12,7 +12,7 @@ project APQ.Samples is - version := "2.3.0"; + version := "3.2"; type Supported_OS is ("Windows_NT", "GNU/Linux"); debian/patches/series0000644000000000000000000000002511725641027012034 0ustar 01-fix-version.patch debian/libapq3.2.0.install0000644000000000000000000000002011725641027012404 0ustar /usr/lib/*.so.* debian/libapq3.2.0.docs0000644000000000000000000000000711725641027011673 0ustar README debian/libapq3.2.0-dev.docs0000644000000000000000000000001511725641027012446 0ustar manual/*.pdf debian/source/0000755000000000000000000000000011725641027010473 5ustar debian/source/format0000644000000000000000000000001411725641027011701 0ustar 3.0 (quilt) debian/libapq3.2.0-dev.install0000644000000000000000000000006711725641027013173 0ustar /usr/lib/*.a /usr/lib/*.so /usr/lib/ada /usr/share/ada debian/libapq3.2.0-dev.examples0000644000000000000000000000003411725641027013335 0ustar samples/*.gpr samples/src/* debian/changelog0000644000000000000000000000427211725641110011043 0ustar apq (3.2.0-1) unstable; urgency=low * Imported Upstream version 3.2.0 (Closes: #590631) * Update to Standards-Version 3.9.3 (no changes) * Update to debhelper 8 * Update Vcs-Git URL * Update/Drop patches * Update copyright information * Set package names to new library version 3.2.0 * Migrate to gnat-4.6 (Closes: #660536) * Add gprbuild and chrpath to build dependencies * Do not install changelog/HISTORY twice * Fix description-synopsis-starts-with-article warning * Update rules * Update installed GNAT project file * Switch to 3.0 (quilt) source package format * Add uploaders and allow DM upload * Add gnat as dependency * Fix binary-control-field-duplicates-source warning -- Adrian-Ken Rueegsegger Wed, 07 Mar 2012 12:10:43 +0100 apq (3.0-2) unstable; urgency=low * Add missing conflict to libapq3-common (Closes: #570909). -- Adrian-Ken Rueegsegger Sun, 28 Feb 2010 13:15:09 +0100 apq (3.0-1) unstable; urgency=low * Merging upstream version 3.0. * Update to new upstream URL. * Bump Standards-Version to 3.8.3. * Migrate to GNAT 4.4 (Closes: #555096). * Update patches. * Use patched upstream makefile for build. * Fix documentation generation. * Update rules. * Adjust installed doc and example files. * Update lintian overrides. * Make package compliant to latest Debian Ada Policy. * Add README.source file. * Fix debhelper-but-no-misc-depends lintian warning. * Update to Standards-Version 3.8.4 (no changes). -- Adrian-Ken Rueegsegger Wed, 17 Feb 2010 21:58:34 +0100 apq (3.0~b1-3) unstable; urgency=low * Set proper build dependency for gnat-4.3 (Closes: #533155). -- Adrian-Ken Rueegsegger Mon, 15 Jun 2009 21:26:52 +0200 apq (3.0~b1-2) unstable; urgency=low * Remove all built files on 'clean'. * Install debian-specific gpr file. * Remove redundant build dependency for gnat. * Build static library and install with dev package. -- Adrian-Ken Rueegsegger Thu, 14 May 2009 23:05:22 +0200 apq (3.0~b1-1) unstable; urgency=low * Initial Release. -- Adrian-Ken Rueegsegger Sun, 22 Mar 2009 17:14:32 +0100 debian/misc/0000755000000000000000000000000011725641027010126 5ustar debian/misc/apq.gpr0000644000000000000000000000224611725641027011425 0ustar -- APQ project file for use with GNAT -- Copyright (c) 2009-2012 Adrian-Ken Rueegsegger -- -- 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 2 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. -- -- This project file is designed to help build applications that use APQ. -- Here is an example of how to use this project file: -- -- with "apq"; -- project Example is -- for Object_Dir use "obj"; -- for Exec_Dir use "."; -- for Main use ("example"); -- end Example; library project APQ is for Source_Dirs use ("/usr/share/ada/adainclude/apq"); for Library_Name use "apq"; for Library_Dir use "/usr/lib"; for Library_ALI_Dir use "/usr/lib/ada/adalib/apq"; for Library_Kind use "dynamic"; for Externally_Built use "true"; end APQ; debian/compat0000644000000000000000000000000211725641027010371 0ustar 8 debian/rules0000755000000000000000000000315511725641027010257 0ustar #!/usr/bin/make -f PN = apq PV = 3.2.0 LIBDIR = debian/tmp/usr/lib/$(PN)-debug/relocatable CPUS := $(shell getconf _NPROCESSORS_ONLN) %: dh ${@} override_dh_auto_clean: $(MAKE) distclean $(MAKE) -C manual clean # Restore original file mode chmod 755 samples/Makefile rm -f manual/*.out rm -f lib/* override_dh_auto_configure: ./configure --enable-debug --prefix=./debian/tmp/usr/ --processor=$(CPUS) override_dh_auto_build: dh_auto_build $(MAKE) -C manual override_dh_auto_install: dh_auto_install rm -f $(LIBDIR)/lib$(PN).so chmod 644 $(LIBDIR)/* chmod 644 debian/tmp/usr/lib/$(PN)-debug/static/lib$(PN).a ln -sf lib$(PN).so.`basename $(LIBDIR)/lib$(PN).so.*.* | sed -e 's/lib$(PN).so.//'` $(LIBDIR)/lib$(PN).so mv $(LIBDIR)/*.so* debian/tmp/usr/lib mv debian/tmp/usr/lib/$(PN)-debug/static/lib$(PN).a debian/tmp/usr/lib chrpath -d debian/tmp/usr/lib/lib$(PN).so.*.* mkdir -p debian/tmp/usr/share/ada/adainclude mv debian/tmp/usr/src/$(PN) debian/tmp/usr/share/ada/adainclude chmod -R 444 debian/tmp/usr/share/ada/adainclude/$(PN)/* cp debian/misc/*.gpr debian/tmp/usr/share/ada/adainclude mkdir -p debian/tmp/usr/lib/ada/adalib/$(PN) mv $(LIBDIR)/*.ali debian/tmp/usr/lib/ada/adalib/$(PN) chmod -R 444 debian/tmp/usr/lib/ada/adalib/$(PN)/* chmod 644 samples/Makefile rm -rf debian/tmp/usr/lib/apq rm -rf debian/tmp/usr/lib/apq-debug rm -rf debian/tmp/usr/lib/gnat override_dh_install: dh_install --fail-missing override_dh_install_changelogs: dh_install_changelogs NEWS override_dh_compress: dh_compress -X.ads -X.adb -XMakefile override_dh_strip: dh_strip --dbg-package=lib$(PN)$(PV)-dbg