add debian files
authorColin Leroy <colin@colino.net>
Fri, 2 Dec 2005 17:24:44 +0000 (17:24 +0000)
committerColin Leroy <colin@colino.net>
Fri, 2 Dec 2005 17:24:44 +0000 (17:24 +0000)
12 files changed:
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/files [new file with mode: 0644]
debian/rules [new file with mode: 0644]
debian/sylpheed-claws.desktop [new file with mode: 0644]
debian/sylpheed-claws.menu [new file with mode: 0644]
debian/sylpheed-claws.postinst.debhelper [new file with mode: 0644]
debian/sylpheed-claws.postrm.debhelper [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..b6ee73a
--- /dev/null
@@ -0,0 +1,14 @@
+sylpheed-claws-gtk2 for Debian
+------------------------------
+
+Compiled with IPv6, OpenSSL, GNU/Aspell, LibGNOMEPrint, libEtPan, 
+GPGME, OpenLDAP and JPilot support.
+
+The PGP/core plugin is provided by the pgpmime package. This plugin 
+provides core functions to both PGP/MIME and PGP/inline privacy plugins.
+Has not been created a new package for it because there is little chance 
+an user wants only inline and not MIME support, and even in that case 
+he/she doesn't need to load the PGP/MIME plugin, just leave it resting on 
+disk. On the other hand, creating a new package will affect all users.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>, Thu, 24 Jul 2005 00:54:21 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..7b2bc87
--- /dev/null
@@ -0,0 +1,134 @@
+sylpheed-claws (2.0.0-rc1-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Colin Leroy <colin@colino.net>  Tue,  8 Nov 2005 08:37:53 +0200
+
+sylpheed-claws (1.9.100-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Colin Leroy <colin@colino.net>  Tue,  8 Nov 2005 08:37:53 +0200
+
+sylpheed-claws (1.9.99-1) unstable; urgency=low
+
+  * New upstream release (Closes: #311456)
+  * patches/90fix-pt_BR-view.menu.patch, patches/00configure.patch
+  - Removed temporary fix.
+  - Try to make configure patch minimal.
+  * debian/rules
+  - Reenabled building with LDAP and JPilot (Closes: #325248)
+  - Added --with-{manual,faq}dir options (removed from patch).
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Thu,  8 Sep 2005 18:37:53 +0200
+
+sylpheed-claws (1.9.13-2) unstable; urgency=low
+
+  * debian/rules
+  - Fixed docs (removed) (Closes: #324541)
+  - Make desktop entry visible also for KDE. 
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Tue, 23 Aug 2005 09:09:49 +0200
+
+sylpheed-claws (1.9.13-1) unstable; urgency=low
+
+  * New upstream release. First for unstable.
+  * Rebuilt with newer libaspell (Closes: #318889)
+  * debian/control, patches/00configure.patch
+  - Added new Norwegian Bokmal translation.
+  * debian/rules
+  - Added pgpcore.so to the pgpmime deb, fixed icon names.
+  * debian/control, debian/rules
+  - Added new pgpinline plugin, now in upstream source tree.
+  * debian/README.Debian
+  - Updated and rationale for not having a new ppgcore package.
+  * 10get_xface_from_file.patch, 11mark_trashed_as_read.patch
+  - Added feature patches.
+  * debian/sylpheed-claws.desktop
+  - Added [es] comment.
+  * debian/docs
+  - Fixed, added RELEASE_NOTES.claws.
+  * debian/control, debian/copyright
+  - Fixed package description, copyright and Debian policy version.
+  * 90fix-pt_BR-view.menu.patch
+  - Temporary fix (segfault clicking View menu on pt_BR locale).
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Fri, 19 Aug 2005 19:59:31 +0200
+
+sylpheed-claws (1.9.6cvs41-1) experimental; urgency=low
+
+  * New CVS snapshot
+  * debian/control, debian/rules
+  - Removed image-viewer plugin, now is builtin. Added to Replaces.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Mon, 18 Apr 2005 18:37:53 +0200
+sylpheed-claws (1.9.6cvs1-1) experimental; urgency=low
+
+  * New CVS snapshot.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Sat, 19 Mar 2005 12:49:24 +0100
+
+sylpheed-claws (1.0.1cvs7.3-1) experimental; urgency=low
+
+  * New CVS snapshot (Closes: #290638, #292488)
+  * patches/00configure
+  - Fixed gettext package name.
+  * debian/control
+  - Fixed image-viewer depends cut'n'paste typo.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Tue, 15 Feb 2005 15:42:15 +0100
+
+sylpheed-claws (0.9.12cvs187.1-1) experimental; urgency=low
+
+  * New CVS snapshot.
+  * debian/patches/00configure.patch, debian/docs
+  - Regenerated (README.jp and others absent now).
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Wed,  8 Dec 2004 14:04:36 +0100
+
+sylpheed-claws (0.9.12cvs122.1-1) experimental; urgency=low
+
+  * New CVS snapshot (Closes: #267764)
+  - Thanks Stephen Kitt <steve@sk2.org> for notifying.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Wed,  6 Oct 2004 18:34:43 +0200
+
+sylpheed-claws (0.9.12cvs114.1-1) experimental; urgency=low
+
+  * New CVS snapshot.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Thu, 30 Sep 2004 00:36:27 +0200
+
+sylpheed-claws (0.9.12cvs102.3-1) experimental; urgency=low
+
+  * New CVS snapshot.
+  * debian/control
+  - Fixed -i18n long description.
+  - Fixed -pgpmime dependencies (Closes: #271459)
+  * debian/rules, sylpheed-claws.menu, sylpheed-claws-gtk2.desktop
+  - Enabled menu entry; added images and desktop entry.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Tue, 14 Sep 2004 10:07:19 +0200
+
+sylpheed-claws (0.9.12cvs93.1-1) experimental; urgency=low
+
+  * New CVS snapshot.
+  * debian/control, debian/rules
+  - Fixed -plugins Dependends (Closes: #267764)
+  - Added upstream -pgpmime plugin.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Fri, 27 Aug 2004 11:14:32 +0200
+
+sylpheed-claws (0.9.12cvs65.1-1) experimental; urgency=low
+
+  * New CVS snapshot.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Wed, 18 Aug 2004 12:20:51 +0200
+
+sylpheed-claws (0.9.12cvs39.7-1) experimental; urgency=low
+
+  * New CVS snapshot.
+
+ -- Ricardo Mones <mones@aic.uniovi.es>  Fri, 30 Jul 2004 10:48:58 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..c008c5a
--- /dev/null
@@ -0,0 +1,103 @@
+Source: sylpheed-claws
+Section: mail
+Priority: optional
+Maintainer: Ricardo Mones <mones@aic.uniovi.es>
+Uploaders: Paul Mangan <claws@thewildbeast.co.uk>, Gustavo Noronha Silva <kov@debian.org>
+Build-Depends: debhelper (>= 4.0.0), libcompfaceg1-dev, libglib2.0-dev, libgtk2.0-dev, xlibs-dev, libgdk-pixbuf-dev, libgpgme11-dev (>= 0.4.5), libssl-dev, libaspell-dev, aspell-bin, libpisock-dev, libldap2-dev, flex | flex-old, bison, gettext, libltdl3-dev, autotools-dev, libtool, libaspell-dev (>= 0.50.3), libreadline4-dev, libclamav1-dev, libt1-dev, libgtkmathview-dev, libgnomeprintui2.2-dev, libetpan-dev (>= 0.38)
+Standards-Version: 3.6.2
+
+Package: sylpheed-claws
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: sylpheed-claws-i18n
+Suggests: sylpheed-doc (>= 20020420-3)
+Replaces: sylpheed-claws-image-viewer (<= 1.9.6cvs1)
+Provides: mail-reader, news-reader
+Description: Extended GTK2 version of the Sylpheed mail client
+ Sylpheed Claws GTK2 is the GTK2 version of the Sylpheed Claws
+ mail client, which is itself the extended version of the 
+ Sylpheed mail client. It aims to have the features that Sylpheed
+ Claws has and more, with a GTK2 interface.
+
+Package: libsylpheed-claws-dev
+Architecture: any
+Section: devel
+Depends: libssl-dev
+Description: Development files for Sylpheed Claws GTK2 plugins
+ This package provides the development headers needed to build
+ plugins for Sylpheed Claws GTK2, the bleeding edge version of 
+ the Sylpheed Claws mail client, which is itself the bleeding 
+ edge version of the Sylpheed mail client.
+
+Package: sylpheed-claws-plugins
+Architecture: all
+Depends: sylpheed-claws-clamav, sylpheed-claws-dillo-viewer, sylpheed-claws-spamassassin, sylpheed-claws-trayicon, sylpheed-claws-pgpmime, sylpheed-claws-pgpinline
+Description: Installs plugins for the Sylpheed Claws GTK2 mail client
+ This is a dummy package to install all plugin packages for the
+ Sylpheed Claws GTK2 mailer.
+
+Package: sylpheed-claws-clamav
+Architecture: any
+Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}), clamav
+Description: Clam AntiVirus plugin for the Sylpheed Claws GTK2 mail client
+ This plugin will allow you to filter the incoming messages through the 
+ Clam AntiVirus and process them acordingly.
+
+Package: sylpheed-claws-dillo-viewer
+Architecture: any
+Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}), dillo (>= 0.7.2)
+Description: HTML viewer plugin for Sylpheed Claws GTK2 using Dillo 
+ This is an HTML viewer plugin that uses the Dillo browser to render the 
+ pages in Sylpheed Claws GTK2 message view window.
+Package: sylpheed-claws-spamassassin
+Architecture: any
+Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}), spamassassin
+Description: SpamAssassin plugin for Sylpheed Claws GTK2
+ This plugin will filter all received email through a spamassassin daemon
+ to decide if it is spam or not and process them acordingly.
+Package: sylpheed-claws-trayicon
+Architecture: any
+Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version})
+Description: Notification area plugin for Sylpheed Claws GTK2
+ This plugin will display an icon on the desktop's notification area with 
+ stats about read and unread emails.
+
+Package: sylpheed-claws-pgpmime
+Architecture: any
+Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version})
+Replaces: sylpheed-claws (<< 0.9.12a-1)
+Description: PGP/MIME plugin for Sylpheed Claws GTK2
+ This plugin for Sylpheed Claws GTK2 verifies signatures and decrypts 
+ messages. It does also provide the PGP/core plugin for use with other
+ privacy plugins.
+ NOTE: This plugin is not required for signing or encryption.
+
+Package: sylpheed-claws-pgpinline
+Architecture: any
+Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}), sylpheed-claws-pgpmime (= ${Source-Version})
+Description: PGP/inline plugin for Sylpheed Claws GTK2
+ This plugin for Sylpheed Claws GTK2 verifies signatures of digitally
+ signed messages, and decrypts encrypted messages. It's also required
+ to send signed and encripted messages using inline method (deprecated).
+
+Package: sylpheed-claws-i18n
+Architecture: all
+Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version})
+Description: Locale data for Sylpheed Claws (i18n support)
+ This package provides support for non-English interfaces in
+ Sylpheed Claws.
+ Current supported locales are:
+  bg (Bulgarian)                 cs (Czech)
+  de (German)                    el (Greek)
+  en_GB (British English)        es (Spanish)
+  fr (French)                    hr (Croatian)
+  hu (Hungarian)                 it (Italian)
+  ja (Japanese)                  ko (Korean)
+  nb (Norwegian Bokmal)          nl (Dutch) 
+  pl (Polish)                    pt_BR (Brazilian Portuguese)
+  ru (Russian)                   sk (Slovak) 
+  sr (Serbian)                   sv (Swedish)
+  zh_CN (Chinese)                zh_TW.Big5 (Taiwanese)
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..e7b364c
--- /dev/null
@@ -0,0 +1,42 @@
+This package was debianized by Ricardo Mones <mones@aic.uniovi.es> on
+Thu, 10 Jun 2004 21:51:21 +0200.
+
+It was downloaded from http://sylpheed-claws.sourceforge.net
+
+Upstream Authors:
+
+main-branch (http://sylpheed.good-day.net)
+
+        Hiroyuki Yamamoto       <hiro-y@kcn.ne.jp>
+                                <yamamoto@good-day.co.jp>
+
+claws-branch (http://sylpheed-claws.sourceforge.net)
+
+        Hoa viet Dinh           <dinh.viet.hoa@free.fr>
+        Keith Edmunds           <keith@midnighthax.com> 
+        Match Grun              <match@dimensional.com>
+        Melvin Hadasht          <melvin.hadasht@free.fr>
+        Oliver Haertel          <o.h.a@gmx.net>
+        Christoph Hohmann       <reboot@gmx.ch>
+        Alfons Hoogervorst      <alfons@proteus.demon.nl>
+        Darko Koruga            <darko@users.sourceforge.net>
+        Colin Leroy             <colin@colino.net>
+        Paul Mangan             <claws@thewildbeast.co.uk>
+        Leandro A. F. Pereira   <leandro@linuxmag.com.br>
+        Luke Plant              <L.Plant.98@cantab.net>
+        Martin Schaaf           <mascha@ma-scha.de>
+        Carsten Schurig         <Carsten.Schurig@web.de>
+        Sergey Vlasov           <vsu@users.sourceforge.net>
+        Hiroyuki Yamamoto       <hiro-y@kcn.ne.jp>
+
+Copyright:
+
+Copyright 1999-2005 by Hiroyuki Yamamoto and the Sylpheed Claws Team
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
+
+Specific permission is granted for the GPLed code in this distribution to
+be linked to OpenSSL without invoking GPL clause 2(b).
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..2c68590
--- /dev/null
@@ -0,0 +1,5 @@
+NEWS
+README
+TODO
+ChangeLog
+RELEASE_NOTES
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..eabdc47
--- /dev/null
@@ -0,0 +1,10 @@
+sylpheed-claws_2.0.0-rc1-1_i386.deb mail optional
+libsylpheed-claws-dev_2.0.0-rc1-1_i386.deb devel optional
+sylpheed-claws-plugins_2.0.0-rc1-1_all.deb mail optional
+sylpheed-claws-clamav_2.0.0-rc1-1_i386.deb mail optional
+sylpheed-claws-dillo-viewer_2.0.0-rc1-1_i386.deb mail optional
+sylpheed-claws-spamassassin_2.0.0-rc1-1_i386.deb mail optional
+sylpheed-claws-trayicon_2.0.0-rc1-1_i386.deb mail optional
+sylpheed-claws-pgpmime_2.0.0-rc1-1_i386.deb mail optional
+sylpheed-claws-pgpinline_2.0.0-rc1-1_i386.deb mail optional
+sylpheed-claws-i18n_2.0.0-rc1-1_all.deb mail optional
diff --git a/debian/rules b/debian/rules
new file mode 100644 (file)
index 0000000..3311215
--- /dev/null
@@ -0,0 +1,163 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
+               --build=$(DEB_BUILD_GNU_TYPE) \
+               --prefix=/usr \
+               --mandir=\$${prefix}/share/man \
+               --infodir=\$${prefix}/share/info \
+               --with-manualdir=\$${prefix}/share/doc/sylpheed-doc/manual \
+               --with-faqdir=\$${prefix}/share/doc/sylpheed-doc/faq \
+               --enable-openssl \
+               --enable-gpgme \
+               --enable-ipv6 \
+               --enable-aspell \
+               --enable-jpilot \
+               --enable-ldap \
+               --enable-spamassassin-plugin=yes \
+               --enable-clamav-plugin=yes \
+               --with-config-dir=.sylpheed-claws
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/sylpheed-claws.
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/sylpheed-claws
+       rm -rf $(CURDIR)/debian/sylpheed-claws/usr/share/doc/sylpheed-doc
+       rm -f $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/*.a
+       rm -f $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/*.la
+       #________________________________________[libsylpheed-claws-dev]__
+       mkdir -m 755 -p $(CURDIR)/debian/libsylpheed-claws-dev/usr/lib/pkgconfig
+       mv $(CURDIR)/debian/sylpheed-claws/usr/include \
+           $(CURDIR)/debian/libsylpheed-claws-dev/usr/include
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/pkgconfig/sylpheed-claws.pc \
+          $(CURDIR)/debian/libsylpheed-claws-dev/usr/lib/pkgconfig
+       #__________________________________________[sylpheed-claws-i18n]__
+       mkdir -m 755 -p $(CURDIR)/debian/sylpheed-claws-i18n/usr/share/locale
+       mv $(CURDIR)/debian/sylpheed-claws/usr/share/locale/* \
+          $(CURDIR)/debian/sylpheed-claws-i18n/usr/share/locale
+       #________________________________________[sylpheed-claws-clamav]__
+       mkdir -m 755 -p \
+            $(CURDIR)/debian/sylpheed-claws-clamav/usr/lib/sylpheed-claws/plugins
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/clamav* \
+          $(CURDIR)/debian/sylpheed-claws-clamav/usr/lib/sylpheed-claws/plugins
+       #__________________________________[sylpheed-claws-dillo-viewer]__
+       mkdir -m 755 -p \
+             $(CURDIR)/debian/sylpheed-claws-dillo-viewer/usr/lib/sylpheed-claws/plugins
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/dillo* \
+          $(CURDIR)/debian/sylpheed-claws-dillo-viewer/usr/lib/sylpheed-claws/plugins
+       #__________________________________[sylpheed-claws-spamassassin]__
+       mkdir -m 755 -p \
+             $(CURDIR)/debian/sylpheed-claws-spamassassin/usr/lib/sylpheed-claws/plugins
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/spamassassin* \
+          $(CURDIR)/debian/sylpheed-claws-spamassassin/usr/lib/sylpheed-claws/plugins
+       #______________________________________[sylpheed-claws-trayicon]__
+       mkdir -m 755 -p \
+             $(CURDIR)/debian/sylpheed-claws-trayicon/usr/lib/sylpheed-claws/plugins
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/trayicon* \
+          $(CURDIR)/debian/sylpheed-claws-trayicon/usr/lib/sylpheed-claws/plugins
+       #_______________________________________[sylpheed-claws-pgpmime]__
+       mkdir -m 755 -p \
+             $(CURDIR)/debian/sylpheed-claws-pgpmime/usr/lib/sylpheed-claws/plugins
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/pgpmime.* \
+          $(CURDIR)/debian/sylpheed-claws-pgpmime/usr/lib/sylpheed-claws/plugins
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/pgpcore.so \
+          $(CURDIR)/debian/sylpheed-claws-pgpmime/usr/lib/sylpheed-claws/plugins
+       #_____________________________________[sylpheed-claws-pgpinline]__
+       mkdir -m 755 -p \
+             $(CURDIR)/debian/sylpheed-claws-pgpinline/usr/lib/sylpheed-claws/plugins
+       mv $(CURDIR)/debian/sylpheed-claws/usr/lib/sylpheed-claws/plugins/pgpinline.* \
+          $(CURDIR)/debian/sylpheed-claws-pgpinline/usr/lib/sylpheed-claws/plugins
+       #_______________________________________________[sylpheed-claws]__
+       # application icons
+       mkdir -m 755 -p \
+          $(CURDIR)/debian/sylpheed-claws/usr/share/pixmaps/
+       cp $(CURDIR)/sylpheed*.png \
+          $(CURDIR)/debian/sylpheed-claws/usr/share/pixmaps/
+       # desktop entry
+       mkdir -m 755 -p \
+          $(CURDIR)/debian/sylpheed-claws/usr/share/applications
+       cp $(CURDIR)/debian/sylpheed-claws.desktop \
+          $(CURDIR)/debian/sylpheed-claws/usr/share/applications/sylpheed-claws.desktop
+
+# 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
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs ChangeLog
+       dh_installdocs
+       dh_installexamples
+       dh_installman
+       dh_installmenu
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/sylpheed-claws.desktop b/debian/sylpheed-claws.desktop
new file mode 100644 (file)
index 0000000..b392558
--- /dev/null
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Sylpheed Claws
+Name[ja]=Sylpheed Claws
+Name[es]=Sylpheed Claws
+Comment=E-Mail client
+Comment[ja]=ÅŻҥ᡼¥ë¥¯¥é¥¤¥¢¥ó¥È
+Comment[es]=Cliente de correo
+Exec=sylpheed-claws
+Icon=sylpheed-claws.png
+Terminal=0
+Type=Application
+Categories=Application;Network;
+StartupNotify=true
diff --git a/debian/sylpheed-claws.menu b/debian/sylpheed-claws.menu
new file mode 100644 (file)
index 0000000..45d226c
--- /dev/null
@@ -0,0 +1,6 @@
+?package(sylpheed-claws):\
+needs="X11"\
+section="Apps/Net"\
+title="Sylpheed Claws"\
+hints="GTK+2.0-based Mail Client"\
+command="/usr/bin/sylpheed-claws"
diff --git a/debian/sylpheed-claws.postinst.debhelper b/debian/sylpheed-claws.postinst.debhelper
new file mode 100644 (file)
index 0000000..8637a4e
--- /dev/null
@@ -0,0 +1,5 @@
+# Automatically added by dh_installmenu
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+       update-menus
+fi
+# End automatically added section
diff --git a/debian/sylpheed-claws.postrm.debhelper b/debian/sylpheed-claws.postrm.debhelper
new file mode 100644 (file)
index 0000000..2b4be4f
--- /dev/null
@@ -0,0 +1,3 @@
+# Automatically added by dh_installmenu
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
+# End automatically added section