diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..68f7993 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +stcgal (0.1git) unstable; urgency=low + + * Initial Debianized Release + + -- Andrew 'Necromant' Andrianov Wed, 25 Nov 2015 13:07:03 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..41b0c63 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: stcgal +Section: unknown +Priority: optional +Maintainer: Andrew Andrianov +Build-Depends: debhelper (>= 9), python3, python3-setuptools +Standards-Version: 3.9.5 +XS-Python-Version: all +Homepage: https://github.com/grigorig/stcgal +#Vcs-Git: git://anonscm.debian.org/collab-maint/stcgal.git +#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/stcgal.git;a=summary + +Package: stcgal +Architecture: any +Depends: ${misc:Depends}, python3, python3-serial +XB-Python-Version: ${python3:Versions} +Description: OpenSource STC ISP tool + stcgal is a command line flash programming tool for STC MCU Ltd 8051 compatible microcontrollers. The name was inspired by avrdude diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d0fff55 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: stcgal +Source: + +Files: * +Copyright: + +License: GPL-3.0+ + +Files: debian/* +Copyright: 2015 Andrew 'Necromant' Andrianov +License: GPL-3.0+ + +License: GPL-3.0+ + 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 3 of the License, or + (at your option) any later version. + . + This package 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 program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..4dd3757 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.md +TODO.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..81af94e --- /dev/null +++ b/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PY_INTERPRETER = /usr/bin/python + +build: build-stamp +build-indep: build-stamp +build-arch: + @echo Nothing to build + +build-stamp: + dh_testdir + python3 setup.py build + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf build + -find . -name '*.py[co]' | xargs rm -f + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + python3 setup.py install --root=$(CURDIR)/debian/stcgal --install-layout=deb + dh_python3 + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure \ No newline at end of file diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)