Added debian packages
authoretrunko <eblima@gmail.com>
Tue, 11 Dec 2007 05:53:03 +0000 (05:53 +0000)
committeretrunko <eblima@gmail.com>
Tue, 11 Dec 2007 05:53:03 +0000 (05:53 +0000)
16 files changed:
packages/lightmediascanner/debian/changelog [new file with mode: 0644]
packages/lightmediascanner/debian/compat [new file with mode: 0644]
packages/lightmediascanner/debian/control [new file with mode: 0644]
packages/lightmediascanner/debian/copyright [new file with mode: 0644]
packages/lightmediascanner/debian/liblightmediascanner0-dev.install [new file with mode: 0644]
packages/lightmediascanner/debian/liblightmediascanner0.install [new file with mode: 0644]
packages/lightmediascanner/debian/lightmediascanner0-id3lib.install [new file with mode: 0644]
packages/lightmediascanner/debian/lightmediascanner0-jpeg.install [new file with mode: 0644]
packages/lightmediascanner/debian/lightmediascanner0-playlists.install [new file with mode: 0644]
packages/lightmediascanner/debian/lightmediascanner0-video-dummy.install [new file with mode: 0644]
packages/lightmediascanner/debian/rules [new file with mode: 0755]
packages/python-lightmediascanner/debian/changelog [new file with mode: 0644]
packages/python-lightmediascanner/debian/compat [new file with mode: 0644]
packages/python-lightmediascanner/debian/control [new file with mode: 0644]
packages/python-lightmediascanner/debian/copyright [new file with mode: 0644]
packages/python-lightmediascanner/debian/rules [new file with mode: 0755]

diff --git a/packages/lightmediascanner/debian/changelog b/packages/lightmediascanner/debian/changelog
new file mode 100644 (file)
index 0000000..10d0dad
--- /dev/null
@@ -0,0 +1,7 @@
+lightmediascanner (0.1.0-maemo.1) unstable; urgency=low
+
+  * Initial release
+
+ -- Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br>  Tue, 11 Dec 2007 01:51:37 -0200
+
+
diff --git a/packages/lightmediascanner/debian/compat b/packages/lightmediascanner/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/packages/lightmediascanner/debian/control b/packages/lightmediascanner/debian/control
new file mode 100644 (file)
index 0000000..b33fcbc
--- /dev/null
@@ -0,0 +1,118 @@
+Source: lightmediascanner
+Priority: optional
+Maintainer: Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+Build-Depends: debhelper, cdbs, libid3-3.8.3-dev, sqlite3, libsqlite3-dev
+Standards-Version: 3.6.1
+
+Package: liblightmediascanner0
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, libsqlite3-0
+Provides: liblightmediascanner
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This package contains the lightmediascanner library.
+ .
+ Homepage: http://lms.garage.maemo.org
+
+Package: lightmediascanner0-id3lib
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, liblightmediascanner0, libid3-3.8.3
+Provides: lightmediascanner-id3lib
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This package contains id3lib scanner.
+ .
+ Homepage: http://lms.garage.maemo.org
+
+Package: lightmediascanner0-jpeg
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, liblightmediascanner0
+Provides: lightmediascanner-jpeg
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This package contains the jpeg scanner.
+ .
+ Homepage: http://lms.garage.maemo.org
+
+
+Package: lightmediascanner0-playlists
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, liblightmediascanner0
+Provides: lightmediascanner-playlists
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This package contains the playlists scanners.
+ .
+ Homepage: http://lms.garage.maemo.org
+
+Package: lightmediascanner0-video-dummy
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, liblightmediascanner0
+Provides: lightmediascanner-video-dummy
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This package contains the dummy video scanner.
+ .
+ Homepage: http://lms.garage.maemo.org
+
+Package: lightmediascanner0-plugins
+Section: libs
+Priority: optional
+Architecture: any
+Depends: lightmediascanner-id3lib, lightmediascanner-jpeg, lightmediascanner-playlists, lightmediascanner-video-dummy
+Provides: lightmediascanner-plugins
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This is a metapackage for all scanners.
+ .
+ Homepage: http://lms.garage.maemo.org
+
+Package: liblightmediascanner0-dev
+Section: libdevel
+Priority: optional
+Architecture: any
+Depends: liblightmediascanner, lightmediascanner-plugins
+Provides: liblightmediascanner-dev
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This package contains the lightmediascanner library.
+ .
+ Homepage: http://lms.garage.maemo.org
diff --git a/packages/lightmediascanner/debian/copyright b/packages/lightmediascanner/debian/copyright
new file mode 100644 (file)
index 0000000..11c0de6
--- /dev/null
@@ -0,0 +1,27 @@
+This package was debianized by Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br>
+on Tue, 11 Dec 2007 02:45:40 -0200.
+
+The source is downloaded from the light media scanner maemo garage SVN tree.
+For more information, see:
+
+  http://lms.garage.maemo.org
+
+Upstream Authors: Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+
+Copyright:
+
+Copyright (C) 2007 by INdT - Instituto Nokia de Tecnologia
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program 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 Lesser General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git a/packages/lightmediascanner/debian/liblightmediascanner0-dev.install b/packages/lightmediascanner/debian/liblightmediascanner0-dev.install
new file mode 100644 (file)
index 0000000..8d38467
--- /dev/null
@@ -0,0 +1,9 @@
+debian/tmp/usr/include/*.h
+debian/tmp/usr/lib/liblightmediascanner*.a
+debian/tmp/usr/lib/liblightmediascanner*.la
+debian/tmp/usr/lib/liblightmediascanner*.so
+debian/tmp/usr/lib/lightmediascanner/plugins/*.a
+debian/tmp/usr/lib/lightmediascanner/plugins/*.la
+debian/tmp/usr/lib/lightmediascanner/plugins/dummy.so
+debian/tmp/usr/lib/pkgconfig/*
+
diff --git a/packages/lightmediascanner/debian/liblightmediascanner0.install b/packages/lightmediascanner/debian/liblightmediascanner0.install
new file mode 100644 (file)
index 0000000..3e90515
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/liblightmediascanner.so.*
diff --git a/packages/lightmediascanner/debian/lightmediascanner0-id3lib.install b/packages/lightmediascanner/debian/lightmediascanner0-id3lib.install
new file mode 100644 (file)
index 0000000..e092e62
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lightmediascanner/plugins/id3lib.so
diff --git a/packages/lightmediascanner/debian/lightmediascanner0-jpeg.install b/packages/lightmediascanner/debian/lightmediascanner0-jpeg.install
new file mode 100644 (file)
index 0000000..8c4ace8
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lightmediascanner/plugins/jpeg.so
diff --git a/packages/lightmediascanner/debian/lightmediascanner0-playlists.install b/packages/lightmediascanner/debian/lightmediascanner0-playlists.install
new file mode 100644 (file)
index 0000000..8a2ac7c
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/lightmediascanner/plugins/m3u.so
+debian/tmp/usr/lib/lightmediascanner/plugins/pls.so
diff --git a/packages/lightmediascanner/debian/lightmediascanner0-video-dummy.install b/packages/lightmediascanner/debian/lightmediascanner0-video-dummy.install
new file mode 100644 (file)
index 0000000..139e0de
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lightmediascanner/plugins/video-dummy.so
diff --git a/packages/lightmediascanner/debian/rules b/packages/lightmediascanner/debian/rules
new file mode 100755 (executable)
index 0000000..ab90216
--- /dev/null
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_BUILD_ARCH  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
+    CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
+    ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s
+    endif
+    ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS)))
+         CFLAGS += -mcpu=arm926ej-s
+    endif
+endif
+
diff --git a/packages/python-lightmediascanner/debian/changelog b/packages/python-lightmediascanner/debian/changelog
new file mode 100644 (file)
index 0000000..c0fb072
--- /dev/null
@@ -0,0 +1,6 @@
+python-lightmediascanner (0.1.0-maemo.1) unstable; urgency=low
+
+  * Initial release
+
+ -- Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br>  Tue, 11 Dec 2007 01:51:37 -0200
+
diff --git a/packages/python-lightmediascanner/debian/compat b/packages/python-lightmediascanner/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/packages/python-lightmediascanner/debian/control b/packages/python-lightmediascanner/debian/control
new file mode 100644 (file)
index 0000000..5f6eb72
--- /dev/null
@@ -0,0 +1,20 @@
+Source: python-lightmediascanner
+Priority: optional
+Maintainer: Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+Build-Depends: debhelper, cdbs, liblightmediascanner-dev, python2.5-dev, python2.5-pyrex, python2.5-cython-dev
+Standards-Version: 3.6.1
+
+Package: python2.5-lightmediascanner
+Section: python
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, python2.5, liblightmediascanner0
+Description: Lightweight library to scan media.
+ Light Media Scanner scans media, parsing and storing data in
+ a SQLite3 database. Provides safe execution by executing the
+ parsers in another process, that will be monitored and killed
+ if it takes more time than allowed.
+ .
+ This package contains the python bindings for lightmediascanner.
+ .
+ Homepage: http://lms.garage.maemo.org
diff --git a/packages/python-lightmediascanner/debian/copyright b/packages/python-lightmediascanner/debian/copyright
new file mode 100644 (file)
index 0000000..606857b
--- /dev/null
@@ -0,0 +1,27 @@
+This package was debianized by Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br>
+on Tue, 11 Dec 2007 02:45:40 -0200.
+
+The source is downloaded from the light media scanner maemo garage SVN tree.
+For more information, see:
+
+  http://lms.garage.maemo.org
+
+Upstream Authors: Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+
+Copyright:
+
+Copyright (C) 2007 INdT - Instituto Nokia de Tecnologia
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program 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 Lesser General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git a/packages/python-lightmediascanner/debian/rules b/packages/python-lightmediascanner/debian/rules
new file mode 100755 (executable)
index 0000000..123917c
--- /dev/null
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+
+PYVER=2.5
+PYTHON=python$(PYVER)
+
+p_base=$(PYTHON)-lightmediascanner
+d_base=debian/$(p_base)
+
+DEB_BUILD_ARCH  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
+    CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
+    ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s
+    endif
+    ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS)))
+         CFLAGS += -mcpu=arm926ej-s
+    endif
+endif
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+       touch lightmediascanner/lightmediascanner.*.pyx
+       CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build_ext build install --prefix /usr install_headers
+       touch build-stamp
+clean:
+       dh_testdir
+       dh_testroot
+       $(PYTHON) setup.py clean
+       -rm -f build-stamp
+       -rm -rf build dist python_lightmediascanner.egg-info
+       -rm -f lightmediascanner/*.py[co]
+       -rm -f *.py[co]
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_installdirs
+
+       $(PYTHON) setup.py install --root=$(d_base)
+
+binary: binary-indep binary-arch
+binary-indep: install
+binary-arch: install
+       dh_testdir
+       dh_testroot
+       dh_strip
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+.PHONY: build install clean binary binary-indep binary-arch