From: Gerfried Fuchs Date: Thu, 7 Sep 2006 15:29:20 +0000 (-0500) Subject: Imported Debian patch 0.6.0~pre2-1 X-Git-Tag: debian/0.6.0_pre2-1^0 X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=commitdiff_plain;h=48f49221ba69514441d1254f0a30cf6170b10cc9;hp=2cd2b91adea5118cff59a43c15082078ae6f214a Imported Debian patch 0.6.0~pre2-1 --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8f09c18 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,292 @@ +abook (0.6.0~pre2-1) experimental; urgency=low + + * New upstream release + + -- Gerfried Fuchs Thu, 7 Sep 2006 10:29:20 -0500 + +abook (0.6.0~pre1-1) experimental; urgency=low + + * Upstream pre version of 0.6.0 release. + * new debconf translations: French by Pierre Machard (closes: #384681) + + -- Gerfried Fuchs Thu, 31 Aug 2006 07:26:11 -0500 + +abook (0.5.6+cvs1-1) experimental; urgency=low + + * CVS snapshot with flexible view, which resolves: + - small number of email addresses (closes: #333450) + * new debconf translations: Portuguese by Miguel Figueiredo, Català by + Jordà Polo (closes: #381362), Swedish by Daniel Nylander + * Fixed typo in template, noticed by Pierre Machard (closes: #383473) + * contrib files got deleted from upstream, so they are removed from the + Debian package, too. + + -- Gerfried Fuchs Mon, 21 Aug 2006 07:41:58 -0500 + +abook (0.5.6-1) unstable; urgency=low + + * New upstream release. + * Updated config.{guess,sub}. + * Bumped Standards-Version to 3.7.2, no changes needed. + * Used debconf for mutt query inclusion instead of outdated upgrade note + that would only affect upgrades from oldstable (woody) (closes: #377633). + * new debconf translations: Romanian by Eddy Petrişor (closes: #380505), + Czech by Miroslav Kure, Brazilian Portuguese by Felipe Augusto van de + Wiel, Vietnamese by Clytie Siddall, Hungarian by Attila Szervñc, German by + myself. + + -- Gerfried Fuchs Wed, 02 Aug 2006 09:15:46 -0500 + +abook (0.5.5-1) unstable; urgency=low + + * New upstream release. + * New debconf translation: + - Spanish by César Gómez Martín (closes: #333758) + * Applied patch to fix some incorrect entries in the help screen. + * Updated config.sub and config.guess. + + -- Gerfried Fuchs Mon, 12 Dec 2005 12:35:38 +0100 + +abook (0.5.4-3) unstable; urgency=low + + * Added alternative for debconf-2.0 (closes: #331730) + * Removed article from synopsis. + * New debconf translation: + - Swedish by Daniel Nylander (closes: #331292) + + -- Gerfried Fuchs Mon, 10 Oct 2005 13:17:09 +0200 + +abook (0.5.4-2) unstable; urgency=low + + * The "lintian bugs R us" release: + - Moved menu file from /usr/lib/menu to /usr/share/menu. + - Removed bashism in postrm and config. + + -- Gerfried Fuchs Mon, 05 Sep 2005 12:33:49 +0200 + +abook (0.5.4-1) unstable; urgency=low + + * New upstream release (closes: #314611) + * Bumped standards version, no changes needed. + * New debconf translation: + - Vietnamese by Clytie Siddall (closes: #313019) + - Italian by Luca Bruno (closes: #316911) + * Changed Build-Depends from libreadline4-dev to + libreadline5-dev | libreadline-dev (closes: #326392) + + -- Gerfried Fuchs Mon, 05 Sep 2005 12:17:19 +0200 + +abook (0.5.3-3) unstable; urgency=high + + * New debconf translation: + - Finnish by Matti Pöllä (closes: #303820) + - Vietnamese by Clytie Siddall (closes: #307595) + + -- Gerfried Fuchs Tue, 10 May 2005 12:42:58 +0200 + +abook (0.5.3-2) unstable; urgency=low + + * Updated config.sub and config.guess (closes: #299212) + + -- Gerfried Fuchs Mon, 14 Mar 2005 14:38:39 +0100 + +abook (0.5.3-1) unstable; urgency=medium + + * New upstream release: fixes import from mutt aliases (closes: #254969) + + -- Gerfried Fuchs Mon, 11 Oct 2004 10:19:14 +0200 + +abook (0.5.2-3) unstable; urgency=medium + + * Switched to libncursesw5-dev instead to support utf8 properly + (closes: #271626) + + -- Gerfried Fuchs Fri, 17 Sep 2004 16:02:51 +0200 + +abook (0.5.2-2) unstable; urgency=low + + * Updated watch file -- hope it works longer this time. + * New debconf translations: + - Catalan by Josep Monés i Teixidor (closes: #247151) + - Czech by Ondra Kudlik (closes: #260615) + + -- Gerfried Fuchs Mon, 3 May 2004 17:26:28 +0200 + +abook (0.5.2-1) unstable; urgency=low + + * New upstream release: + - five custom fields added (closes: #158428) + - abookrc manual page update (closes: #231909) + * debian/menu: Quoted all the values + + -- Gerfried Fuchs Mon, 19 Apr 2004 20:27:48 +0200 + +abook (0.5.1-2) unstable; urgency=low + + * Added patch from Jaakko Heinonen to fix segfault in memory handling + (closes: #226581) + * Two new po-debconf translations: + - Japanese done by Hideki Yamane (closes: #227389) + - Danish done by Morten Brix Pedersen (closes: #227789) + + -- Gerfried Fuchs Mon, 26 Jan 2004 13:53:34 +0000 + +abook (0.5.1-1) unstable; urgency=low + + * New upstream release (closes: #224901) + + -- Gerfried Fuchs Thu, 25 Dec 2003 17:12:51 +0000 + +abook (0.5.0-4) unstable; urgency=low + + * Added Portuguese po-debconf translation, + done by Bruno Rodrigues (closes: #216257) + + -- Gerfried Fuchs Thu, 30 Oct 2003 11:15:32 +0000 + +abook (0.5.0-3) unstable; urgency=low + + * Added po-debconf translations: + - Dutch by Michiel Sikkes (closes: #214001) + - Russian by Ilgiz Kalmetev (closes: #214353) + Thanks to you all. + + -- Gerfried Fuchs Mon, 6 Oct 2003 08:52:34 +0000 + +abook (0.5.0-2) unstable; urgency=low + + * Added po-debconf translations: + - Polish by Bartosz Zapalowski (closes: #208953) + - Frensh by Pierre Machard (closes: #205120) + - Brazilian Portuguese by Andre Luis Lopes (closes: #205838) + * Updated to policy 3.6.1 (no changes needed). + + -- Gerfried Fuchs Mon, 22 Sep 2003 10:42:44 +0000 + +abook (0.5.0-1) unstable; urgency=low + + * New upstream release (closes: #201836) + * Updated to policy 3.6.0. + * Build-Depends on libreadline4-dev now (closes: #136230, #163268) + To get the old data simply press cursor up. + * Added debconf hint message that old addressbook must be imported and + can be deleted afterwards, location and format change. + * de-debhelper-ized the package: DEB_BUILD_OPTIONS noopt and nostrip should + be supported now, too. + * removed emacs cruft from end of this file. + * Add vim script into binary distribution, to contrib directory. + + -- Gerfried Fuchs Thu, 07 Aug 2003 23:49:52 +0200 + +abook (0.4.17-1) unstable; urgency=low + + * New maintainer. + * New upstream release (closes: #131309) which closes: #152905 + * debian/control: + -) Removed fullstop from short description. + -) Updated to policy 3.5.9 + * debian/rules: + -) moved compat level into debian/compat + -) moved example files into debian/examples + -) removed comented out dh_ lines that never will make it into the package + * debian/menu: + -) added longtitle + * added debian/watch file + + -- Gerfried Fuchs Fri, 28 Mar 2003 11:52:20 +0100 + +abook (0.4.16-1) unstable; urgency=low + + * New upstream release + * Closes: #129867, #133482 + + -- Alan Ford Sun, 17 Mar 2002 14:51:50 +0000 + +abook (0.4.15-1) unstable; urgency=low + + * New upstream release. Closes: #131309 + * Added some contrib files in /usr/share/doc/abook/ + + -- Alan Ford Sun, 4 Nov 2001 14:50:38 +0000 + +abook (0.4.14-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Sat, 29 Sep 2001 22:49:00 +0100 + +abook (0.4.13-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Wed, 20 Jun 2001 22:16:42 +0100 + +abook (0.4.12-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Tue, 20 Mar 2001 21:51:22 +0000 + +abook (0.4.11-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Tue, 2 Jan 2001 17:08:46 +0000 + +abook (0.4.10-1) unstable; urgency=low + + * New upstream release + * Fixes segfault bug. Closes: #70083 + + -- Alan Ford Sat, 16 Sep 2000 09:52:19 +0100 + +abook (0.4.9-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Thu, 27 Jul 2000 23:00:07 +0100 + +abook (0.4.8-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Wed, 21 Jun 2000 16:33:48 +0100 + +abook (0.4.7-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Sun, 28 May 2000 16:10:59 +0100 + +abook (0.4.6-1) unstable; urgency=low + + * New upstream release + * Makes fields less US-specific. Closes: #62797 + + -- Alan Ford Thu, 11 May 2000 20:03:40 +0100 + +abook (0.4.5-1) unstable; urgency=low + + * New upstream release + * Removed generic INSTALL from doc directory. Closes: #62789 + + -- Alan Ford Fri, 21 Apr 2000 11:50:59 +0100 + +abook (0.4.4-1) unstable; urgency=low + + * New upstream release + * Fixes segfault bug. Closes: #62022 + + -- Alan Ford Sun, 9 Apr 2000 10:39:06 +0100 + +abook (0.4.3-1) unstable; urgency=low + + * New upstream release + + -- Alan Ford Sun, 2 Apr 2000 12:06:23 +0100 + +abook (0.4.2-1) unstable; urgency=low + + * Initial Release. + + -- Alan Ford Sat, 18 Mar 2000 12:38:34 +0000 diff --git a/debian/config b/debian/config new file mode 100644 index 0000000..5a2484f --- /dev/null +++ b/debian/config @@ -0,0 +1,16 @@ +#!/bin/sh -e +# config script for abook + +action=$1 +version=$2 + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_unregister abook/files_moved || true + +# create the /etc/Muttrc.d/ snippet? +db_input medium abook/muttrc.d || true +db_go + +exit 0 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..27d24ca --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: abook +Section: mail +Priority: optional +Maintainer: Gerfried Fuchs +Standards-Version: 3.7.2 +Build-Depends: libncursesw5-dev, libreadline5-dev | libreadline-dev, po-debconf + +Package: abook +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (>= 0.5) | debconf-2.0 +Enhances: mutt +Description: text-based ncurses address book application + abook is a text-based ncurses address book application. It provides many + different fields of user info. abook is designed for use with mutt, but + can be used independently. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fa0f719 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,14 @@ +This package was first debianized by Alan Ford +on Sat, 18 Mar 2000 12:38:34 +0000. + +It was downloaded from +http://abook.sourceforge.net/ + +Upstream Author: Jaakko Heinonen + +Copyright: + +abook is distributed under the terms of the GNU GPL, version 2. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..027911f --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(abook):needs="text" section="Apps/Tools" title="Abook" \ + command="/usr/bin/abook" longtitle="Address Book" diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/debian/po/ca.po b/debian/po/ca.po new file mode 100644 index 0000000..1c4e6ca --- /dev/null +++ b/debian/po/ca.po @@ -0,0 +1,38 @@ +# +# Catalan translation for abook package. +# Copyright (C) 2006 Gerfried Fuchs. +# This file is distributed under the same license as the abook package. +# +# Jordà Polo , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: 2.1.1\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Jordà Polo \n" +"Language-Team: Català \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Voleu habilitar abook per a mutt a tot el sistema?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"abook ofereix la possibilitat de ser utilitzat des de mutt a l'hora de " +"realitzar consultes. Si accepteu, el paquet crearà un fitxer /etc/Muttrc.d/" +"abook.rc que permetrà fer consultes sobre la base de dades de abook i afegir " +"noves adreces de correu prement \"A\" des del mode paginador." diff --git a/debian/po/cs.po b/debian/po/cs.po new file mode 100644 index 0000000..2de3951 --- /dev/null +++ b/debian/po/cs.po @@ -0,0 +1,36 @@ +# Czech translation of abook debconf templates. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the abook package. +# Miroslav Kure , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: abook\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Chcete celosystémově povolit v muttu podporu abooku?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"abook je možné používat rovnou z muttu jako úložiÅ¡tě kontaktů. Odpovíte-li " +"kladně, balík vytvoří soubor /etc/Muttrc.d/abook.rc, ve kterém se povolí " +"dotazování do databáze abooku a také možnost přidávání nových adres klávesou " +"\"A\" z prohlížecího režimu." diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..6d497d2 --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,45 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: abook 0.5.0\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Gerfried Fuchs \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Wollen Sie abook Systemweit in mutt aktivieren?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"abook bietet die Möglichkeit, als externe Adressenabfrage in mutt verwendet " +"zu werden. Falls Sie dieser Frage zustimmen, wird das Paket eine /etc/Muttrc." +"d/abook.rc-Datei erstellen, die die Abfrage der abook-Datenbank und das " +"Hinzufügen von Adressen in abook durch Drücken von »A« im Pager-Modus " +"aktiviert." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..8053148 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,36 @@ +# abook debconf translation +# This file is distributed under the same license as the abook package. +# Pierre Machard 2003-2006 +# +msgid "" +msgstr "" +"Project-Id-Version: abook\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-31 07:24-0500\n" +"Last-Translator: Pierre Machard \n" +"Language-Team: Debian l10n French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Faut-il activer abook pour l'ensemble des utilisateurs de mutt ?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"Abook peut être employé comme agent de recherche depuis mutt. Si vous " +"choisissez cette option, le paquet créera un fichier /etc/Muttrc.d/abook.rc " +"qui activera les consultations de la base de données et complétera l'adresse " +"électronique dans abook en pressant la touche « A » dans le mode pagination " +"(« pager mode »)." diff --git a/debian/po/hu.po b/debian/po/hu.po new file mode 100644 index 0000000..641fa2e --- /dev/null +++ b/debian/po/hu.po @@ -0,0 +1,34 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: SZERVÑC Attila \n" +"Language-Team: Hungarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Poedit-Language: Hungarian\n" +"X-Poedit-Country: HUNGARY\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Engedélyezed az abook rendszer-szintű elérését a mutt számára?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"Az abook lehetővé teszi, hogy a mutt lekérdező motornak használja. Ha " +"jóváhagyod e kérdést, a csomag létrehoz egy /etc/Muttrc.d/abook.rc fájlt, " +"mely lehetővé teszi az abook adatbázis lekérdezését és email-címek " +"hozzáadását az \"A\" gomb leütésével a lapozó módban." diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..a2f9f11 --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,37 @@ +# Portuguese translation for abook (debconf) +# Copyright (C) 2006 Miguel Figueiredo +# This file is distributed under the same license as the abook package. +# Miguel Figueiredo , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: abook\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Miguel Figueiredo \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Deseja utilizar o abook em todo o sistema para o mutt?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"O abook oferece a possibilidade de ser utilizado como backend de querys a " +"partir do mutt. Se responder afirmativamente a esta pergunta o pacote irá " +"criar um ficheiro /etc/Muttrc.d/abook.rc que permite fazer querys à base de " +"dados do abook e adicionar endereços de mail ao abook, a partir do modo " +"pager, carregando em \"A\"." diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..f3a3b42 --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,37 @@ +# abook Brazilian Portuguese translation +# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the abook package. +# Felipe Augusto van de Wiel (faw) , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: abook\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Felipe Augusto van de Wiel (faw) \n" +"Language-Team: l10n portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR UTF-8\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Você gostaria de ativar o abook para o mutt em todo o sistema?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"abook oferece a possibilidade de ser usado como catálogo de consulta a " +"partir do mutt. Se você aceitar esta opção, o pacote criará um arquivo /etc/" +"Muttrc.d/abook.rc que ativará a consulta à base de dados abook e permitirá a " +"adição de endereços de e-mail ao abook pressionando \"A\" no modo \"pager\"." diff --git a/debian/po/ro.po b/debian/po/ro.po new file mode 100644 index 0000000..642828e --- /dev/null +++ b/debian/po/ro.po @@ -0,0 +1,37 @@ +# Romanian translation +# This file is distributed under the same license as the abook package. +# +# Eddy Petrisor , 2006. +msgid "" +msgstr "" +"Project-Id-Version: abook\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Eddy Petrişor \n" +"Language-Team: Romanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "DoriÅ£i să activaÅ£i abook pentru mutt pe întregul sistem?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"abook oferă posibilitatea să fie folosit ca suport pentru interogări din " +"mutt. Dacă răspundeÅ£i afirmativ la această întrebare, pachetul va crea un " +"fişier /etc/Muttrc.d/abook.rc care activează interogările asupra bazei de " +"date abook şi care adaugă adresele de poştă electronică în abook la apăsarea " +"tastei „A” din modul de paginaÅ£ie." diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 0000000..5dc36a6 --- /dev/null +++ b/debian/po/sv.po @@ -0,0 +1,36 @@ +# Swedish translation for abook (debconf). +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the abook package. +# Daniel Nylander , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: abook\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Vill du aktivera abook systembrett för mutt?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"abook erbjuder möjligheten att användas som bakända för frågor i mutt. Om du " +"bekräftar denna fråga kommer paketet att skapa en fil kallad /etc/Muttrc.d/" +"abook.rc som aktiverar frågor mot abooks databas och lägger till e-" +"postadresser till abook när du trycker \"A\" från visningsläget." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..9a7ae56 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,33 @@ +# po-debconf translation for abook. +# Copyright (C) 2006 Gerfried Fuchs +# This file is distributed under the same license as the abook package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: abook VERSION\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" diff --git a/debian/po/vi.po b/debian/po/vi.po new file mode 100644 index 0000000..4335432 --- /dev/null +++ b/debian/po/vi.po @@ -0,0 +1,37 @@ +# Vietnamese translation for abook (debconf). +# Copyright © 2006 Free Software Foundation, Inc. +# Clytie Siddall , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: abook\n" +"Report-Msgid-Bugs-To: abook@packages.debian.org\n" +"POT-Creation-Date: 2006-08-18 10:38-0500\n" +"PO-Revision-Date: 2006-08-18 10:42-0500\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" +"X-Generator: LocFactoryEditor 1.6b36\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you want to enable abook system wide for mutt?" +msgstr "Bạn có muốn bật chạy abook cho mutt trên toàn bộ hệ thống không?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"abook offers the possibility to be used as query backend from within mutt. " +"If you acknowledge this question the package will create an /etc/Muttrc.d/" +"abook.rc file that enables querying the abook database and adding mail " +"addresses to abook with pressing \"A\" from pager mode." +msgstr "" +"Trình abook cung cấp khả năng chạy nó nhÆ° là hậu phÆ°Æ¡ng truy vấn từ bên " +"trong « mutt ». Nếu bạn đồng ý, gói này sẽ tạo tập tin tài nguyên sẽ cho bạn có khả năng truy vấn co sở dữ liệu abook, cÅ©ng " +"thêm địa chỉ thÆ° vào abook bằng cách bấm « A » trong chế độ máy nhắn tin." diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..fc02555 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,50 @@ +#!/bin/sh -e +# postinst for abook + +# Source debconf library. +if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule +fi + +action=$1 +if [ "${DEBCONF_RECONFIGURE}" = "1" ]; then + # workaround until reconfigure is really available + action=reconfigure +fi +version=$2 + +# if we got reinstalled after a remove, enable the config snippet again +if [ "$action" = 'configure' ] && [ -e /etc/Muttrc.d/abook.rc.removed ] && [ ! -e /etc/Muttrc.d/abook.rc ]; then + mv /etc/Muttrc.d/abook.rc.removed /etc/Muttrc.d/abook.rc || true +fi + +# only on new install, upgrade from < 0.5.6 or reconfigure +if dpkg --compare-versions "$version" lt "0.5.6" || [ "$action" = "reconfigure" ]; then + mutt=true + if [ -e /usr/share/debconf/confmodule ]; then + db_get abook/muttrc.d + mutt="$RET" + fi + + case "$mutt" in + true) + if [ ! -e /etc/Muttrc.d/abook.rc ] ; then + mkdir /etc/Muttrc.d 2> /dev/null || true + cat > /etc/Muttrc.d/abook.rc << EOF +set query_command="abook --mutt-query '%s'" +macro pager A |'abook --add-email'\n +EOF + fi + ;; + false) + rm /etc/Muttrc.d/abook.rc 2> /dev/null || true + rmdir /etc/Muttrc.d 2> /dev/null || true + ;; + esac +fi + + +# menu entry +if [ "$action" = 'configure' ] && [ -x /usr/bin/update-menus ]; then + update-menus +fi diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..76b3870 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,27 @@ +#!/bin/sh -e +# postrm for abook + +if [ -x "`which update-menus 2>/dev/null`" ]; then + update-menus +fi + +action=$1 + +case "$action" in + remove) + if [ ! -e /etc/Muttrc.d/abook.rc.removed ]; then + # only disable the config snippet + mv /etc/Muttrc.d/abook.rc /etc/Muttrc.d/abook.rc.removed || true + fi + ;; + purge) + rm /etc/Muttrc.d/abook.rc.removed 2> /dev/null || true + rm /etc/Muttrc.d/abook.rc 2> /dev/null || true + rmdir /etc/Muttrc.d 2> /dev/null || true + # remove debconf data on purge + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge + fi + ;; +esac diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0d36a2f --- /dev/null +++ b/debian/rules @@ -0,0 +1,96 @@ +#!/usr/bin/make -f +# debian/rules for abook +PACKAGE = abook +TMP = $(CURDIR)/debian/$(PACKAGE) + + +CFLAGS = -g -Wall +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -oroot -groot -m644 +INSTALL_PROGRAM = $(INSTALL) -p -oroot -groot -m755 +INSTALL_SCRIPT = $(INSTALL) -p -oroot -groot -m755 +INSTALL_DIR = $(INSTALL) -p -d -oroot -groot -m755 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +clean: + $(checkdir) + $(checkroot) + rm -rf build-stamp $(TMP) debian/files debian/substvars + -$(MAKE) distclean + + +build: build-stamp +build-stamp: + $(checkdir) + ./configure --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info + $(MAKE) CFLAGS="$(CFLAGS)" + touch build-stamp + + +install: build + $(checkdir) + $(checkroot) + -rm -rf $(TMP) + $(INSTALL_DIR) $(TMP) + cd $(TMP) && $(INSTALL_DIR) usr/share/doc/$(PACKAGE)/examples + $(MAKE) prefix=$(TMP)/usr install INSTALL_PROGRAM="$(INSTALL_PROGRAM)" + $(INSTALL_FILE) ChangeLog $(TMP)/usr/share/doc/$(PACKAGE)/changelog + $(INSTALL_FILE) ANNOUNCE AUTHORS BUGS FAQ README THANKS TODO \ + $(TMP)/usr/share/doc/$(PACKAGE) + $(INSTALL_FILE) sample.abookrc \ + $(TMP)/usr/share/doc/$(PACKAGE)/examples + cd $(TMP)/usr/share && gzip -9 man/man1/abook.1 man/man5/abookrc.5 \ + doc/$(PACKAGE)/changelog + + +# 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 + $(checkdir) + $(checkroot) + $(INSTALL_DIR) $(TMP)/DEBIAN $(TMP)/usr/share/menu + $(INSTALL_FILE) debian/menu $(TMP)/usr/share/menu/$(PACKAGE) + $(INSTALL_FILE) debian/copyright $(TMP)/usr/share/doc/$(PACKAGE) + $(INSTALL_FILE) debian/changelog \ + $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Debian + gzip -9 $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Debian + $(INSTALL_SCRIPT) debian/config debian/postinst debian/postrm \ + $(TMP)/DEBIAN + po2debconf debian/templates > $(TMP)/DEBIAN/templates + dpkg-shlibdeps -Tdebian/substvars -dDepends $(TMP)/usr/bin/abook + dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars \ + -p$(PACKAGE) -P$(TMP) + cd $(TMP) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \ + xargs -r0 md5sum > DEBIAN/md5sums + dpkg --build $(TMP) .. + + +binary: binary-indep binary-arch + + +define checkdir + test -f debian/rules +endef + +define checkroot + test root = "`whoami`" +endef + +.PHONY: clean build install binary-indep binary-arch binary diff --git a/debian/templates b/debian/templates new file mode 100644 index 0000000..2c09dcb --- /dev/null +++ b/debian/templates @@ -0,0 +1,8 @@ +Template: abook/muttrc.d +Type: boolean +Default: true +_Description: Do you want to enable abook system wide for mutt? + abook offers the possibility to be used as query backend from within + mutt. If you acknowledge this question the package will create an + /etc/Muttrc.d/abook.rc file that enables querying the abook database and + adding mail addresses to abook with pressing "A" from pager mode. diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..87cf19a --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=2 +# Site/Directory Pattern Version Script +http://heanet.dl.sourceforge.net/sourceforge/abook/ abook-([\d\.]*)\.tar\.gz debian uupdate