new debian folder that build pyo

This commit is contained in:
Yann Leboulanger 2005-07-01 16:59:51 +00:00
parent ee92879229
commit e88aabcb98
3 changed files with 24 additions and 7 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
gajim (0.8-1) unstable; urgency=low
* new upstream release
* use cdbs
-- Yann Le Boulanger <asterix@lagaule.org> Fri, 1 Jul 2005 18:35:02 +0200
gajim (0.7.1-1) unstable; urgency=low gajim (0.7.1-1) unstable; urgency=low
* Initial Release. Closes: #311215 * Initial Release. Closes: #311215

13
debian/patches/00_debian-copying.patch vendored Normal file
View File

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

11
debian/rules vendored
View File

@ -1,19 +1,16 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.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]'` 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. 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` LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
DEB_MAKE_CLEAN_TARGET := clean
DEB_MAKE_BUILD_TARGET := all 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) DEB_MAKE_INSTALL_TARGET = install PREFIX=/usr DESTDIR=$(DEB_DESTDIR)
clean/gajim:: binary-install/gajim::
rm $(DEB_DESTDIR)/usr/share/gajim/COPYING
binary-install: rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py
rm debian/tmp/usr/share/gajim/src/common/GnuPGInterface.py
dh_python -pgajim /usr/share/gajim/src dh_python -pgajim /usr/share/gajim/src