debian: separate python-wcs into a different package (#15345)

This commit is contained in:
Frédéric Péters 2017-05-13 18:17:31 +02:00
parent 0731893be9
commit 83124ba965
8 changed files with 28 additions and 11 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
5
9

20
debian/control vendored
View File

@ -2,19 +2,33 @@ Source: wcs
Section: web
Priority: optional
Maintainer: Frederic Peters <fpeters@debian.org>
Build-Depends: python-support (>= 0.4), python-quixote, debhelper (>= 8.0.0), gettext, python-gadjo, libjs-leaflet
Build-Depends: python-all (>= 2.7), python-quixote, debhelper (>= 9.0.0), gettext, python-gadjo, libjs-leaflet
Standards-Version: 3.6.7.0
Homepage: http://wcs.labs.libre-entreprise.org
X-Python-Version: 2.7
Package: wcs
Architecture: all
Depends: ${python:Depends}, python-quixote, python-scgi, graphviz, python-feedparser, python-imaging, python-vobject
Depends: ${python:Depends}, python-wcs (= ${binary:Version}), python-quixote, python-scgi
Recommends: python-dns, python-xlwt, python-qrcode, libjs-leaflet, python-magic
Suggests: libapache2-mod-scgi | libapache-mod-scgi, python-libxml2, python-lasso, python-psycopg2
Suggests: libapache2-mod-scgi | libapache-mod-scgi
Description: web application to design and set up online forms
w.c.s. is a web application which allows to design and set up online forms.
.
It gives a user the ability to create web forms easily without requiring
any other skill than familiarity with web surfing
.
This package contains the init.d script and sample apache configuration.
Package: python-wcs
Architecture: all
Depends: ${python:Depends}, python-quixote, python-scgi, python-feedparser, python-imaging, python-vobject
Recommends: python-dns, python-xlwt, python-qrcode, libjs-leaflet, python-magic
Suggests: python-lasso, python-psycopg2
Description: web application to design and set up online forms (Python module)
w.c.s. is a web application which allows to design and set up online forms.
.
It gives a user the ability to create web forms easily without requiring
any other skill than familiarity with web surfing
.
This package contains the Python modules, scripts and shared data.

1
debian/python-wcs.dirs vendored Normal file
View File

@ -0,0 +1 @@
var/lib/wcs

3
debian/python-wcs.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/lib/python2*/*-packages
usr/share/wcs
usr/share/locale

11
debian/rules vendored
View File

@ -13,12 +13,13 @@ override_dh_clean:
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/
cd po && make install prefix=$(CURDIR)/debian/wcs/
mkdir -p $(CURDIR)/debian/python-wcs/usr/sbin/
mv $(CURDIR)/debian/tmp/usr/bin/wcsctl.py \
$(CURDIR)/debian/python-wcs/usr/sbin/wcsctl
rmdir $(CURDIR)/debian/tmp/usr/bin/
cd po && make install prefix=$(CURDIR)/debian/python-wcs/
cp debian/vhost-apache-wcs $(CURDIR)/debian/wcs/etc/apache2/sites-available
chown www-data.www-data $(CURDIR)/debian/wcs/var/lib/wcs/
chown www-data.www-data $(CURDIR)/debian/python-wcs/var/lib/wcs/
install -d $(CURDIR)/debian/wcs/etc/wcs
install -m 644 wcs.cfg-sample $(CURDIR)/debian/wcs/etc/wcs/wcs.cfg

View File

@ -1,3 +1 @@
etc/apache2/sites-available
usr/sbin
var/lib/wcs

View File

0
debian/wcs.install vendored Normal file
View File