scripts to build debian package

This commit is contained in:
Yann Leboulanger 2004-12-19 19:17:29 +00:00
parent 63297079f4
commit c01b2c9fc0
8 changed files with 151 additions and 0 deletions

37
debian/changelog vendored Normal file
View File

@ -0,0 +1,37 @@
gajim (0.3-1) unstable; urgency=low
* GUI improvements
* group chat support with MUC (JEP 45)
* New agent browser (JEP 30)
* GnuPG support
* Autoconnect at startup
* New socket plugin
-- Yann Le Boulanger <asterix@lagaule.org> Sat, 18 Dec 2004 14:52:07 +0100
gajim (0.2-2) unstable; urgency=low
* bugfixes : when configfile is incomplete
* icon in systray with popup menu (for linux)
* "auto away even if not online" option
* always show contacts with unread messages
* new imageCellRenderer to show animated gifs
* allow agents unregistration
-- Yann Le Boulanger <asterix@lagaule.org> Thu, 1 Jul 2004 23:45:02 +0200
gajim (0.2-1) unstable; urgency=low
* bugfix for french translation
* multi-resource support
* auto away support (for linux)
* invisible support
* priority support
-- Yann Le Boulanger <asterix@lagaule.org> Tue, 8 Jun 2004 04:52:36 +0200
gajim (0.1-1) unstable; urgency=low
* Initial release.
-- Yann Le Boulanger <asterix@lagaule.org> Fri, 21 May 2004 18:15:28 -0400

13
debian/control vendored Normal file
View File

@ -0,0 +1,13 @@
Source: gajim
Section: net
Priority: optional
Maintainer: Yann Le Boulanger <asterix@lagaule.org>
Standards-Version: 3.5.8
Build-Depends: debmake
Package: gajim
Architecture: any
Depends: python (>= 2.3), python-glade2 (>= 2.0.0), python-gtk2 (>= 2.0.0)
Description: Jabber client in python
Gajim is a Jabber client, like Psi, based on a plugin system.
logger and gtkgui plugins are included.

26
debian/copyright vendored Normal file
View File

@ -0,0 +1,26 @@
This package was debianized by Yann L.B. asterix@lagaule.org on
Fri, 21 May 2004 18:15:28 -0400.
Gajim Team:
- Yann Le Boulanger <asterix@lagaule.org>
- Vincent Hanquez <tab@tuxfamily.org>
Copyright: (c) 2003 Gajim Team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Debian system; see the file /usr/share/common-licenses/GPL. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite
330, Boston, MA 02111-1307, USA.

4
debian/dirs vendored Normal file
View File

@ -0,0 +1,4 @@
usr/bin
usr/share/gajim
usr/share/man/man1
usr/share/pixmaps

1
debian/files vendored Normal file
View File

@ -0,0 +1 @@
gajim_0.3-1_i386.deb net optional

1
debian/gajim.manpages vendored Normal file
View File

@ -0,0 +1 @@
gajim.1

8
debian/menu vendored Normal file
View File

@ -0,0 +1,8 @@
?package(gajim): \
needs="X11" \
section="Apps/Net" \
command="/usr/bin/gajim" \
icon="/usr/share/pixmaps/gajim.xpm" \
title="Gajim" \
longtitle="Gajim: GTK Jabber Client" \
description="GTK Jabber Client."

61
debian/rules vendored Executable file
View File

@ -0,0 +1,61 @@
#!/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.
package=gajim
build: build-stamp
build-stamp:
$(checkdir)
# $(MAKE) CFLAGS="-O2 -g -Wall"
make
touch build
clean:
$(checkdir)
rm -f build
# -$(MAKE) clean
make clean
rm -f `find . -name "*~"`
rm -rf debian/tmp debian/files* core debian/substvars
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=debian/tmp/usr DESTDIR=`pwd`/debian/tmp
cp gajim.xpm debian/tmp/usr/share/pixmaps
chmod -x debian/tmp/usr/share/gajim/runCore.py
sed -ne '1d;w debian/tmp/runCore.py.tmp' debian/tmp/usr/share/gajim/runCore.py
mv debian/tmp/runCore.py.tmp debian/tmp/usr/share/gajim/runCore.py
binary-indep: checkroot build
$(checkdir)
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-arch: checkroot build install
$(checkdir)
# Must have debmake installed for this to work. Otherwise please copy
# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
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