diff --git a/debian/control b/debian/control index ba578d2..1dfe556 100644 --- a/debian/control +++ b/debian/control @@ -1,18 +1,19 @@ Source: openxcap Section: net Priority: optional Maintainer: Saul Ibarra Uploaders: Dan Pascu , Adrian Georgescu , Lucian Stanescu +Build-Depends: debhelper (>= 7.3.5), python(>= 2.5) Standards-Version: 3.9.2 Package: openxcap Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-lxml (>= 2.0.7-1), python-zopeinterface, python-twisted-core (>= 8.1.0), python-twisted-web (>= 8.1.0), python-twisted-web2 (>= 8.1.0), python-application (>= 1.2.8), python-gnutls (>= 1.1.8), python-sqlobject, python-mysqldb, python-imaging Description: An Open Source XCAP server implementation XCAP protocol allows a client to read, write and modify application configuration data stored in XML format on a server. XCAP maps XML document sub-trees and element attributes to HTTP URIs, so that these components can be directly accessed by HTTP. An XCAP server is used by the XCAP clients to store data like Presence policy in combination with a SIP Presence server that supports PUBLISH/SUBSCRIBE/NOTIFY methods to provide a complete SIP SIMPLE server solution. diff --git a/debian/rules b/debian/rules index a053981..e3b17ef 100644 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,16 @@ #!/usr/bin/make -f -DEB_PYTHON_SYSTEM=pysupport +#export DH_VERBOSE=1 -include /usr/share/cdbs/1/class/python-distutils.mk -include /usr/share/cdbs/1/rules/debhelper.mk +%: + dh $@ --with python2 -clean:: - -rm -rf build dist MANIFEST +override_dh_clean: + dh_clean + rm -rf build dist MANIFEST -install/openxcap:: +override_dh_install: + dh_install install -m 0644 config.ini.sample debian/openxcap/etc/openxcap/config.ini + +.PHONY: override_dh_clean override_dh_install