release JMC 0.3 beta2

This commit is contained in:
David Rousselie
2010-05-11 20:35:59 +02:00
parent 249b2f55b9
commit 76adc75d9f
11 changed files with 83 additions and 98 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
jmc (0.3b2) unstable; urgency=low
* JMC version 0.3 beta 2
-- David Rousselie <dax@happycoders.org> Tue, 11 May 2010 19:56:41 +0200
jmc (0.3b1) unstable; urgency=low
* JMC version 0.3 beta 1
@@ -26,4 +32,3 @@ jmc (0.2.2-1) unstable; urgency=low
* Initial Debian release
-- David Rousselie <dax@happycoders.org> Wed, 26 Jul 2006 23:07:24 +0200

2
debian/compat vendored
View File

@@ -1 +1 @@
4
7

14
debian/control vendored
View File

@@ -2,18 +2,14 @@ Source: jmc
Section: python
Priority: optional
Maintainer: David Rousselie <dax@happycoders.org>
Build-Depends: python-setuptools (>= 0.6b3-1), python-all-dev (>= 2.3.5-11), debhelper (>= 5.0.38), python-central (>= 0.5.6)
Standards-Version: 3.7.2
XS-Python-Version: all
Build-Depends: debhelper (>=7.0.50~), python-support (>= 0.6), cdbs (>= 0.4.49), python-all-dev
Standards-Version: 3.8.4
Package: python-jmc
Architecture: all
Depends: ${python:Depends}, python-jcl (>= 0.1)
Recommends:
Suggests:
XB-Python-Version: ${python:Versions}
Depends: ${python:Depends}, python-jcl (= 0.1b2)
Provides: ${python:Provides}
Description: JMC is an email gateway for Jabber
JMC is a jabber service to check email from POP3 and IMAP4 server and
retrieve them or just a notification of new emails. Jabber users can
JMC is a jabber service to check email from POP3 and IMAP4 server and
retrieve them or just a notification of new emails. Jabber users can
register multiple email accounts.

10
debian/init.d vendored
View File

@@ -1,7 +1,11 @@
#! /bin/sh
#
# Jabber Mail Component startup script
#
### BEGIN INIT INFO
# Provides: jmc
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Jabber Mail Component
# Description: Start Jabber Mail Component daemon.
### END INIT INFO
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/jmc

1
debian/pyversions vendored Normal file
View File

@@ -0,0 +1 @@
2.4-2.6

79
debian/rules vendored
View File

@@ -1,79 +1,10 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.2.a1 at
# Tue, 13 Nov 2007 19:00:04 +0100
DEB_PYTHON_SYSTEM := pysupport
PACKAGE_NAME=python-jmc
MODULE_NAME=jmc
DEB_UPSTREAM_VERSION=0.3b1
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
PYVERS=$(shell pyversions -vr)
build: build-stamp
build-stamp: $(PYVERS:%=build-python%)
touch $@
build-python%:
# Force setuptools, but reset sys.argv[0] to 'setup.py' because setup.py files expect that.
python$* -c "import setuptools,sys;f='setup.py';sys.argv[0]=f;execfile(f,{'__file__':f,'__name__':'__main__'})" build
touch $@
clean:
dh_testdir
dh_testroot
rm -f *-stamp
rm -rf dist build
-find -name '*.py[co]' | xargs rm -f
# find . -name *.pyc -exec rm {} \;
clean::
rm -rf build build-stamp configure-stamp MANIFEST
dh_clean
install: build install-prereq $(PYVERS:%=install-python%)
install-prereq:
dh_testdir
dh_testroot
dh_clean -k
install-python%:
# Force setuptools, but reset sys.argv[0] to 'setup.py' because setup.py files expect that.
python$* -c "import setuptools,sys;f='setup.py';sys.argv[0]=f;execfile(f,{'__file__':f,'__name__':'__main__'})" install --no-compile --single-version-externally-managed --root $(CURDIR)/debian/${PACKAGE_NAME}
mv debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}-py$*.egg-info debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}.egg-info
binary-arch:
binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_pycentral -i
dh_install -i
dh_installinit -i
dh_install
dh_installdocs -i
dh_installdirs -i
dh_installexamples -i
dh_strip -i
dh_compress -i -X.py
dh_fixperms -i
: # Replace all '#!' calls to python with $(PYTHON)
: # and make them executable
for i in \
`find debian/python-jmc/usr/bin -type f` \
`find debian/python-jmc/usr/lib -type f`; \
do \
case "$$i" in *-[0-9].[0-9]) continue; esac; \
sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \
$$i > $$i.temp; \
if cmp --quiet $$i $$i.temp; then \
rm -f $$i.temp; \
else \
mv -f $$i.temp $$i; \
chmod 755 $$i; \
echo "fixed interpreter: $$i"; \
fi; \
done
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure