From 535ef6732eeec22b551929dacf2042f7640fe64a Mon Sep 17 00:00:00 2001 From: tux Date: Thu, 23 Apr 2015 17:48:00 +0200 Subject: [PATCH] Inizio pacchetto di libgdaex. --- packages/libgdaex/README.Debian | 6 + packages/libgdaex/README.source | 10 + packages/libgdaex/changelog | 5 + packages/libgdaex/compat | 1 + packages/libgdaex/control | 22 ++ packages/libgdaex/copyright | 38 +++ packages/libgdaex/docs | 3 + packages/libgdaex/init.d.ex | 166 +++++++++++ packages/libgdaex/libgdaex-dev.dirs | 2 + packages/libgdaex/libgdaex-dev.install | 4 + packages/libgdaex/libgdaex.cron.d.ex | 4 + packages/libgdaex/libgdaex.default.ex | 10 + packages/libgdaex/libgdaex.doc-base.EX | 20 ++ packages/libgdaex/libgdaex1.dirs | 2 + packages/libgdaex/libgdaex1.install | 2 + packages/libgdaex/manpage.1.ex | 56 ++++ packages/libgdaex/manpage.sgml.ex | 154 ++++++++++ packages/libgdaex/manpage.xml.ex | 291 +++++++++++++++++++ packages/libgdaex/menu.ex | 2 + packages/libgdaex/patches/001-no-tests.patch | 12 + packages/libgdaex/patches/series | 1 + packages/libgdaex/postinst.ex | 39 +++ packages/libgdaex/postrm.ex | 37 +++ packages/libgdaex/preinst.ex | 35 +++ packages/libgdaex/prerm.ex | 38 +++ packages/libgdaex/rules | 33 +++ packages/libgdaex/shlibs.local.ex | 1 + packages/libgdaex/source/format | 1 + packages/libgdaex/watch.ex | 23 ++ 29 files changed, 1018 insertions(+) create mode 100644 packages/libgdaex/README.Debian create mode 100644 packages/libgdaex/README.source create mode 100644 packages/libgdaex/changelog create mode 100644 packages/libgdaex/compat create mode 100644 packages/libgdaex/control create mode 100644 packages/libgdaex/copyright create mode 100644 packages/libgdaex/docs create mode 100644 packages/libgdaex/init.d.ex create mode 100644 packages/libgdaex/libgdaex-dev.dirs create mode 100644 packages/libgdaex/libgdaex-dev.install create mode 100644 packages/libgdaex/libgdaex.cron.d.ex create mode 100644 packages/libgdaex/libgdaex.default.ex create mode 100644 packages/libgdaex/libgdaex.doc-base.EX create mode 100644 packages/libgdaex/libgdaex1.dirs create mode 100644 packages/libgdaex/libgdaex1.install create mode 100644 packages/libgdaex/manpage.1.ex create mode 100644 packages/libgdaex/manpage.sgml.ex create mode 100644 packages/libgdaex/manpage.xml.ex create mode 100644 packages/libgdaex/menu.ex create mode 100644 packages/libgdaex/patches/001-no-tests.patch create mode 100644 packages/libgdaex/patches/series create mode 100644 packages/libgdaex/postinst.ex create mode 100644 packages/libgdaex/postrm.ex create mode 100644 packages/libgdaex/preinst.ex create mode 100644 packages/libgdaex/prerm.ex create mode 100755 packages/libgdaex/rules create mode 100644 packages/libgdaex/shlibs.local.ex create mode 100644 packages/libgdaex/source/format create mode 100644 packages/libgdaex/watch.ex diff --git a/packages/libgdaex/README.Debian b/packages/libgdaex/README.Debian new file mode 100644 index 0000000..e5a2523 --- /dev/null +++ b/packages/libgdaex/README.Debian @@ -0,0 +1,6 @@ +libgdaex for Debian +------------------- + + + + -- tux Thu, 16 Apr 2015 15:39:15 +0200 diff --git a/packages/libgdaex/README.source b/packages/libgdaex/README.source new file mode 100644 index 0000000..59e0389 --- /dev/null +++ b/packages/libgdaex/README.source @@ -0,0 +1,10 @@ +libgdaex for Debian +------------------- + + + + + + -- tux Thu, 16 Apr 2015 15:39:15 +0200 + diff --git a/packages/libgdaex/changelog b/packages/libgdaex/changelog new file mode 100644 index 0000000..8efc687 --- /dev/null +++ b/packages/libgdaex/changelog @@ -0,0 +1,5 @@ +libgdaex (0.5.0-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- tux Thu, 16 Apr 2015 15:39:15 +0200 diff --git a/packages/libgdaex/compat b/packages/libgdaex/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/packages/libgdaex/compat @@ -0,0 +1 @@ +9 diff --git a/packages/libgdaex/control b/packages/libgdaex/control new file mode 100644 index 0000000..51a50b2 --- /dev/null +++ b/packages/libgdaex/control @@ -0,0 +1,22 @@ +Source: libgdaex +Priority: optional +Maintainer: Andrea Zagli +Build-Depends: debhelper (>= 9), autotools-dev, libgda-5.0-dev +Standards-Version: 3.9.5 +Section: libs +Homepage: http://saetta.ns0.it +#Vcs-Git: git://anonscm.debian.org/collab-maint/libgdaex.git +#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/libgdaex.git;a=summary + +Package: libgdaex-dev +Section: libdevel +Architecture: any +Depends: libgdaex0 (= ${binary:Version}), ${misc:Depends}, libgda-5.0-dev +Description: library of utilities for libgda + Library with many utilities functions for libgda. + +Package: libgdaex0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libgda-5.0 +Description: library of utilities for libgda + Library with many utilities functions for libgda. diff --git a/packages/libgdaex/copyright b/packages/libgdaex/copyright new file mode 100644 index 0000000..3b101ee --- /dev/null +++ b/packages/libgdaex/copyright @@ -0,0 +1,38 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libgdaex +Source: + +Files: * +Copyright: + +License: + + + . + + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: debian/* +Copyright: 2015 tux +License: GPL-2+ + 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 2 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 + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/packages/libgdaex/docs b/packages/libgdaex/docs new file mode 100644 index 0000000..5502ed8 --- /dev/null +++ b/packages/libgdaex/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO diff --git a/packages/libgdaex/init.d.ex b/packages/libgdaex/init.d.ex new file mode 100644 index 0000000..5195a99 --- /dev/null +++ b/packages/libgdaex/init.d.ex @@ -0,0 +1,166 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: libgdaex +# Required-Start: $local_fs $network $remote_fs $syslog +# Required-Stop: $local_fs $network $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: +# Description: +# <...> +# <...> +### END INIT INFO + +# Author: tux + +# Do NOT "set -e" + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="libgdaex" +NAME=libgdaex +DAEMON=/usr/sbin/libgdaex +DAEMON_ARGS="" +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +# Load the VERBOSE setting and other rcS variables +. /lib/init/vars.sh + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.2-14) to ensure that this file is present +# and status_of_proc is working. +. /lib/lsb/init-functions + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ + $DAEMON_ARGS \ + || return 2 + # The above code will not work for interpreted scripts, use the next + # six lines below instead (Ref: #643337, start-stop-daemon(8) ) + #start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON \ + # --name $NAME --test > /dev/null \ + # || return 1 + #start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON \ + # --name $NAME -- $DAEMON_ARGS \ + # || return 2 + + # Add code here, if necessary, that waits for the process to be ready + # to handle requests from services started subsequently which depend + # on this one. As a last resort, sleep for some time. +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Wait for children to finish too if this is a daemon that forks + # and if the daemon is only ever run from this initscript. + # If the above conditions are not satisfied then add some other code + # that waits for the process to drop all resources that could be + # needed by services started subsequently. A last resort is to + # sleep for some time. + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + [ "$?" = 2 ] && return 2 + # Many daemons don't delete their pidfiles when they exit. + rm -f $PIDFILE + return "$RETVAL" +} + +# +# Function that sends a SIGHUP to the daemon/service +# +do_reload() { + # + # If the daemon can reload its configuration without + # restarting (for example, when it is sent a SIGHUP), + # then implement that here. + # + start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME + return 0 +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + status) + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? + ;; + #reload|force-reload) + # + # If do_reload() is not implemented then leave this commented out + # and leave 'force-reload' as an alias for 'restart'. + # + #log_daemon_msg "Reloading $DESC" "$NAME" + #do_reload + #log_end_msg $? + #;; + restart|force-reload) + # + # If the "reload" option is implemented then remove the + # 'force-reload' alias + # + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/packages/libgdaex/libgdaex-dev.dirs b/packages/libgdaex/libgdaex-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/packages/libgdaex/libgdaex-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/packages/libgdaex/libgdaex-dev.install b/packages/libgdaex/libgdaex-dev.install new file mode 100644 index 0000000..9801ad2 --- /dev/null +++ b/packages/libgdaex/libgdaex-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/x86_64-linux-gnu/lib*.a +usr/lib/x86_64-linux-gnu/lib*.so* +usr/lib/x86_64-linux-gnu/pkgconfig/* diff --git a/packages/libgdaex/libgdaex.cron.d.ex b/packages/libgdaex/libgdaex.cron.d.ex new file mode 100644 index 0000000..1064147 --- /dev/null +++ b/packages/libgdaex/libgdaex.cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the libgdaex package +# +0 4 * * * root [ -x /usr/bin/libgdaex_maintenance ] && /usr/bin/libgdaex_maintenance diff --git a/packages/libgdaex/libgdaex.default.ex b/packages/libgdaex/libgdaex.default.ex new file mode 100644 index 0000000..9be3c00 --- /dev/null +++ b/packages/libgdaex/libgdaex.default.ex @@ -0,0 +1,10 @@ +# Defaults for libgdaex initscript +# sourced by /etc/init.d/libgdaex +# installed at /etc/default/libgdaex by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/packages/libgdaex/libgdaex.doc-base.EX b/packages/libgdaex/libgdaex.doc-base.EX new file mode 100644 index 0000000..e9a6f33 --- /dev/null +++ b/packages/libgdaex/libgdaex.doc-base.EX @@ -0,0 +1,20 @@ +Document: libgdaex +Title: Debian libgdaex Manual +Author: +Abstract: This manual describes what libgdaex is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/libgdaex/libgdaex.sgml.gz + +Format: postscript +Files: /usr/share/doc/libgdaex/libgdaex.ps.gz + +Format: text +Files: /usr/share/doc/libgdaex/libgdaex.text.gz + +Format: HTML +Index: /usr/share/doc/libgdaex/html/index.html +Files: /usr/share/doc/libgdaex/html/*.html diff --git a/packages/libgdaex/libgdaex1.dirs b/packages/libgdaex/libgdaex1.dirs new file mode 100644 index 0000000..f7077cf --- /dev/null +++ b/packages/libgdaex/libgdaex1.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/share diff --git a/packages/libgdaex/libgdaex1.install b/packages/libgdaex/libgdaex1.install new file mode 100644 index 0000000..71725b1 --- /dev/null +++ b/packages/libgdaex/libgdaex1.install @@ -0,0 +1,2 @@ +usr/lib/x86_64-linux-gnu/lib*.so.* +usr/share/libgdaex diff --git a/packages/libgdaex/manpage.1.ex b/packages/libgdaex/manpage.1.ex new file mode 100644 index 0000000..f6bddda --- /dev/null +++ b/packages/libgdaex/manpage.1.ex @@ -0,0 +1,56 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" (C) Copyright 2015 tux , +.\" +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH LIBGDAEX SECTION "April 16, 2015" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +libgdaex \- program to do something +.SH SYNOPSIS +.B libgdaex +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B libgdaex +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBlibgdaex\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. diff --git a/packages/libgdaex/manpage.sgml.ex b/packages/libgdaex/manpage.sgml.ex new file mode 100644 index 0000000..76184d9 --- /dev/null +++ b/packages/libgdaex/manpage.sgml.ex @@ -0,0 +1,154 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FIRSTNAME"> + SURNAME"> + + April 16, 2015"> + + SECTION"> + tux@develop64.comune.scandicci.fi.it"> + + LIBGDAEX"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to do something + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; and bar + commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a program that... + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + Info files. + + + + + + + + Show summary of options. + + + + + + + + Show version of program. + + + + + + SEE ALSO + + bar (1), baz (1). + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (and may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + diff --git a/packages/libgdaex/manpage.xml.ex b/packages/libgdaex/manpage.xml.ex new file mode 100644 index 0000000..9972e3a --- /dev/null +++ b/packages/libgdaex/manpage.xml.ex @@ -0,0 +1,291 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2007 + &dhusername; + + + This manual page was written for the Debian system + (and may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + program to do something + + + + &dhpackage; + + + + + + + + + this + + + + + + + + this + that + + + + + &dhpackage; + + + + + + + + + + + + + + + + + + + DESCRIPTION + This manual page documents briefly the + &dhpackage; and bar + commands. + This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU + info + 1 + format; see below. + &dhpackage; is a program that... + + + OPTIONS + The program follows the usual GNU command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + + info + 1 + files. + + + + + + + Does this and that. + + + + + + + Show summary of options. + + + + + + + Show version of program. + + + + + + FILES + + + /etc/foo.conf + + The system-wide configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + ${HOME}/.foo.conf + + The per-user configuration file to control the + behaviour of &dhpackage;. See + + foo.conf + 5 + for further details. + + + + + + ENVIRONMENT + + + FOO_CONF + + If used, the defined file is used as configuration + file (see also ). + + + + + + DIAGNOSTICS + The following diagnostics may be issued + on stderr: + + + Bad configuration file. Exiting. + + The configuration file seems to contain a broken configuration + line. Use the option, to get more info. + + + + + &dhpackage; provides some return codes, that can + be used in scripts: + + Code + Diagnostic + + 0 + Program exited successfully. + + + 1 + The configuration file seems to be broken. + + + + + + BUGS + The program is currently limited to only work + with the foobar library. + The upstreams BTS can be found + at . + + + SEE ALSO + + + bar + 1 + , + baz + 1 + , + foo.conf + 5 + + The programs are documented fully by The Rise and + Fall of a Fooish Bar available via the + info + 1 + system. + +
+ diff --git a/packages/libgdaex/menu.ex b/packages/libgdaex/menu.ex new file mode 100644 index 0000000..39e8158 --- /dev/null +++ b/packages/libgdaex/menu.ex @@ -0,0 +1,2 @@ +?package(libgdaex):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="libgdaex" command="/usr/bin/libgdaex" diff --git a/packages/libgdaex/patches/001-no-tests.patch b/packages/libgdaex/patches/001-no-tests.patch new file mode 100644 index 0000000..53b65f8 --- /dev/null +++ b/packages/libgdaex/patches/001-no-tests.patch @@ -0,0 +1,12 @@ +Index: libgdaex-0.5.0/Makefile.am +=================================================================== +--- libgdaex-0.5.0.orig/Makefile.am 2015-04-16 15:26:11.000000000 +0200 ++++ libgdaex-0.5.0/Makefile.am 2015-04-16 16:11:07.162272985 +0200 +@@ -1,6 +1,6 @@ + DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc + +-SUBDIRS = data po src docs tests ++SUBDIRS = data po src docs + + ACLOCAL_AMFLAGS = -I m4 + diff --git a/packages/libgdaex/patches/series b/packages/libgdaex/patches/series new file mode 100644 index 0000000..407ac47 --- /dev/null +++ b/packages/libgdaex/patches/series @@ -0,0 +1 @@ +001-no-tests.patch diff --git a/packages/libgdaex/postinst.ex b/packages/libgdaex/postinst.ex new file mode 100644 index 0000000..10167cf --- /dev/null +++ b/packages/libgdaex/postinst.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for libgdaex +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/libgdaex/postrm.ex b/packages/libgdaex/postrm.ex new file mode 100644 index 0000000..277a9c3 --- /dev/null +++ b/packages/libgdaex/postrm.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# postrm script for libgdaex +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/libgdaex/preinst.ex b/packages/libgdaex/preinst.ex new file mode 100644 index 0000000..147f431 --- /dev/null +++ b/packages/libgdaex/preinst.ex @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for libgdaex +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/libgdaex/prerm.ex b/packages/libgdaex/prerm.ex new file mode 100644 index 0000000..9d7b277 --- /dev/null +++ b/packages/libgdaex/prerm.ex @@ -0,0 +1,38 @@ +#!/bin/sh +# prerm script for libgdaex +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/libgdaex/rules b/packages/libgdaex/rules new file mode 100755 index 0000000..32981a5 --- /dev/null +++ b/packages/libgdaex/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +# main packaging script based on dh7 syntax +%: + #dh $@ --with autotools-dev + dh $@ --with autoreconf + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + + + + diff --git a/packages/libgdaex/shlibs.local.ex b/packages/libgdaex/shlibs.local.ex new file mode 100644 index 0000000..5aae087 --- /dev/null +++ b/packages/libgdaex/shlibs.local.ex @@ -0,0 +1 @@ +liblibgdaex 0.5.0 libgdaex (>> 0.5.0-0), libgdaex (<< 0.5.0-99) diff --git a/packages/libgdaex/source/format b/packages/libgdaex/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/packages/libgdaex/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/packages/libgdaex/watch.ex b/packages/libgdaex/watch.ex new file mode 100644 index 0000000..f4168d6 --- /dev/null +++ b/packages/libgdaex/watch.ex @@ -0,0 +1,23 @@ +# 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. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php libgdaex-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/libgdaex-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/libgdaex-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/libgdaex/libgdaex-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html libgdaex-(.*)\.tar\.gz -- 2.49.0