Add debian/ packaging
authorIvan Frade <ivan.frade@gmail.com>
Tue, 23 Jun 2009 18:11:13 +0000 (21:11 +0300)
committerIvan Frade <ivan.frade@gmail.com>
Tue, 23 Jun 2009 18:11:13 +0000 (21:11 +0300)
This generates a debian packages (on desktop) that looks ok
for the device

debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
setup.py [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..9138d21
--- /dev/null
@@ -0,0 +1,6 @@
+mussorgsky for Debian
+---------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Ivan Frade <ivan.frade@gmail.com>  Tue, 23 Jun 2009 19:54:59 +0300
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..69009e4
--- /dev/null
@@ -0,0 +1,5 @@
+mussorgsky (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Ivan Frade <ivan.frade@gmail.com>  Tue, 23 Jun 2009 19:54:59 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..637ffa9
--- /dev/null
@@ -0,0 +1,17 @@
+Source: mussorgsky
+Section: python
+Priority: extra
+Maintainer: Ivan Frade <ivan.frade@gmail.com>
+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 (file)
index 0000000..9f5a783
--- /dev/null
@@ -0,0 +1,52 @@
+This package was debianized by:
+
+    Ivan Frade <ivan.frade@gmail.com> on Tue, 23 Jun 2009 19:54:59 +0300
+
+It was downloaded from:
+
+    <url://example.com>
+
+Upstream Author(s):
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright:
+
+    <Copyright (C) YYYY Firtname Lastname>
+    <likewise for another author>
+
+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 <ivan.frade@gmail.com>
+
+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 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..4adc75b
--- /dev/null
@@ -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 (file)
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 = '<ivan.frade@gmail.com>',
+      url          = 'http://mussorgsky.garage.maemo.org',
+      license      = 'GPL v2 or later',
+      #data_files   = [('share/man/man1',['pyhello.1'])],
+      scripts      = SCRIPTS
+      )