debian: separate python-wcs into a different package (#15345)
This commit is contained in:
parent
0731893be9
commit
83124ba965
|
@ -1 +1 @@
|
|||
5
|
||||
9
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
var/lib/wcs
|
|
@ -0,0 +1,3 @@
|
|||
usr/lib/python2*/*-packages
|
||||
usr/share/wcs
|
||||
usr/share/locale
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
etc/apache2/sites-available
|
||||
usr/sbin
|
||||
var/lib/wcs
|
Loading…
Reference in New Issue