- Also strip sections .comment and .note
- Add patch fix-manpage to escape hyphens where they should be minus
signs (adjusted it for the 0.6.0~pre2 release)
+ - from 0.5.6-7:
+ - Build-Depend on autotools-dev, copy config.{guess,sub} before configure
+ run and remove them in clean target (closes: #535739)
+ - Updated to Standards-Version 3.8.2: Switched from findstring to filter
+ and add support parallel.
+ suggestion from policy.
+ - Switched the packaging licensing to BSD style.
+ - New patch datafile-f-switch: Let --datafile also work through -f short
+ option, suggested by Joey Schulze
+ - Traditional Chinese debconf translation by Kanru Chen (closes: #508023)
--
Maintainer: Gerfried Fuchs <rhonda@debian.at>
Standards-Version: 3.8.0
Build-Depends: libncursesw5-dev, libreadline5-dev | libreadline-dev,
- po-debconf, quilt (>= 0.40)
+ po-debconf, quilt (>= 0.40), autotools-dev
Homepage: http://abook.sourceforge.net/
Package: abook
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301 USA.
-The debianization of the package is licensed likewise and
-Copyright (c) 2003-2008 by Gerfried Fuchs <rhonda@debian.at>
+The debianization of the package is licensed under BSD style and
+Copyright (c) 2003-2008 by Gerfried Fuchs <rhonda@debian.at>.
+See /usr/share/common-licenses/BSD for the complete text.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License version 2 can be found in `/usr/share/common-licenses/GPL-2',
--- /dev/null
+Author: Gerfried Fuchs <rhonda@debian.at> vim:ft=diff:
+Description: Let --datafile also work through -f short option
+
+Index: b/abook.c
+===================================================================
+--- a/abook.c
++++ b/abook.c
+@@ -331,7 +331,7 @@ parse_command_line(int argc, char **argv
+ { 0, 0, 0, 0 }
+ };
+
+- c = getopt_long(argc, argv, "hC:",
++ c = getopt_long(argc, argv, "hC:f:",
+ long_options, &option_index);
+
+ if(c == -1)
02_fix-manpage
+03_datafile-f-switch
--- /dev/null
+# po-debconf translation for abook.\r
+# Copyright (C) 2006 Gerfried Fuchs <alfie@debian.org>\r
+# This file is distributed under the same license as the abook package.\r
+# Kanru Chen <koster@debian.org.tw>, 2008.\r
+# \r
+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: 2008-12-07 08:42+0800\n"
+"Last-Translator: Kanru Chen <koster@debian.org.tw>\n"
+"Language-Team: Debian-user in Chinese [Big5] <debian-chinese-big5@lists."
+"debian.org>\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 "您想要在 mutt 的全域設定啟用 abook 嗎?"
+
+#. 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 可以當作 mutt 的查詢後端。如果您啟用這個選項的話,則會產生 /etc/Muttrc."
+"d/abook.rc 檔案設定查詢電子郵件地址時使用 abook 資料庫,並且在輸入按鍵 \"A\" "
+"時把郵件地址加入 abook。"
#!/bin/sh -e
# postinst for abook
-# copyright 2003-2008 by Gerfried Fuchs <rhonda@debian.at>
-# Licenced the same way as abook itself
+# copyright 2003-2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under BSD style
# Source debconf library.
if [ -e /usr/share/debconf/confmodule ]; then
#!/bin/sh -e
# postrm for abook
-# copyright 2003-2008 by Gerfried Fuchs <rhonda@debian.at>
-# Licenced the same way as abook itself
+# copyright 2003-2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under BSD style
if [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
#!/usr/bin/make -f
# debian/rules for abook
-# copyright 2003-2008 by Gerfried Fuchs <rhonda@debian.at>
-# Licenced the same way as abook itself
+# copyright 2003-2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under BSD style
PKG = abook
TMP = $(CURDIR)/debian/$(PKG)
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)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
STRIP = true
endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
# Uncomment this to turn on verbose mode.
clean: unpatch
$(checkdir)
$(checkroot)
- rm -rf build-stamp $(TMP) debian/files debian/substvars
+ rm -rf build-stamp $(TMP) debian/files debian/substvars \
+ config.guess config.sub
[ ! -f Makefile ] || $(MAKE) distclean
build: build-stamp
build-stamp: patch-stamp
$(checkdir)
+ cp /usr/share/misc/config.guess /usr/share/misc/config.sub .
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info
$(MAKE) CFLAGS="$(CFLAGS)"