From e88aabcb9857f2c0557a50a1aad1912de0871791 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 1 Jul 2005 16:59:51 +0000 Subject: [PATCH] new debian folder that build pyo --- debian/changelog | 7 +++++++ debian/patches/00_debian-copying.patch | 13 +++++++++++++ debian/rules | 11 ++++------- 3 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 debian/patches/00_debian-copying.patch diff --git a/debian/changelog b/debian/changelog index b4c7c23ab..6ff33689f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +gajim (0.8-1) unstable; urgency=low + + * new upstream release + * use cdbs + + -- Yann Le Boulanger Fri, 1 Jul 2005 18:35:02 +0200 + gajim (0.7.1-1) unstable; urgency=low * Initial Release. Closes: #311215 diff --git a/debian/patches/00_debian-copying.patch b/debian/patches/00_debian-copying.patch new file mode 100644 index 000000000..45e844ade --- /dev/null +++ b/debian/patches/00_debian-copying.patch @@ -0,0 +1,13 @@ +Index: src/dialogs.py +=================================================================== +--- src/dialogs.py (Revision 2236) ++++ src/dialogs.py (Arbeitskopie) +@@ -391,7 +391,7 @@ + dlg.set_version(gajim.version) + s = u'Copyright \xa9 2003-2005 Gajim Team' + dlg.set_copyright(s) +- text = open('../COPYING').read() ++ text = open('/usr/share/common-licenses/GPL-2').read() + dlg.set_license(text) + + dlg.set_comments(_('A GTK jabber client')) diff --git a/debian/rules b/debian/rules index 1521d4a67..c8b95e71b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,19 +1,16 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk 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` -DEB_MAKE_CLEAN_TARGET := clean DEB_MAKE_BUILD_TARGET := all -DEB_MAKE_INSTALL_TARGET := install PREFIX=/usr DESTDIR=$(DEB_DESTDIR) - DEB_MAKE_INSTALL_TARGET = install PREFIX=/usr DESTDIR=$(DEB_DESTDIR) -clean/gajim:: - -binary-install: - rm debian/tmp/usr/share/gajim/src/common/GnuPGInterface.py +binary-install/gajim:: + rm $(DEB_DESTDIR)/usr/share/gajim/COPYING + rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py dh_python -pgajim /usr/share/gajim/src