untagged release :-S
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@63 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
4441584a64
commit
187a66d85e
43
Makefile
43
Makefile
@ -26,31 +26,44 @@ app:
|
|||||||
cp mac/PythonApplet.icns mac/__argvemulator_relational.py Relational.app/Contents/Resources/
|
cp mac/PythonApplet.icns mac/__argvemulator_relational.py Relational.app/Contents/Resources/
|
||||||
|
|
||||||
debian:
|
debian:
|
||||||
mkdir data
|
|
||||||
#Python files
|
#Python files
|
||||||
mkdir data/usr/
|
mkdir -p data/usr/share/python-support/relational/
|
||||||
mkdir data/usr/share/
|
|
||||||
mkdir data/usr/share/python-support/
|
|
||||||
mkdir data/usr/share/python-support/relational/
|
|
||||||
|
|
||||||
cp *py data/usr/share/python-support/relational/
|
cp *py data/usr/share/python-support/relational/
|
||||||
|
|
||||||
|
#man
|
||||||
|
mkdir -p data/usr/share/man/man1
|
||||||
|
cp relational.1 data/usr/share/man/man1
|
||||||
|
gzip --best data/usr/share/man/man1/relational.1
|
||||||
|
|
||||||
#doc
|
#doc
|
||||||
mkdir data/usr/share/doc/
|
mkdir -p data/usr/share/doc/relational
|
||||||
mkdir data/usr/share/doc/relational
|
|
||||||
cp COPYING data/usr/share/doc/relational/copyright
|
echo "Copyright (C) 2008 Salvo "LtWorf" Tomaselli" >> data/usr/share/doc/relational/copyright
|
||||||
|
echo "" >> data/usr/share/doc/relational/copyright
|
||||||
|
echo "License:" >> data/usr/share/doc/relational/copyright
|
||||||
|
echo "This program is under the GPLv3 license" >> data/usr/share/doc/relational/copyright
|
||||||
|
|
||||||
cp CHANGELOG data/usr/share/doc/relational/changelog
|
cp CHANGELOG data/usr/share/doc/relational/changelog
|
||||||
gzip data/usr/share/doc/relational/changelog
|
echo "relational ("`./relational.py -v | cut -d. -f1`":"`./relational.py -v`") unstable; urgency=low" >> data/usr/share/doc/relational/changelog.Debian
|
||||||
|
echo "" >> data/usr/share/doc/relational/changelog.Debian
|
||||||
|
echo " * Automatically generated package, see changelog.gz" >> data/usr/share/doc/relational/changelog.Debian
|
||||||
|
echo "" >> data/usr/share/doc/relational/changelog.Debian
|
||||||
|
echo " -- Make <make@make.org> Fri, 10 Oct 2008 19:18:35 +0200">> data/usr/share/doc/relational/changelog.Debian
|
||||||
|
|
||||||
|
gzip --best data/usr/share/doc/relational/changelog.Debian
|
||||||
|
gzip --best data/usr/share/doc/relational/changelog
|
||||||
cp -r samples data/usr/share/doc/relational/examples
|
cp -r samples data/usr/share/doc/relational/examples
|
||||||
rm -rf data/usr/share/doc/relational/examples/.svn
|
rm -rf data/usr/share/doc/relational/examples/.svn
|
||||||
|
|
||||||
#start script
|
#start script
|
||||||
mkdir data/usr/bin
|
mkdir -p data/usr/bin
|
||||||
echo "#!/bin/bash" >> data/usr/bin/relational
|
echo "#!/bin/bash" >> data/usr/bin/relational
|
||||||
echo "python /usr/share/python-support/relational/relational.py $@" >> data/usr/bin/relational
|
echo "python /usr/share/python-support/relational/relational.py $@" >> data/usr/bin/relational
|
||||||
chmod a+x data/usr/bin/relational
|
chmod a+x data/usr/bin/relational
|
||||||
|
|
||||||
#desktop file
|
#desktop file
|
||||||
mkdir data/usr/share/applications/
|
mkdir -p data/usr/share/applications/
|
||||||
echo "[Desktop Entry]" >> data/usr/share/applications/relational.desktop
|
echo "[Desktop Entry]" >> data/usr/share/applications/relational.desktop
|
||||||
echo "Name=Relational">> data/usr/share/applications/relational.desktop
|
echo "Name=Relational">> data/usr/share/applications/relational.desktop
|
||||||
echo "Comment=Relational Algebra">> data/usr/share/applications/relational.desktop
|
echo "Comment=Relational Algebra">> data/usr/share/applications/relational.desktop
|
||||||
@ -61,19 +74,19 @@ debian:
|
|||||||
echo "Encoding=UTF-8">> data/usr/share/applications/relational.desktop
|
echo "Encoding=UTF-8">> data/usr/share/applications/relational.desktop
|
||||||
echo "Categories=Education;">> data/usr/share/applications/relational.desktop
|
echo "Categories=Education;">> data/usr/share/applications/relational.desktop
|
||||||
|
|
||||||
mkdir data/DEBIAN
|
mkdir -p data/DEBIAN
|
||||||
#package description
|
#package description
|
||||||
echo "Package: relational" >> data/DEBIAN/control
|
echo "Package: relational" >> data/DEBIAN/control
|
||||||
echo "Version: "`./relational.py -v | cut -d. -f1`":"`./relational.py -v` >> data/DEBIAN/control
|
echo "Version: "`./relational.py -v | cut -d. -f1`":"`./relational.py -v` >> data/DEBIAN/control
|
||||||
echo "Architecture: all" >> data/DEBIAN/control
|
echo "Architecture: all" >> data/DEBIAN/control
|
||||||
echo "Maintainer: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>" >> data/DEBIAN/control
|
echo "Maintainer: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>" >> data/DEBIAN/control
|
||||||
echo "Installed-Size: "`du -bs --apparent-size data/ | cut -f1` >> data/DEBIAN/control
|
echo "Installed-Size: "`du -bs --apparent-size data/ | cut -f1` >> data/DEBIAN/control
|
||||||
echo "Depends: python-qt4 (>= 4.0.1-5)" >> data/DEBIAN/control
|
echo "Depends: python-qt4 (>= 4.0.1-5), python (>= 2.3)" >> data/DEBIAN/control
|
||||||
echo "Recommends: libqt4-webkit (>= 4.4.3-1)" >> data/DEBIAN/control
|
echo "Recommends: libqt4-webkit (>= 4.4.3-1)" >> data/DEBIAN/control
|
||||||
echo "Section: developement" >> data/DEBIAN/control
|
echo "Section: devel" >> data/DEBIAN/control
|
||||||
echo "Priority: optional" >> data/DEBIAN/control
|
echo "Priority: optional" >> data/DEBIAN/control
|
||||||
echo "Homepage: http://galileo.dmi.unict.it/wiki/relational/" >> data/DEBIAN/control
|
echo "Homepage: http://galileo.dmi.unict.it/wiki/relational/" >> data/DEBIAN/control
|
||||||
echo "Description: Relational algebra in python.">> data/DEBIAN/control
|
echo "Description: Python implementation of Relational algebra.">> data/DEBIAN/control
|
||||||
echo " This program provides a GUI to execute relational algebra queries.">> data/DEBIAN/control
|
echo " This program provides a GUI to execute relational algebra queries.">> data/DEBIAN/control
|
||||||
echo " It is meant to be used for educational purposes.">> data/DEBIAN/control
|
echo " It is meant to be used for educational purposes.">> data/DEBIAN/control
|
||||||
su -c "chown -R root:root data/*; dpkg -b data/ relational.deb; rm -rf data/"
|
su -c "chown -R root:root data/*; dpkg -b data/ relational.deb; rm -rf data/"
|
||||||
|
27
relational.1
Normal file
27
relational.1
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
.TH "Relational" "1"
|
||||||
|
.SH "NAME"
|
||||||
|
relational \(em .Python implementation of Relational algebra.
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
.PP
|
||||||
|
\fBrelational\fR [\-v\fR\fP]
|
||||||
|
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
.PP
|
||||||
|
Python implementation of Relational algebra. This program provides a GUI to execute relational algebra queries. It is meant to be used for educational purposes.
|
||||||
|
|
||||||
|
.SH "OPTIONS"
|
||||||
|
.PP
|
||||||
|
These programs follow the usual GNU command line syntax,
|
||||||
|
with long options starting with two dashes (`\-'). A summary of
|
||||||
|
options is included below. However, the ordering is very strict \-
|
||||||
|
.IP "\fB-v\fP
|
||||||
|
Show version information.
|
||||||
|
|
||||||
|
.SH "AUTHOR"
|
||||||
|
.PP
|
||||||
|
This manual page was written by Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> for
|
||||||
|
the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is
|
||||||
|
granted to copy, distribute and/or modify this document under
|
||||||
|
the terms of the GNU General Public License
|
||||||
|
version 3 or any later version published by the Free Software Foundation.
|
||||||
|
.\" created by instant / docbook-to-man, Fri 10 Oct 2008, 19:02
|
@ -24,7 +24,7 @@ import parser
|
|||||||
import relation
|
import relation
|
||||||
import maingui
|
import maingui
|
||||||
|
|
||||||
version="0.8"
|
version="0.7"
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if len (sys.argv) > 1 and sys.argv[1] == "-v":
|
if len (sys.argv) > 1 and sys.argv[1] == "-v":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user