[Python-apps-commits] r2198 - in packages/lottanzb/trunk/debian (5 files)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Sat Jan 10 17:54:06 UTC 2009
Date: Saturday, January 10, 2009 @ 17:54:06
Author: piotr
Revision: 2198
* let dh_{desktop,icon,scrollkeeper} generate post{inst,rm} scripts
* add "python (>= 2.5) |" before python-elementtree in Depends
Modified:
packages/lottanzb/trunk/debian/changelog
packages/lottanzb/trunk/debian/control
packages/lottanzb/trunk/debian/rules
Deleted:
packages/lottanzb/trunk/debian/postinst
packages/lottanzb/trunk/debian/postrm
Modified: packages/lottanzb/trunk/debian/changelog
===================================================================
--- packages/lottanzb/trunk/debian/changelog 2009-01-10 17:22:27 UTC (rev 2197)
+++ packages/lottanzb/trunk/debian/changelog 2009-01-10 17:54:06 UTC (rev 2198)
@@ -1,4 +1,4 @@
-lottanzb (0.4.0-1) UNRELEASED; urgency=low
+lottanzb (0.4.0-1) unstable; urgency=low
* Initial release (Closes: #510909).
Modified: packages/lottanzb/trunk/debian/control
===================================================================
--- packages/lottanzb/trunk/debian/control 2009-01-10 17:22:27 UTC (rev 2197)
+++ packages/lottanzb/trunk/debian/control 2009-01-10 17:54:06 UTC (rev 2198)
@@ -13,7 +13,7 @@
Package: lottanzb
Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, hellanzb (>= 0.13), python-elementtree, python-glade2, python-gtk2, unrar, python-kiwi (>= 1.9.9)
+Depends: ${python:Depends}, ${misc:Depends}, hellanzb (>= 0.13), python (>= 2.5) | python-elementtree, python-glade2, python-gtk2, unrar, python-kiwi (>= 1.9.9)
Enhances: hellanzb
Recommends: python-openssl
Description: simple and automated Usenet downloader for Newzbin (NZB) files
Deleted: packages/lottanzb/trunk/debian/postinst
===================================================================
--- packages/lottanzb/trunk/debian/postinst 2009-01-10 17:22:27 UTC (rev 2197)
+++ packages/lottanzb/trunk/debian/postinst 2009-01-10 17:54:06 UTC (rev 2198)
@@ -1,19 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-# Update desktop database.
-if which update-desktop-database >/dev/null 2>&1; then
- update-desktop-database
-fi
-
-# Update icon caches.
-if which gtk-update-icon-cache >/dev/null 2>&1; then
- gtk-update-icon-cache -q -f -t /usr/share/icons/gnome
- gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
-fi
-
-# Update scrollkeeper database.
-if which scrollkeeper-update >/dev/null 2>&1; then
- scrollkeeper-update -q -o /usr/share/omf
-fi
Deleted: packages/lottanzb/trunk/debian/postrm
===================================================================
--- packages/lottanzb/trunk/debian/postrm 2009-01-10 17:22:27 UTC (rev 2197)
+++ packages/lottanzb/trunk/debian/postrm 2009-01-10 17:54:06 UTC (rev 2198)
@@ -1,19 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-# Update desktop database.
-if which update-desktop-database >/dev/null 2>&1; then
- update-desktop-database
-fi
-
-# Update icon caches.
-if which gtk-update-icon-cache >/dev/null 2>&1; then
- gtk-update-icon-cache -q -f -t /usr/share/icons/gnome
- gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
-fi
-
-# Update scrollkeeper database.
-if which scrollkeeper-update >/dev/null 2>&1; then
- scrollkeeper-update -q -o /usr/share/omf
-fi
Modified: packages/lottanzb/trunk/debian/rules
===================================================================
--- packages/lottanzb/trunk/debian/rules 2009-01-10 17:22:27 UTC (rev 2197)
+++ packages/lottanzb/trunk/debian/rules 2009-01-10 17:54:06 UTC (rev 2198)
@@ -8,3 +8,8 @@
DEB_PYTHON_INSTALL_ARGS_ALL := --packaging-mode
DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG
+
+install/lottanzb::
+ dh_desktop
+ dh_icons
+ dh_scrollkeeper
More information about the Python-apps-commits
mailing list