Added changelog and copyright files

This commit is contained in:
Manuel Cortez 2017-03-30 09:10:06 -06:00
parent 06d0605ffd
commit e0ed4086f6
3 changed files with 43 additions and 2 deletions

View File

@ -1,11 +1,18 @@
#!/bin/bash #!/bin/bash
#please, run this script as root #please, run this script as root
#make directories #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 #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 chown -R root.root guicurses_0.5
chmod -R 755 guicurses_0.5 chmod -R 755 guicurses_0.5
chmod 644 guicurses_0.5/DEBIAN/control 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 #build the package
dpkg-deb --build guicurses_0.5 dpkg-deb --build guicurses_0.5

7
changelog.Debian Normal file
View File

@ -0,0 +1,7 @@
guicurses (0.5-1) stable; urgency=low
* First release
Closes: #1234567
-- MKSpeech <support@mkspeech.com> Mon, 13 Jul 2015 18:50:00 +0530

27
copyright Normal file
View File

@ -0,0 +1,27 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: guicurses 0.5
Upstream-Contact: MKSpeech <support@mkspeech.com>
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'.