--- mozzemberek-0.1.5.orig/debian/control
+++ mozzemberek-0.1.5/debian/control
@@ -0,0 +1,23 @@
+Source: mozzemberek
+Section: web
+Priority: optional
+Maintainer: Rail Aliev <rail@i-rs.ru>
+Build-Depends: debhelper (>= 5), cdbs, xulrunner-dev, pkg-config, zip, lsb-release, libxml-xpath-perl
+Vcs-Bzr: http://bzr.debian.org/users/rail-guest/mozzemberek/
+Vcs-Browser: http://bzr.debian.org/loggerhead/users/rail-guest/mozzemberek
+Homepage: http://code.google.com/p/zemberek/
+Standards-Version: 3.8.3
+
+Package: mozzemberek
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ firefox-3.5 | iceweasel (>= 3) | abrowser-3.5
+ | thunderbird (>= 3~) | thunderbird-3.0 | icedove (>=3~)
+ | xulrunner-1.9 | xulrunner-1.9.1 | xulrunner-1.9.2
+Recommends: zemberek-server
+Description: Turkish spell checking for Firefox and Xulrunner applications
+ MozZemberek provides Turkish spell checking for Xulrunner based applications
+ (Iceweasel, Firefox, Prism, Seamonkey, etc.) via zemberek-server.
+ .
+ MozZemberek can use a remote zemberek-server for spell checking. This feature
+ is configurable via extension's options dialog.
--- mozzemberek-0.1.5.orig/debian/changelog
+++ mozzemberek-0.1.5/debian/changelog
@@ -0,0 +1,116 @@
+mozzemberek (0.1.5-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Rail Aliev <rail@i-rs.ru> Thu, 20 Aug 2009 16:33:43 +0400
+
+mozzemberek (0.1.4-2) unstable; urgency=low
+
+ * debian/control:
+ - Bump standards version. No changes needed.
+ - Add libxml-xpath-perl as dependency for parsing supported aplications at
+ build time.
+ - Depend on one of the supported Mozilla applications.
+ * debian/rules:
+ - Split files across /usr/share and /usr/lib.
+ - Use /usr/share/mozilla/APP_ID/EXT_ID symlinks for supported applications.
+
+ -- Rail Aliev <rail@i-rs.ru> Thu, 20 Aug 2009 13:07:25 +0400
+
+mozzemberek (0.1.4-1) unstable; urgency=low
+
+ * New upstream version.
+ * Add a symlink to Iceweasel extensions folder on Debian. (Closes: #530605)
+ * debian/control:
+ - Add lsb-release to Build-Depends needed by debian/rules.
+ - Bump standards version to 3.8.2. No changes needed.
+ - firefox-3.1 changed to firefox-3.5.
+ - Update package long description.
+ * Add lintian-override to ignore absence of upstream changelog.
+
+ -- Rail Aliev <rail@i-rs.ru> Tue, 23 Jun 2009 16:44:10 +0400
+
+mozzemberek (0.1.2-2) unstable; urgency=low
+
+ * debian/control:
+ - Upgrade to Standards-Version 3.8.1. No changes needed.
+ - Drop abrowser from dependencies.
+ * debian/copyright:
+ - Change (C) to ©.
+
+ -- Rail Aliev <rail@i-rs.ru> Mon, 18 May 2009 19:54:34 +0400
+
+mozzemberek (0.1.2-1) unstable; urgency=low
+
+ * New Upstream Release:
+ - Fixed GCC 4.4. build issue. (Closes: #529272)
+
+ -- Rail Aliev <rail@i-rs.ru> Mon, 18 May 2009 15:36:55 +0400
+
+mozzemberek (0.1.1-3) unstable; urgency=low
+
+ * Release targeted for Debian.
+ * debian/control:
+ - Change 'Maintainer', 'Vcs-Browser' and 'Vcs-Bzr' fields.
+
+ -- Rail Aliev <rail@i-rs.ru> Mon, 04 May 2009 21:09:45 +0400
+
+mozzemberek (0.1.1-2ubuntu4) jaunty; urgency=low
+
+ * debian/rules:
+ - Define DEB_SHLIBDEPS_INCLUDE to help dpkg-shlibdeps find dependencies
+
+ -- Rail Aliev <rail@i-rs.ru> Sun, 03 May 2009 23:17:43 +0400
+
+mozzemberek (0.1.1-2ubuntu3) jaunty; urgency=low
+
+ * debian/rules:
+ - Don't use Ubuntu specific mozilla-devscripts package to be closer to
+ Debian.
+ * debian/control:
+ - Drop mozilla-devscripts and quilt dependency
+ - Depend on zip
+ - Specify firefox and abrowser versions
+ - Use iceweaesel on Debian
+ * Remove patches and use debian/rules to install files properly
+
+ -- Rail Aliev <rail@i-rs.ru> Sun, 03 May 2009 15:13:50 +0400
+
+mozzemberek (0.1.1-2ubuntu2) jaunty; urgency=low
+
+ * Fix license version to GPlv2, add an email of one of the authors
+ * Use variable instead of hardcoded one (for MOZ_XPI_EMID)
+
+ -- Rail Aliev <rail@i-rs.ru> Thu, 09 Apr 2009 14:50:22 +0400
+
+mozzemberek (0.1.1-2ubuntu1) jaunty; urgency=low
+
+ * Add quilt description and make lintian happy
+
+ -- Rail Aliev <rail@i-rs.ru> Wed, 08 Apr 2009 01:28:26 +0400
+
+mozzemberek (0.1.1-2) jaunty; urgency=low
+
+ * Close needs-packaging bug (LP: #357222)
+ * Move platform dependent libraries from /usr/share to /usr/lib
+
+ -- Rail Aliev <rail@i-rs.ru> Wed, 08 Apr 2009 01:26:31 +0400
+
+mozzemberek (0.1.1-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Rail Aliev <rail@i-rs.ru> Tue, 07 Apr 2009 20:15:59 +0400
+
+mozzemberek (0.1.0-2) unstable; urgency=low
+
+ * Use quilt
+ * Don't use platform dependant paths for so files
+
+ -- Rail Aliev <rail@i-rs.ru> Tue, 07 Apr 2009 14:25:48 +0400
+
+mozzemberek (0.1.0-1) unstable; urgency=low
+
+ * Initial packaging
+
+ -- Rail Aliev <rail@i-rs.ru> Thu, 05 Mar 2009 06:52:20 +0300
--- mozzemberek-0.1.5.orig/debian/watch
+++ mozzemberek-0.1.5/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://code.google.com/p/zemberek/downloads/list \
+ http://zemberek\.googlecode\.com/files/mozzemberek-([\d\.]*)\.tar\.gz
--- mozzemberek-0.1.5.orig/debian/copyright
+++ mozzemberek-0.1.5/debian/copyright
@@ -0,0 +1,22 @@
+This package was debianized by Rail Aliev <rail@i-rs.ru> on
+Thu, 05 Mar 2009 06:52:20 +0300.
+
+It was downloaded from http://code.google.com/p/zemberek/
+
+Upstream Authors:
+
+ Rail Aliev <rail@i-rs.ru>
+ Serkan Kaba <serkan_kaba@yahoo.com>
+
+Copyright:
+
+ Copyright © 2008 Rail Aliev
+ Copyright © 2008 Serkan Kaba
+ Copyright © 2006 TUBITAK/UEKAE
+ Copyright © 2006 Faik Uygur <faik@pardus.org.tr>
+
+Licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
+
+
+The Debian packaging is © 2008, Rail Aliev <rail@i-rs.ru> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
--- mozzemberek-0.1.5.orig/debian/mozzemberek.lintian-overrides
+++ mozzemberek-0.1.5/debian/mozzemberek.lintian-overrides
@@ -0,0 +1 @@
+mozzemberek: no-upstream-changelog
--- mozzemberek-0.1.5.orig/debian/rules
+++ mozzemberek-0.1.5/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+MOZ_XPI_EMID := mozzemberek@mozilla.org.tr
+DIST := $(shell lsb_release -is)
+MOZ_EXTENSION_PKG := mozzemberek
+MOZ_XPI_MOZILLA_DIRS := xulrunner-addons
+SUPPORTED_APPS=$(shell xpath -q -e '//em:targetApplication/Description/em:id/text()' src/install.rdf.in)
+
+ifneq "$(DIST)" "Ubuntu"
+MOZ_XPI_MOZILLA_DIRS += iceweasel
+endif
+
+DEB_SHLIBDEPS_INCLUDE := $(shell pkg-config --variable=sdkdir libxul)/sdk/lib
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+binary-post-install/$(MOZ_EXTENSION_PKG)::
+ install -m 755 -d debian/$(cdbs_curpkg)/usr/lib/$(MOZ_EXTENSION_PKG)/components
+ install -m 755 -d debian/$(cdbs_curpkg)/usr/share/$(MOZ_EXTENSION_PKG)/chrome
+ install -m 755 -d debian/$(cdbs_curpkg)/usr/share/$(MOZ_EXTENSION_PKG)/defaults/preferences
+ install -m 644 src/platform/*/components/*.so \
+ debian/$(cdbs_curpkg)/usr/lib/$(MOZ_EXTENSION_PKG)/components
+ install -m 644 src/install.rdf debian/$(cdbs_curpkg)/usr/share/$(MOZ_EXTENSION_PKG)
+ install -m 644 src/chrome.manifest debian/$(cdbs_curpkg)/usr/share/$(MOZ_EXTENSION_PKG)
+ install -m 644 src/chrome/*.jar debian/$(cdbs_curpkg)/usr/share/$(MOZ_EXTENSION_PKG)/chrome
+ install -m 644 src/defaults/preferences/prefs.js debian/$(cdbs_curpkg)/usr/share/$(MOZ_EXTENSION_PKG)/defaults/preferences
+ dh_link /usr/lib/$(cdbs_curpkg)/components /usr/share/$(cdbs_curpkg)/components
+
+ for dir in $(SUPPORTED_APPS); do \
+ dh_link -p$(cdbs_curpkg) /usr/share/$(cdbs_curpkg) \
+ /usr/share/mozilla/extensions/$$dir/$(MOZ_XPI_EMID); \
+ done
--- mozzemberek-0.1.5.orig/debian/compat
+++ mozzemberek-0.1.5/debian/compat
@@ -0,0 +1 @@
+5