diff --git a/.gitignore b/.gitignore index 0b52ae8..c4722b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /target **/*.rs.bk .buildconfig -data.json -debian \ No newline at end of file +data.json \ No newline at end of file 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..bec555a --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: xyz.gelez.mobydick +Section: net +Maintainer: Elza Gelez +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..41ec054 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,21 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2019 Elza Gelez + +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". diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..084463e --- /dev/null +++ b/debian/rules @@ -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 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)