From 4f395a4cde3bce3f18416eaa83ee9cc4265a6325 Mon Sep 17 00:00:00 2001 From: Kalle Vahlman Date: Tue, 12 Jun 2012 10:51:00 +0300 Subject: Proper debian packaging. Split CDAL into its own package, depend on the new loadercomm package and generally try not to be hackish. --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 32 ++++++++++++++++++++++++++++++++ debian/copyright | 32 ++++++++++++++++++++++++++++++++ debian/docs | 2 ++ debian/libcdal-dev.install | 1 + debian/libcdal1.install | 1 + debian/riff.install | 2 ++ debian/rules | 13 +++++++++++++ debian/source/format | 1 + 10 files changed, 91 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/libcdal-dev.install create mode 100644 debian/libcdal1.install create mode 100644 debian/riff.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0011f63 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +riff (0.5.1-igloo1) oneiric; urgency=low + + * Re-packaging of riff. + * Error message improvements + + -- Kalle Vahlman Tue, 12 Jun 2012 10:17:53 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..484b069 --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: riff +Section: devel +Priority: extra +Maintainer: Kalle Vahlman +Build-Depends: debhelper (>= 8.0.0), libloadercomm-dev +Standards-Version: 3.9.2 +Homepage: http://igloocommunity.org + +Package: libcdal-dev +Section: libdevel +Architecture: any +Depends: libcdal1 (= ${binary:Version}) +Description: Communication Device Abstraction Library headers + Communication Device Abstraction Library is a support library + for the riff flashing tool. + +Package: libcdal1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: riff (<= 0.4.2) +Replaces: riff (<= 0.4.2) +Description: Communication Device Abstraction Library library + Communication Device Abstraction Library is a support library + for the riff flashing tool. + +Package: riff +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libcdal1, libloadercomm1, riff-configpack (>= 0.4.4) +Description: Flashing tool for Snowball + A flashing tool initially developed for igloocommunity.org + and ST-E Snowball devices. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..05ded17 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: riff +Source: http://igloocommunity.org + +Files: * +Copyright: 2011 ST-Ericsson S.A. +License: BSD-3-Clause + +Copyright (c) 2011, ST-Ericsson S.A. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the ST-Ericsson S.A. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL ST-ERICSSON S.A. BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..4ddbd39 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README +README-WINDOWS diff --git a/debian/libcdal-dev.install b/debian/libcdal-dev.install new file mode 100644 index 0000000..5d2ce98 --- /dev/null +++ b/debian/libcdal-dev.install @@ -0,0 +1 @@ +CDAL/CDAL.h usr/include diff --git a/debian/libcdal1.install b/debian/libcdal1.install new file mode 100644 index 0000000..bf5c1b1 --- /dev/null +++ b/debian/libcdal1.install @@ -0,0 +1 @@ +usr/lib/libcdal.so diff --git a/debian/riff.install b/debian/riff.install new file mode 100644 index 0000000..5b7b9fd --- /dev/null +++ b/debian/riff.install @@ -0,0 +1,2 @@ +usr/bin/* +debian/tmp/usr/share/man/man1/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b760bee --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/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 $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3