adddir ./debian addfile ./debian/changelog addfile ./debian/compat addfile ./debian/control addfile ./debian/copyright addfile ./debian/libghc6-colour-doc.postinst addfile ./debian/libghc6-colour-doc.postrm addfile ./debian/rules hunk ./debian/changelog 1 +haskell-colour (1.0.0) unstable; urgency=low + + * Debianization generated by cabal-debian + + -- Mon, 03 Nov 2008 15:33:19 -0800 + hunk ./debian/compat 1 +5 hunk ./debian/control 1 +Source: haskell-colour +Priority: optional +Section: misc +Maintainer: +Build-Depends: debhelper (>= 5.0), + haskell-devscripts-cdbs, + cabal-debian (>= 0.7), + ghc6 (>= 6.8), + ghc6-doc, + haddock, + ghc6-prof +Standards-Version: 3.7.2.2 + +Package: libghc6-colour-dev +Architecture: any +Section: libdevel +Depends: ${haskell:Depends} +Description: A model for human colour/color perception + This package provides a data type for colours and transparency. + Colours can be blended and composed. + sRGB colour space is supported ("Data.Colour.SRGB"). + A module of colour names ("Data.Colour.Names") is provided. + . + Author: Russell O'Connor + Upstream-Maintainer: Russell O'Connor + . + This package contains the normal library files. + +Package: libghc6-colour-prof +Architecture: any +Section: libdevel +Depends: ${haskell:Depends} +Description: A model for human colour/color perception + This package provides a data type for colours and transparency. + Colours can be blended and composed. + sRGB colour space is supported ("Data.Colour.SRGB"). + A module of colour names ("Data.Colour.Names") is provided. + . + Author: Russell O'Connor + Upstream-Maintainer: Russell O'Connor + . + This package contains the libraries compiled with profiling enabled. + +Package: libghc6-colour-doc +Architecture: any +Section: libdevel +Depends: ${haskell:Depends} +Description: A model for human colour/color perception + This package provides a data type for colours and transparency. + Colours can be blended and composed. + sRGB colour space is supported ("Data.Colour.SRGB"). + A module of colour names ("Data.Colour.Names") is provided. + . + Author: Russell O'Connor + Upstream-Maintainer: Russell O'Connor + . + This package contains the documentation files. hunk ./debian/copyright 1 +Copyright (c) 2008 +Russell O'Connor + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. hunk ./debian/libghc6-colour-doc.postinst 1 +#! /bin/sh +# Generic doc postinst script for Haskell cabal libraries v9 by Ian Lynagh. +# +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + cd /usr/share/doc/ghc6-doc/libraries + /usr/lib/ghc6-doc/gen_contents_index + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 hunk ./debian/libghc6-colour-doc.postrm 1 +#! /bin/sh +# Generic doc postrm script for Haskell cabal libraries v9 by Ian Lynagh. + +set -e + +DIR=/usr/share/doc/ghc6-doc/libraries +GEN=/usr/lib/ghc6-doc/gen_contents_index + +case "$1" in + *) + [ -d $DIR ] && [ -e $GEN ] && cd $DIR && $GEN + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + hunk ./debian/rules 1 +#!/usr/bin/make -f +include /usr/share/haskell-devscripts/hlibrary.mk + +# How to install an extra file into the documentation package +#binary-fixup/libghc6-colour-doc:: +# echo "Some informative text" > debian/libghc6-colour-doc/usr/share/doc/libghc6-colour-doc/AnExtraDocFile