From e0ed4086f6677c019ae3b2a1fa20620cf40b67ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Thu, 30 Mar 2017 09:10:06 -0600 Subject: [PATCH] Added changelog and copyright files --- build-deb.sh | 11 +++++++++-- changelog.Debian | 7 +++++++ copyright | 27 +++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 changelog.Debian create mode 100644 copyright diff --git a/build-deb.sh b/build-deb.sh index 342156c..f15ccea 100644 --- a/build-deb.sh +++ b/build-deb.sh @@ -1,11 +1,18 @@ #!/bin/bash #please, run this script as root #make directories -mkdir -p debian/usr/lib/python3.4/dist-packages/guicurses +mkdir -p guicurses_0.5/usr/lib/python3/dist-packages/guicurses +mkdir -p guicurses_0.5/usr/share/doc/guicurses #copy files -cp guicurses/__init__.py guicurses/widgets.py guicurses/window.py guicurses_0.5/usr/lib/python3.4/dist-packages/guicurses +cp guicurses/__init__.py guicurses/widgets.py guicurses/window.py guicurses_0.5/usr/lib/python3/dist-packages/guicurses +cp copyright guicurses/usr/share/doc/guicurses +cp changelog.Debian guicurses_0.5/usr/share/doc/guicurses +gzip -9 guicurses_0.5/usr/share/doc/guicurses chown -R root.root guicurses_0.5 chmod -R 755 guicurses_0.5 chmod 644 guicurses_0.5/DEBIAN/control +chmod +x guicurses_0.5/usr/lib/python3/dist-packages/guicurses/__init__.py +chmod +x guicurses_0.5/usr/lib/python3/dist-packages/guicurses/widgets.py +chmod +x guicurses_0.5/usr/lib/python3/dist-packages/guicurses/window.py #build the package dpkg-deb --build guicurses_0.5 diff --git a/changelog.Debian b/changelog.Debian new file mode 100644 index 0000000..8cb953e --- /dev/null +++ b/changelog.Debian @@ -0,0 +1,7 @@ +guicurses (0.5-1) stable; urgency=low + + * First release + Closes: #1234567 + + -- MKSpeech Mon, 13 Jul 2015 18:50:00 +0530 + diff --git a/copyright b/copyright new file mode 100644 index 0000000..4c7fa5a --- /dev/null +++ b/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: guicurses 0.5 +Upstream-Contact: MKSpeech +Source: https://github.com/raspberrypi-accesible/guicurses/ +Copyright: 2017 MCC Technologies. All rights reserved. +License: GPL-2+ + License: GPL-2+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'.