From 02f3c38e6cb8001ae18fc65288bc685b2f769e36 Mon Sep 17 00:00:00 2001 From: fpeters <> Date: Tue, 14 Oct 2003 14:43:06 +0000 Subject: [PATCH] =?UTF-8?q?Tentative=20pour=20cr=C3=A9ation=20d'un=20paque?= =?UTF-8?q?t=20glasnost-gtk=20incompatible=20avec=20glasnost=20et=20ne=20d?= =?UTF-8?q?=C3=A9pendant=20pas=20d'apache,=20n'ayant=20pas=20de=20script?= =?UTF-8?q?=20de=20d=C3=A9marrage...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/control | 3 ++- debian/glasnost-gtk.files | 2 -- debian/rules | 14 +++++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 56adc4fc..60947faf 100644 --- a/debian/control +++ b/debian/control @@ -21,7 +21,8 @@ Description: A collaborative content management system with voting features Package: glasnost-gtk Architecture: all -Depends: glasnost (= ${Source-Version}), python-gtk2 +Conflicts: glasnost +Depends: python-gtk2 Description: A collaborative content management system with voting features Glasnost is the voting system originally developed by Easter-eggs for in-house decision making and now also used in other places. diff --git a/debian/glasnost-gtk.files b/debian/glasnost-gtk.files index d3135a00..e69de29b 100644 --- a/debian/glasnost-gtk.files +++ b/debian/glasnost-gtk.files @@ -1,2 +0,0 @@ -/usr/bin/glasnost-gtk -/usr/lib/glasnost/glasnost/gtk diff --git a/debian/rules b/debian/rules index d84c41b5..bad35fd5 100755 --- a/debian/rules +++ b/debian/rules @@ -73,11 +73,23 @@ install: build find $(CURDIR)/debian/glasnost* -name .cvsignore -exec rm -f {} \; find $(CURDIR)/debian/glasnost* -name '.*' -type f -exec rm -r {} \; -find $(CURDIR)/debian/glasnost* -name CVS -type d -exec rm -rf {} \; 2> /dev/null - rm $(CURDIR)/debian/glasnost/usr/share/glasnost/glasnost-start # this is ugly but python 2.1 didn't have xmlrpclib.py -mkdir -p $(CURDIR)/debian/glasnost/usr/lib/python2.1/site-packages/ cp /usr/lib/python2.2/xmlrpclib.py $(CURDIR)/debian/glasnost/usr/lib/python2.1/site-packages/ + cp -R $(CURDIR)/debian/glasnost/* $(CURDIR)/debian/glasnost-gtk/ + rm -rf $(CURDIR)/debian/glasnost/usr/share/glasnost/glasnost/gtk/ \ + $(CURDIR)/debian/glasnost/usr/bin/glasnost-gtk + + rm -rf $(CURDIR)/debian/glasnost-gtk/usr/lib/glasnost/glasnost/web/ \ + $(CURDIR)/debian/glasnost-gtk/usr/lib/glasnost/glasnost/server/ \ + $(CURDIR)/debian/glasnost-gtk/usr/lib/glasnost/glasnost/gcurses/ \ + $(CURDIR)/debian/glasnost-gtk/usr/lib/glasnost/servers \ + $(CURDIR)/debian/glasnost-gtk/usr/lib/glasnost/web \ + $(CURDIR)/debian/glasnost-gtk/usr/share/glasnost/glasnost-ctl.py \ + $(CURDIR)/debian/glasnost-gtk/usr/sbin \ + $(CURDIR)/debian/glasnost-gtk/var \ + # Build architecture-independent files here. binary-indep: build install dh_testdir