Add Debian packaging support
This commit is contained in:
parent
a34532171e
commit
5442fc2463
14
debian/TODO
vendored
Normal file
14
debian/TODO
vendored
Normal file
@ -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
|
||||
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
mopidy (0.2.0-1) unstable; urgency=low
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Stein Magnus Jodal <stein.magnus@jodal.no> Sun, 31 Oct 2010 13:07:04 +0100
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
7
|
||||
22
debian/control
vendored
Normal file
22
debian/control
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
Source: mopidy
|
||||
Section: sound
|
||||
Priority: optional
|
||||
Maintainer: Stein Magnus Jodal <stein.magnus@jodal.no>
|
||||
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.
|
||||
38
debian/copyright
vendored
Normal file
38
debian/copyright
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
This work was packaged for Debian by:
|
||||
|
||||
Stein Magnus Jodal <stein.magnus@jodal.no> 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 <stein.magnus@jodal.no>
|
||||
|
||||
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 <stein.magnus@jodal.no>
|
||||
|
||||
and is licensed under the Apache License, Version 2.0, see above.
|
||||
2
debian/docs
vendored
Normal file
2
debian/docs
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
README.rst
|
||||
docs/_build/html/
|
||||
2
debian/menu
vendored
Normal file
2
debian/menu
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
?package(mopidy):needs="text" section="Applications/Sound"\
|
||||
title="Mopidy" command="/usr/bin/mopidy"
|
||||
1
debian/pyversions
vendored
Normal file
1
debian/pyversions
vendored
Normal file
@ -0,0 +1 @@
|
||||
2.6-
|
||||
27
debian/rules
vendored
Executable file
27
debian/rules
vendored
Executable file
@ -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
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
version=3
|
||||
http://pypi.python.org/packages/source/M/Mopidy/Mopidy-(.*)\.tar\.gz
|
||||
@ -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
|
||||
<http://github.com/mxcl/homebrew/issues/issue/1612>`_.
|
||||
- Create `Debian packages <http://www.debian.org/doc/maint-guide/>`_ 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
|
||||
<http://www.debian.org/doc/maint-guide/>`_ 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:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user