diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 00000000..51bab1ce --- /dev/null +++ b/debian/TODO @@ -0,0 +1,14 @@ +To do for Mopidy's Debian packaging +=================================== + +- Install data/mopidy.desktop into /usr/share/applications/ +- Add manpages for all commands. Build the manpages with Sphinx +- Make init script run Mopidy as a daemon +- Make init script run Mopidy with it's own user +- Add support for reading settings from /etc/mopidy/settings.py +- Log to /var/log +- Cache files in /var/cache +- Package pyspotify and add it to Recommends +- Package pylast and add it to Recommends +- Create GPG key for signing the package +- Host the packages at PPA or apt.mopidy.com diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..a04f2e78 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +mopidy (0.2.0-1) unstable; urgency=low + + * Initial release + + -- Stein Magnus Jodal Sun, 31 Oct 2010 13:07:04 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..c2755717 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: mopidy +Section: sound +Priority: optional +Maintainer: Stein Magnus Jodal +Build-Depends: debhelper (>= 7.0.50~), python-support, python (>= 2.6), + python-sphinx (>= 1.0), python-pygraphviz +Standards-Version: 3.9.1 +Homepage: http://www.mopidy.com/ +Vcs-Git: git://github.com/jodal/mopidy.git +Vcs-Browser: http://github.com/jodal/mopidy + +Package: mopidy +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-gst0.10 +Recommends: gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly +Suggests: python-alsaaudio (>= 0.2), python-serial +Description: music server with MPD client support + Mopidy is a music server which can play music from Spotify or from your + local hard drive. To search for music in Spotify’s vast archive, manage + playlists, and play music, you can use most MPD clients. MPD clients are + available for most platforms, including Windows, Mac OS X, Linux, and + iPhone and Android phones. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..c29416d6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +This work was packaged for Debian by: + + Stein Magnus Jodal on Sun, 31 Oct 2010 09:50:28 +0100 + +It was downloaded from: + + http://pypi.python.org/packages/source/M/Mopidy/Mopidy-0.2.0.tar.gz + +Upstream Author(s): + + Stein Magnus Jodal + +Copyright: + + Copyright 2009-2010 Stein Magnus Jodal and contributors + +License: + + 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". + +The Debian packaging is: + + Copyright 2010 Stein Magnus Jodal + +and is licensed under the Apache License, Version 2.0, see above. diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..a4b46448 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.rst +docs/_build/html/ diff --git a/debian/menu b/debian/menu new file mode 100644 index 00000000..6376a81e --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(mopidy):needs="text" section="Applications/Sound"\ + title="Mopidy" command="/usr/bin/mopidy" diff --git a/debian/pyversions b/debian/pyversions new file mode 100644 index 00000000..0c043f18 --- /dev/null +++ b/debian/pyversions @@ -0,0 +1 @@ +2.6- diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..926a81b1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# -*- 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_clean: + make -C docs/ clean + dh_clean + +override_dh_installchangelogs: + dh_installchangelogs docs/changes.rst + +override_dh_installdocs: + make -C docs/ clean html + dh_installdocs + +.PHONY: override_dh_clean override_dh_installchangelogs \ + override_dh_installdocs override_dh_installinit diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..3d4d3a41 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/M/Mopidy/Mopidy-(.*)\.tar\.gz diff --git a/docs/development/roadmap.rst b/docs/development/roadmap.rst index c88ecdf0..2b0cf2ba 100644 --- a/docs/development/roadmap.rst +++ b/docs/development/roadmap.rst @@ -47,10 +47,10 @@ Stuff we want to do, but not right now, and maybe never recipies for all our dependencies and Mopidy itself to make OS X installation a breeze. See `Homebrew's issue #1612 `_. - - Create `Debian packages `_ of all - our dependencies and Mopidy itself (hosted in our own Debian repo until we - get stuff into the various distros) to make Debian/Ubuntu installation a - breeze. + - **[WIP]** Create `Debian packages + `_ of all our dependencies and + Mopidy itself (hosted in our own Debian repo until we get stuff into the + various distros) to make Debian/Ubuntu installation a breeze. - Compatability: