New branch fir Debian Wheezy

This commit is contained in:
Jérôme Schneider 2013-08-13 12:22:25 +02:00
parent 8edbba3f35
commit 7229c2c10d
3 changed files with 10 additions and 48 deletions

3
debian/control vendored
View File

@ -2,9 +2,10 @@ Source: wcs
Section: web
Priority: optional
Maintainer: Frederic Peters <fpeters@debian.org>
Build-Depends: python-support (>= 0.4), python-quixote, debhelper (>= 5.0.37.2), gettext
Build-Depends: python-support (>= 0.4), python-quixote, debhelper (>= 8.0.0), gettext
Standards-Version: 3.6.7.0
Homepage: http://wcs.labs.libre-entreprise.org
X-Python-Version: >= 2.6
Package: wcs
Architecture: all

54
debian/rules vendored
View File

@ -4,32 +4,15 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PYTHON=/usr/bin/python
build: build-stamp
build-stamp:
dh_testdir
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
rm -f po/*.mo
python setup.py clean
rm -rf build
%:
dh $@ --with python2
override_dh_clean:
dh_clean
rm -rf po/*.mo
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(PYTHON) setup.py install --prefix=$(CURDIR)/debian/wcs/usr --no-compile
override_dh_install:
dh_install
mv $(CURDIR)/debian/wcs/usr/bin/wcsctl.py \
$(CURDIR)/debian/wcs/usr/sbin/wcsctl
rmdir $(CURDIR)/debian/wcs/usr/bin/
@ -39,28 +22,5 @@ install: build
install -d $(CURDIR)/debian/wcs/etc/wcs
install -m 644 wcs.cfg-sample $(CURDIR)/debian/wcs/etc/wcs/wcs.cfg
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installcron
dh_installdocs
dh_installchangelogs
dh_installinit
dh_link
dh_strip
override_dh_fixperms:
dh_fixperms -X /var/lib/wcs
dh_pysupport
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)