Add debian files

This commit is contained in:
Baptiste Gelez 2019-02-09 01:22:50 +01:00
parent 8242cc7e0c
commit 948b72636d
6 changed files with 62 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,5 +1,4 @@
/target
**/*.rs.bk
.buildconfig
data.json
debian
data.json

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

17
debian/control vendored Normal file
View File

@ -0,0 +1,17 @@
Source: xyz.gelez.mobydick
Section: net
Maintainer: Elza Gelez <elza@gelez.xyz>
Build-Depends: rustc
desktop-file-utils,
appstream,
libgtk-3-dev (>= 3.10),
libssl-dev
Standards-Version: 3.9.5
Homepage: https://github.com/BaptisteGelez/mobydick
Package: xyz.gelez.mobydick
Architecture: any
Priority: optional
Depends: ${misc:Depends},
${shlibs:Depends}
Description: Download music from your Funkwhale instance.

21
debian/copyright vendored Normal file
View File

@ -0,0 +1,21 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
Copyright: 2019 Elza Gelez <elza@gelez.xyz>
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 <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

21
debian/rules vendored Normal file
View File

@ -0,0 +1,21 @@
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_clean:
cargo clean
override_dh_auto_build:
cargo build --release
override_dh_auto_install:
PREFIX=/usr ./install

1
debian/source/format vendored Normal file
View File

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