diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2005-07-01 20:24:29 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2005-07-01 20:24:29 +0400 |
commit | ee9287922900084a9a0312c93d31fc1b6effbf53 (patch) | |
tree | 0fd44894e4a24c82a5596ec84c1d53301a9603b1 /debian | |
parent | b8c0228c9eba6dfd8827a712be6a26f96fe5470f (diff) |
new debian package builder
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.Debian | 6 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 11 | ||||
-rw-r--r-- | debian/gajim.menu (renamed from debian/menu) | 0 | ||||
-rwxr-xr-x | debian/rules | 58 |
5 files changed, 25 insertions, 51 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 000000000..66440e2d5 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +gajim for Debian +---------------- + +If you want to use OpenPGP in gajim, you have to install python-gnupginterface. + + -- Yann Le Boulanger <asterix@lagaule.org>, Mon, 20 Jun 2005 12:02:31 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..b8626c4cf --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control index 73f445ee8..4f30d7170 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,13 @@ Source: gajim Section: net Priority: optional Maintainer: Yann Le Boulanger <asterix@lagaule.org> -Standards-Version: 3.6.1.1 -Build-Depends: debmake, python-dev, libgtk2.0-dev, python-gtk2-dev, libgtkspell-dev, gettext +Build-Depends: debhelper (>= 4.0.0), python-dev, libgtk2.0-dev, python-gtk2-dev, libgtkspell-dev, gettext +Standards-Version: 3.6.1 Package: gajim Architecture: any -Section: net -Priority: optional -Depends: python (>= 2.3), python-glade2 (>= 2.4.0), python-gtk2 (>= 2.4.0) +Depends: ${shlibs:Depends}, python (>= 2.3), python-glade2 (>= 2.4.0), python-gtk2 (>= 2.4.0) Suggests: python-gnupginterface Description: Jabber client written in PyGTK - Gajim is a jabber client written in python, with a GTK frontend. + Gajim is a jabber client written in python, with a GTK frontend. It supports + tabbed chat, MUC, systray icon, TLS, GPG, SSL, multiple accounts, ... diff --git a/debian/menu b/debian/gajim.menu index f1efc22e2..f1efc22e2 100644 --- a/debian/menu +++ b/debian/gajim.menu diff --git a/debian/rules b/debian/rules index 0cd18c650..1521d4a67 100755 --- a/debian/rules +++ b/debian/rules @@ -1,51 +1,19 @@ #!/usr/bin/make -f -# Made with the aid of debmake, by Christoph Lameter, -# based on the sample debian/rules file for GNU hello by Ian Jackson. +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk -package=gajim +PYTHONVER = `python -c 'import sys; print sys.version[:3]'` +CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I. +LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` -build: build-stamp -build-stamp: - $(checkdir) - - make - touch build +DEB_MAKE_CLEAN_TARGET := clean +DEB_MAKE_BUILD_TARGET := all +DEB_MAKE_INSTALL_TARGET := install PREFIX=/usr DESTDIR=$(DEB_DESTDIR) -clean: - $(checkdir) - rm -f build - make clean - rm -f `find . -name "*~"` - rm -rf debian/tmp debian/files* core debian/substvars files +DEB_MAKE_INSTALL_TARGET = install PREFIX=/usr DESTDIR=$(DEB_DESTDIR) -install: install-stamp -install-stamp: build-stamp - $(checkdir) - rm -rf debian/tmp - install -d debian/tmp - cd debian/tmp && install -d `cat ../dirs` - make install PREFIX=/usr DESTDIR=`pwd`/debian/tmp - rm debian/tmp/usr/share/gajim/src/common/GnuPGInterface.py - -binary-indep: checkroot build - $(checkdir) - -binary-arch: checkroot build install - $(checkdir) - debstd - dpkg-gencontrol -isp - chown -R root:root debian/tmp - chmod -R go=rX debian/tmp - dpkg --build debian/tmp .. - -define checkdir - test -f debian/rules -endef +clean/gajim:: -binary: binary-indep binary-arch - -checkroot: - $(checkdir) - test root = "`whoami`" - -.PHONY: binary binary-arch binary-indep clean checkroot +binary-install: + rm debian/tmp/usr/share/gajim/src/common/GnuPGInterface.py + dh_python -pgajim /usr/share/gajim/src |