--- zpspell-0.4.3.orig/debian/README.source
+++ zpspell-0.4.3/debian/README.source
@@ -0,0 +1,2 @@
+This package uses quilt to manage all modifications to the upstream
+source. See /usr/share/doc/quilt/README.source for details.
--- zpspell-0.4.3.orig/debian/watch
+++ zpspell-0.4.3/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://cekirdek.pardus.org.tr/~baris/zpspell/zpspell-(.*)\.tar\.bz2
--- zpspell-0.4.3.orig/debian/compat
+++ zpspell-0.4.3/debian/compat
@@ -0,0 +1 @@
+5
--- zpspell-0.4.3.orig/debian/zpspell.xml
+++ zpspell-0.4.3/debian/zpspell.xml
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+]>
+
+
+ &dhpackage;
+
+
+ &dhfirstname;
+ &dhsurname;
+ Wrote this manpage for the Debian system and may be used by others.
+
+ &dhemail;
+
+
+
+
+ 2009
+ &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.
+
+
+
+ &dhpackage;
+ &dhsection;
+
+
+ &dhpackage;
+ Interactive spelling checking for Turkish
+
+
+
+ &dhpackage;
+
+
+
+ &dhpackage;
+
+
+
+
+ DESCRIPTION
+
+ &dhpackage;
+ is a utility program that connects to the
+
+ zemberek-server
+ 8
+
+ using DBUS library so that it can function as an ispell -a
+ replacement, as an independent spell checker for Turkish.
+
+
+ &dhpackage; supports interactive and non-interactive
+ modes. Interactive mode provides ispell -a compatible
+ protocol. Non-interactive mode uses its own output format and may be used
+ for command line spell checking via pipes.
+
+
+
+ OPTIONS
+
+
+
+
+ Run zpspell in ispell -a compatibility
+ mode.
+
+
+
+
+
+ Spell check given words and print the results to stdout.
+ Result line (one per word) contains: the word, semicolon, "correct"
+ or "incorrect" (in Turkish) with suggestions in parentheses separated
+ by comas.
+
+
+
+
+
+ SEE ALSO
+
+ zemberek-server
+ 8
+
+
+
+
+
--- zpspell-0.4.3.orig/debian/copyright
+++ zpspell-0.4.3/debian/copyright
@@ -0,0 +1,19 @@
+This package was debianized by Rail Aliev on
+Sat, 19 Jul 2008 00:37:06 +0400.
+
+It was downloaded from http://cekirdek.pardus.org.tr/~baris/zpspell/
+
+Upstream Author:
+
+ Barış Metin
+
+Copyright:
+
+ Copyright © 2004, TUBITAK/UEKAE
+
+License:
+
+ Licensed under the GPL, see `/usr/share/common-licenses/GPL-2'
+
+The Debian packaging is © 2008, Rail Aliev and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
--- zpspell-0.4.3.orig/debian/manpages
+++ zpspell-0.4.3/debian/manpages
@@ -0,0 +1 @@
+debian/zpspell.1
--- zpspell-0.4.3.orig/debian/control
+++ zpspell-0.4.3/debian/control
@@ -0,0 +1,16 @@
+Source: zpspell
+Section: text
+Priority: optional
+Maintainer: Rail Aliev
+Build-Depends: cdbs, debhelper (>= 5), cmake, libdbus-glib-1-dev, xsltproc, docbook-xsl, quilt
+Standards-Version: 3.8.3
+Vcs-Bzr: http://bzr.debian.org/users/rail-guest/zpspell/
+Vcs-Browser: http://bzr.debian.org/loggerhead/users/rail-guest/zpspell
+
+Package: zpspell
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, zemberek-server
+Description: Command line interface for zemberek-server
+ zpspell is the command line interface for zemberek-server. It simulates the
+ ispell interface for being compatible with programs using ispell interactive
+ mode.
--- zpspell-0.4.3.orig/debian/rules
+++ zpspell-0.4.3/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/cmake.mk
+
+DEB_INSTALL_CHANGELOGS_ALL := ChangeLog
+
+install/zpspell::
+ xsltproc --nonet \
+ --output debian/ \
+ --param man.charmap.use.subset "0" \
+ --param make.year.ranges "1" \
+ --param make.single.year.ranges "1" \
+ --param man.authors.section.enabled "1" \
+ --param man.copyright.section.enabled "0" \
+ --param man.charmap.enabled "0" \
+ /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
+ debian/zpspell.xml
+
+clean::
+ rm -f debian/zpspell.1
--- zpspell-0.4.3.orig/debian/changelog
+++ zpspell-0.4.3/debian/changelog
@@ -0,0 +1,100 @@
+zpspell (0.4.3-4.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * FTBFS: CMake Error: The following variables are used in this project,
+ but they are set to NOTFOUND (Closes: #652208).
+ - debian/patches/find_path-GLIB_CONFIG_DIR.diff
+
+ -- HIGUCHI Daisuke (VDR dai) Sat, 07 Jan 2012 22:08:43 +0900
+
+zpspell (0.4.3-4) unstable; urgency=low
+
+ * FTBFS with binutils-gold (Closes: #556775):
+ - Link against gobject-2.0.
+ - Use quilt as patch system.
+ * Bump standards version. No changes needed.
+
+ -- Rail Aliev Wed, 18 Nov 2009 02:37:50 +0300
+
+zpspell (0.4.3-3) unstable; urgency=low
+
+ * Add manual page for zpspell(1) (Closes: #530759). Build-Depend on xsltproc
+ and docbook-xsl.
+ * Depend on zemberek-server (Closes: #531913).
+ * Bump standards version to 3.8.2. No changes needed.
+
+ -- Rail Aliev Tue, 23 Jun 2009 21:28:01 +0400
+
+zpspell (0.4.3-2) unstable; urgency=low
+
+ * debian/copyright:
+ - Change (C) to ©.
+
+ -- Rail Aliev Mon, 18 May 2009 23:16:20 +0400
+
+zpspell (0.4.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Drop debian/patches/gcc-4.4.diff, fixed in upstream. (Closes: #529263)
+ * debian/rules:
+ - Drop simple-patchsys.mk.
+ * debian/control:
+ - Upgrade to Standards-Version 3.8.1. No changes needed.
+
+ -- Rail Aliev Mon, 18 May 2009 19:02:27 +0400
+
+zpspell (0.4.2-6) unstable; urgency=low
+
+ * debian/patches/gcc-4.4.diff:
+ - Use cstdio instead of stdio.h.
+ - Add patch description.
+
+ -- Rail Aliev Thu, 07 May 2009 16:04:15 +0400
+
+zpspell (0.4.2-5) unstable; urgency=low
+
+ * debian/patches/gcc-4.4.diff:
+ - GCC 4.4 build bits.
+ * debian/rules:
+ - Add simple-patchsys.mk.
+
+ -- Rail Aliev Thu, 07 May 2009 10:30:31 +0400
+
+zpspell (0.4.2-4) unstable; urgency=low
+
+ * Release targeted for Debian.
+ * debian/control:
+ - Change 'Maintainer', 'Vcs-Browser' and 'Vcs-Bzr' fields.
+
+ -- Rail Aliev Mon, 04 May 2009 21:12:07 +0400
+
+zpspell (0.4.2-3ubuntu1) jaunty; urgency=low
+
+ * Update Mainainer field
+
+ -- Rail Aliev Wed, 08 Apr 2009 01:47:19 +0400
+
+zpspell (0.4.2-3) jaunty; urgency=low
+
+ * Close needs-packaging (LP: #357226)
+
+ -- Rail Aliev Wed, 08 Apr 2009 00:49:04 +0400
+
+zpspell (0.4.2-2) jaunty; urgency=low
+
+ * Use GPL 3 for packaging
+
+ -- Rail Aliev Wed, 08 Apr 2009 00:40:06 +0400
+
+zpspell (0.4.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Rail Aliev Tue, 07 Apr 2009 13:11:49 +0400
+
+zpspell (0.4.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Rail Aliev Sat, 19 Jul 2008 00:37:06 +0400
+
--- zpspell-0.4.3.orig/debian/patches/find_path-GLIB_CONFIG_DIR.diff
+++ zpspell-0.4.3/debian/patches/find_path-GLIB_CONFIG_DIR.diff
@@ -0,0 +1,19 @@
+Subject: zpspell: FTBFS: CMake Error: The following variables are used
+ in this project, but they are set to NOTFOUND.
+
+* CMakeLists.txt: add path to find_path GLIB_CONFIG_DIR
+
+Bug-Debian: http://bugs.debian.org/652208
+Author: HIGUCHI Daisuke (VDR dai)
+
+--- zpspell-0.4.3/CMakeLists.txt.orig 2012-01-07 21:49:19.000000000 +0900
++++ zpspell-0.4.3/CMakeLists.txt 2012-01-07 22:00:41.000000000 +0900
+@@ -74,6 +74,8 @@ find_library(GLIB2_LIBRARY NAMES glib-2.
+ )
+ # GLIB_CONFIG
+ find_path(GLIB_CONFIG_DIR glibconfig.h
++ ${_glibLinkDir}/glib-2.0/include
++ ${_glibLinkDir}/glib-2.0
+ /usr/lib/glib-2.0/include
+ /usr/lib/glib-2.0
+ /usr/include/glib-2.0
--- zpspell-0.4.3.orig/debian/patches/series
+++ zpspell-0.4.3/debian/patches/series
@@ -0,0 +1,2 @@
+indirect-linking.diff
+find_path-GLIB_CONFIG_DIR.diff
--- zpspell-0.4.3.orig/debian/patches/indirect-linking.diff
+++ zpspell-0.4.3/debian/patches/indirect-linking.diff
@@ -0,0 +1,17 @@
+Subject: Fix indirect linking FTBFS
+
+* CMakeLists.txt: link against gobject-2.0 too.
+
+Bug: http://bugs.pardus.org.tr/show_bug.cgi?id=11566
+Bug-Debian: http://bugs.debian.org/556775
+Author: Rail Aliev
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -101,5 +101,5 @@
+ include_directories(${GLIB2_INCLUDE_DIR})
+ include_directories(${GLIB_CONFIG_DIR})
+
+-target_link_libraries(zpspell glib-2.0 dbus-glib-1)
++target_link_libraries(zpspell glib-2.0 dbus-glib-1 gobject-2.0)
+