Debian packaging v0.0.1
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 3 Nov 2009 09:43:02 +0000 (10:43 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 3 Nov 2009 14:04:14 +0000 (15:04 +0100)
debian/changelog [new file with mode: 0644]
debian/cinaest-plugin-imdb.install [new file with mode: 0644]
debian/cinaest.install [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..cffd980
--- /dev/null
@@ -0,0 +1,5 @@
+cinaest (0.0.1-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Philipp Zabel <philipp.zabel@gmail.com>  Thu, 22 Oct 2009 16:22:53 +0200
diff --git a/debian/cinaest-plugin-imdb.install b/debian/cinaest-plugin-imdb.install
new file mode 100644 (file)
index 0000000..8b418ea
--- /dev/null
@@ -0,0 +1,4 @@
+usr/share/dbus-1/services/org.maemo.garage.cinaest.IMDb.service
+usr/lib/cinaest/libimdb-plugin.so*
+usr/libexec/imdb-plaintext-downloader
+
diff --git a/debian/cinaest.install b/debian/cinaest.install
new file mode 100644 (file)
index 0000000..bcb78f1
--- /dev/null
@@ -0,0 +1,3 @@
+usr/bin/cinaest
+usr/share/dbus-1/services/org.maemo.garage.cinaest.service
+usr/share/applications/hildon/cinaest.desktop
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..01a5ed6
--- /dev/null
@@ -0,0 +1,22 @@
+Source: cinaest
+Section: user/media
+Priority: extra
+Maintainer: Philipp Zabel <philipp.zabel@gmail.com>
+Build-Depends: vala (>= 0.7.7-maemo1), debhelper (>= 4), libhildon1-dev (>= 2.2.0), libosso-dev (>= 2.20), osso-af-settings (>= 0.9.2), libdbus-glib-1-dev (>= 0.78), libdbus-1-dev (>= 1.2.14), libsqlite3-dev (>= 3.6.14), zlib1g-dev (>= 1.2.3)
+Standards-Version: 4
+
+Package: cinaest
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Look up movies and manage your own catalog
+  A movie database frontend to look up, browse and rate movies.
+  It can use different source plugins, including an offline copy
+  of the IMDb, a personal movie catalog, or a list of movies
+  obtained from a local tracker search.
+
+Package: cinaest-plugin-imdb
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Look up movies on IMDb
+  This Cinaest plugin can look up movies in an offline copy of
+  the Internet Movie Database (IMDb).
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..ecfe7a3
--- /dev/null
@@ -0,0 +1,82 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+export DH_COMPAT=4
+export DH_OPTIONS
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_ARCH   ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+                --prefix=/usr --libexecdir=/usr/libexec
+
+build: build-stamp
+
+build-stamp: config.status
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) clean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/tmp
+       $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+       dh_testdir
+       dh_testroot
+       dh_install --sourcedir=debian/tmp
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-arch binary-indep binary install configure