From 4a1f3d676a5f59bacdb2b2ef3781114aa012b4c6 Mon Sep 17 00:00:00 2001 From: Ivan Frade Date: Tue, 23 Jun 2009 21:11:13 +0300 Subject: [PATCH] Add debian/ packaging This generates a debian packages (on desktop) that looks ok for the device --- debian/README.Debian | 6 ++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 17 +++++++++++++++++ debian/copyright | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ debian/dirs | 2 ++ debian/rules | 8 ++++++++ setup.py | 24 +++++++++++++++++++++++ 8 files changed, 115 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 setup.py diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..9138d21 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +mussorgsky for Debian +--------------------- + + + + -- Ivan Frade Tue, 23 Jun 2009 19:54:59 +0300 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..69009e4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +mussorgsky (0.1-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Ivan Frade Tue, 23 Jun 2009 19:54:59 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..637ffa9 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: mussorgsky +Section: python +Priority: extra +Maintainer: Ivan Frade +Build-Depends: cdbs, debhelper (>= 5), python-all-dev (>= 2.5), python-central (>= 0.5.6) +Standards-Version: 3.8.0 +Homepage: http://mussorgsky.garage.maemo.org +XS-Python-Version: current, >= 2.5 + +Package: mussorgsky +Architecture: all +Depends: ${python:Depends} +XB-Python-Version: current, >=2.5 +Description: Music Organizer, audio files metadata editor + Mussorgsky is a tool to set the basic metadata in the audio files + so the music collection management can be done completely on the + maemo device, without the help of a desktop computer. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9f5a783 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,52 @@ +This package was debianized by: + + Ivan Frade on Tue, 23 Jun 2009 19:54:59 +0300 + +It was downloaded from: + + + +Upstream Author(s): + + + + +Copyright: + + + + +License: + +### SELECT: ### + This package 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 2 of the License, or + (at your option) any later version. +### OR ### + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. +########## + + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is: + + Copyright C) 2009, Ivan Frade + +and is licensed under the GPL, see above. + + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4adc75b --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_PYTHON_SYSTEM = pycentral + +include /usr/share/cdbs/1/class/python-distutils.mk + diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..85dd66d --- /dev/null +++ b/setup.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python2.5 + +from distutils.core import setup + +import os + +SCRIPTS = ['src/album_art.py', + 'src/edit_panel.py', + 'src/mutagen_backend.py', + 'src/tracker_backend.py', + 'src/album_art_spec.py', + 'src/mussorgsky.py', + 'src/player_backend.py'] + +setup(name = 'mussorgsky', + version = '0.1', + description = 'Music metadata editor', + author = 'Ivan Frade', + author_email = '', + url = 'http://mussorgsky.garage.maemo.org', + license = 'GPL v2 or later', + #data_files = [('share/man/man1',['pyhello.1'])], + scripts = SCRIPTS + ) -- 1.7.9.5