Add debian directory for packaging

The debian directory is required to compile packages
for Debian based Linux distributions.
This commit adds it in the 'packaging' top-level directory.
Build scripts for other distributions can also be added there.
This commit is contained in:
Christoph Korn 2013-09-17 21:13:24 +02:00
parent 35c7e6d6b5
commit 2f48d8c8ba
7 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,5 @@
speedtest-cli (0.2-1~getdeb1) precise; urgency=low
* Initial release
-- Christoph Korn <christoph.korn@getdeb.net> Tue, 17 Sep 2013 20:56:23 +0200

1
packaging/debian/compat Normal file
View File

@ -0,0 +1 @@
9

21
packaging/debian/control Normal file
View File

@ -0,0 +1,21 @@
Source: speedtest-cli
Section: python
Priority: optional
Maintainer: Christoph Korn <christoph.korn@getdeb.net>
Build-Depends: debhelper (>= 9),
python-setuptools (>= 0.6b3),
python-all (>= 2.6.6-3),
Standards-Version: 3.9.4
Homepage: https://github.com/sivel/speedtest-cli
Vcs-Git: https://github.com/sivel/speedtest-cli.git
Vcs-Browser: https://github.com/sivel/speedtest-cli
Package: python-speedtest-cli
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
${python:Depends}
Provides: ${python:Provides}
X-Python-Version: ${python:Versions}
Description: Tests internet bandwidth using speedtest.net (CLI)
Command line interface for testing internet bandwidth using speedtest.net

View File

@ -0,0 +1,27 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: speedtest-cli
Source: https://github.com/sivel/speedtest-cli
Files: *
Copyright: 2013 Matt Martz
License: Apache-2.0
Files: debian/*
Copyright: 2013 Christoph Korn <christoph.korn@getdeb.net>
License: Apache-2.0
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".

9
packaging/debian/rules Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.6.0+git at
# Tue, 17 Sep 2013 19:04:21 +0000
%:
dh $@ --with python2 --buildsystem=python_distutils

View File

@ -0,0 +1 @@
3.0 (quilt)

3
packaging/debian/watch Normal file
View File

@ -0,0 +1,3 @@
version=3
https://github.com/sivel/speedtest-cli/tags \
(?:.*/)?archive/v([\d\.]+)\.tar\.(?:gz|bz2|xz)