new debian package builder
This commit is contained in:
parent
b8c0228c9e
commit
ee92879229
5 changed files with 25 additions and 51 deletions
6
debian/README.Debian
vendored
Normal file
6
debian/README.Debian
vendored
Normal 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
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
4
|
11
debian/control
vendored
11
debian/control
vendored
|
@ -2,14 +2,13 @@ Source: gajim
|
||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Yann Le Boulanger <asterix@lagaule.org>
|
Maintainer: Yann Le Boulanger <asterix@lagaule.org>
|
||||||
Standards-Version: 3.6.1.1
|
Build-Depends: debhelper (>= 4.0.0), python-dev, libgtk2.0-dev, python-gtk2-dev, libgtkspell-dev, gettext
|
||||||
Build-Depends: debmake, python-dev, libgtk2.0-dev, python-gtk2-dev, libgtkspell-dev, gettext
|
Standards-Version: 3.6.1
|
||||||
|
|
||||||
Package: gajim
|
Package: gajim
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Section: net
|
Depends: ${shlibs:Depends}, python (>= 2.3), python-glade2 (>= 2.4.0), python-gtk2 (>= 2.4.0)
|
||||||
Priority: optional
|
|
||||||
Depends: python (>= 2.3), python-glade2 (>= 2.4.0), python-gtk2 (>= 2.4.0)
|
|
||||||
Suggests: python-gnupginterface
|
Suggests: python-gnupginterface
|
||||||
Description: Jabber client written in PyGTK
|
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, ...
|
||||||
|
|
0
debian/menu → debian/gajim.menu
vendored
0
debian/menu → debian/gajim.menu
vendored
58
debian/rules
vendored
58
debian/rules
vendored
|
@ -1,51 +1,19 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
# Made with the aid of debmake, by Christoph Lameter,
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
# based on the sample debian/rules file for GNU hello by Ian Jackson.
|
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
|
DEB_MAKE_CLEAN_TARGET := clean
|
||||||
build-stamp:
|
DEB_MAKE_BUILD_TARGET := all
|
||||||
$(checkdir)
|
DEB_MAKE_INSTALL_TARGET := install PREFIX=/usr DESTDIR=$(DEB_DESTDIR)
|
||||||
|
|
||||||
make
|
|
||||||
touch build
|
|
||||||
|
|
||||||
clean:
|
DEB_MAKE_INSTALL_TARGET = install PREFIX=/usr DESTDIR=$(DEB_DESTDIR)
|
||||||
$(checkdir)
|
|
||||||
rm -f build
|
|
||||||
make clean
|
|
||||||
rm -f `find . -name "*~"`
|
|
||||||
rm -rf debian/tmp debian/files* core debian/substvars files
|
|
||||||
|
|
||||||
install: install-stamp
|
clean/gajim::
|
||||||
install-stamp: build-stamp
|
|
||||||
$(checkdir)
|
binary-install:
|
||||||
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
|
rm debian/tmp/usr/share/gajim/src/common/GnuPGInterface.py
|
||||||
|
dh_python -pgajim /usr/share/gajim/src
|
||||||
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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue