--- haskell-language-c-0.3.1.1.orig/debian/compat +++ haskell-language-c-0.3.1.1/debian/compat @@ -0,0 +1 @@ +5 --- haskell-language-c-0.3.1.1.orig/debian/watch +++ haskell-language-c-0.3.1.1/debian/watch @@ -0,0 +1,5 @@ +version=3 +opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ +filenamemangle=s|(.*)/$|language-c-$1.tar.gz|" \ + http://hackage.haskell.org/packages/archive/language-c \ + ([\d\.]*\d)/ --- haskell-language-c-0.3.1.1.orig/debian/copyright +++ haskell-language-c-0.3.1.1/debian/copyright @@ -0,0 +1,45 @@ +This package was originally debianised by Erik de Castro Lopo + Sun, 19 Jul 2009. + +It was downloaded from the Haskell hackage repository at +http://hackage.haskell.org/cgi-bin/hackage-scripts/package/language-c + +Copyright: + + Copyright (c) 1999-2008 Manuel M T Chakravarty, Duncan Coutt + Benedikt Huber, Betram Felgenhauer + Portions Copyright (c) 1989, 1990 James A. Roskind + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following condition + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. 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. + 3. Neither the name of the author nor the names of his contributor + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 THE AUTHORS OR CONTRIBUTORS 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. + + + +Debian packaging copyright: + + (C) 2009 Erik de Castro Lopo + + All changes by Erik de Castro Lopo may be redistributed under the same + terms as haskell-language-c itself. --- haskell-language-c-0.3.1.1.orig/debian/rules +++ haskell-language-c-0.3.1.1/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +# Standard way of building Haskell libraries . +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/hlibrary.mk + --- haskell-language-c-0.3.1.1.orig/debian/control +++ haskell-language-c-0.3.1.1/debian/control @@ -0,0 +1,60 @@ +Source: haskell-language-c +Priority: extra +Section: haskell +Maintainer: Debian Haskell Group +Uploaders: Erik de Castro Lopo +Build-Depends: debhelper (>= 5.0.0) + , cdbs + , haskell-devscripts (>= 0.7) + , ghc6 + , ghc6-prof + , alex + , happy + , ghc6-doc +Standards-Version: 3.8.4 +Homepage: http://hackage.haskell.org/package/language-c +Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-language-c +Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-language-c + +Package: libghc6-language-c-dev +Architecture: any +Depends: ${haskell:Depends} + , ${misc:Depends} +Suggests: libghc6-language-c-doc (= ${source:Version}) +Provides: ${haskell:Provides} +Description: Haskell library for the analysis and generation of C code + . + Language C is a haskell library for the analysis and generation of C code. It + features a complete, well tested parser and pretty printer for all of C99 and + a large set of GNU extensions. + . + This package contains the libraries compiled for GHC 6. + +Package: libghc6-language-c-prof +Architecture: any +Depends: libghc6-language-c-dev (= ${binary:Version}) + , ${haskell:Depends} + , ${misc:Depends} +Suggests: haskell-language-c-doc (= ${source:Version}) +Provides: ${haskell:Provides} +Description: Profiling libraries for Haskell Library.C module + . + Language C is a haskell library for the analysis and generation of C code. It + features a complete, well tested parser and pretty printer for all of C99 and + a large set of GNU extensions. + . + This package contains the profiling libraries compiled for GHC 6. + +Package: libghc6-language-c-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Recommends: doc-base + , libghc6-network-doc +Description: Documentation for Haskell Library.C module + . + Language C is a haskell library for the analysis and generation of C code. It + features a complete, well tested parser and pretty printer for all of C99 and + a large set of GNU extensions. + . + This package contains the library documentation. --- haskell-language-c-0.3.1.1.orig/debian/changelog +++ haskell-language-c-0.3.1.1/debian/changelog @@ -0,0 +1,28 @@ +haskell-language-c (0.3.1.1-2) unstable; urgency=low + + * debian/control: Use more sintetic name for Vcs-Darcs. + * debian/control: Change Priority: to extra. + * debian/watch: Use format that works for --download-current-version. + * debian/watch: Add .tar.gz to downloaded filename. + * debian/watch: Include package name in downloaded .tar.gz. + * debian/watch: Remove spaces, since they're not allowed by uscan. + * debian/control: Add field Provides: ${haskell:Provides} to -dev and + -prof packages. + * debian/control: Use Vcs-Browser: field. + * debian/control: Use comma in the beginning of the line. + * debian/control: Remove dependency in hscolour, since it's now a + dependency of haskell-devscripts. + * debian/control: Remove haddock from Build-Depends:, since it's now a + Depends: of haskell-devscripts. + * debian/control: Bump Standards-Version: to 3.8.4, no changes needed. + * debian/control: Remove dpkg-dev and dctrl-tools from Build-Depends:. + * debian/control: Bump Build-Depends: on haskell-devscripts to 0.7 and + remove versioned Build-Depends on ghc6. + + -- Marco TĂșlio Gontijo e Silva Fri, 12 Feb 2010 22:53:46 -0200 + +haskell-language-c (0.3.1.1-1) unstable; urgency=low + + * Initial Debian package. Closes: #537514. + + -- Erik de Castro Lopo Sun, 19 Jul 2009 14:17:26 +1000