making debian package generation more clear

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@91 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf
2009-02-26 11:18:07 +00:00
parent 62522d90f2
commit 2f0a12f9e0
5 changed files with 28 additions and 43 deletions

13
debscript/gencontrol.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
echo "Version: "`../relational.py -v | cut -d. -f1`":"`../relational.py -v`+SVN`svn update | cut -d" " -f3 | tr -d "."`
echo "Architecture: all"
echo "Maintainer: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>"
echo "Installed-Size: "`du -s --apparent-size ../data/ | cut -f1`
echo "Depends: python-qt4 (>= 4.0.1-5), python (>= 2.3), debhelper (>= 5.0.38), python-central (>= 0.5.6), ttf-dejavu-core (>= 2.25-3)"
echo "Recommends: libqt4-webkit (>= 4.4.3-1)"
echo "Section: devel"
echo "Priority: optional"
echo "Homepage: http://galileo.dmi.unict.it/wiki/relational/"
echo "Description: Python implementation of Relational algebra."
echo " This program provides a GUI to execute relational algebra queries."
echo " It is meant to be used for educational purposes."

View File

@@ -1,10 +0,0 @@
#!/bin/sh
set -e
case $1 in
remove)
rm -rf /usr/share/python-support/relational/;;
esac
exit 0

2
debscript/relational Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
python /usr/share/python-support/relational/relational.py $@

View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Relational
Comment=Relational Algebra
Exec=relational
Icon=kexi
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Education;