new debian package builder

This commit is contained in:
Yann Leboulanger 2005-07-01 16:24:29 +00:00
parent b8c0228c9e
commit ee92879229
5 changed files with 25 additions and 51 deletions

6
debian/README.Debian vendored Normal file
View File

@ -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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
4

11
debian/control vendored
View File

@ -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, ...

View File

58
debian/rules vendored
View File

@ -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
clean/gajim::
binary-install:
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
binary: binary-indep binary-arch
checkroot:
$(checkdir)
test root = "`whoami`"
.PHONY: binary binary-arch binary-indep clean checkroot
dh_python -pgajim /usr/share/gajim/src