Fix packaging

This commit is contained in:
Nicolas Valcarcel Scerpella 2009-07-03 13:03:59 -05:00
parent 216b665f8e
commit 2e9bd6ac1c
4 changed files with 7 additions and 4 deletions

4
debian/control vendored
View File

@ -1,13 +1,13 @@
Source: terminator Source: terminator
Section: misc Section: misc
XS-Python-Version: all XS-Python-Version: >=2.5
Priority: optional Priority: optional
Maintainer: Nicolas Valcárcel Scerpella <nvalcarcel@canonical.com> Maintainer: Nicolas Valcárcel Scerpella <nvalcarcel@canonical.com>
Uploaders: Rudy Godoy Guillén <rudy@debian.org>, Uploaders: Rudy Godoy Guillén <rudy@debian.org>,
Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org> Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
Build-Depends: debhelper (>= 5.0.62), python, cdbs (>= 0.4.49), intltool Build-Depends: debhelper (>= 5.0.62), python, cdbs (>= 0.4.49), intltool
Build-Depends-Indep: python-support (>= 0.5.3) Build-Depends-Indep: python-support (>= 0.5.3)
Standards-Version: 3.8.0 Standards-Version: 3.8.2
Vcs-Svn: svn://svn.debian.org/python-apps/packages/terminator/trunk/ Vcs-Svn: svn://svn.debian.org/python-apps/packages/terminator/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/terminator/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/terminator/trunk/
Homepage: http://www.tenshu.net/terminator/ Homepage: http://www.tenshu.net/terminator/

2
debian/rules vendored
View File

@ -7,9 +7,11 @@ include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_INSTALL_CHANGELOGS_ALL := ChangeLog DEB_INSTALL_CHANGELOGS_ALL := ChangeLog
DEB_PYTHON_INSTALL_ARGS_ALL +=--install-lib=/usr/share/terminator --install-scripts=/usr/share/terminator
binary-install/terminator:: binary-install/terminator::
dh_icons -pterminator dh_icons -pterminator
dh_link /usr/share/terminator/terminator /usr/bin/terminator
clean:: clean::
rm -rf build/ rm -rf build/

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.13+ds1; then if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.13+ds1; then
pycentral pkgremove remove terminator pycentral pkgremove terminator
fi fi
#DEBHELPER#

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
if [ "$1" = remove ]; then if [ "$1" = remove ]; then
update-alternatives --remove terminator /usr/bin/terminator update-alternatives --remove terminator /usr/bin/terminator || true
update-alternatives --remove x-terminal-emulator /usr/bin/terminator update-alternatives --remove x-terminal-emulator /usr/bin/terminator
fi fi