debian/0000755000000000000000000000000012245015104007160 5ustar debian/rules0000755000000000000000000000373512245015017010253 0ustar #!/usr/bin/make -f INSTALL = install INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 package=cabal-debian clean: $(checkdir) rm -f debian/$(package).setup rm -f debian/files debian/substvars build-arch stamp-* rm -rf dist debian/$(package) debian/$(package).setup: ghc Setup.hs -o $@ build: build-arch build-indep build-indep: build-arch: stamp-configure $(checkdir) debian/$(package).setup build touch $@ stamp-configure: debian/$(package).setup $(checkdir) debian/$(package).setup configure --prefix=/usr touch stamp-configure binary: binary-arch binary-indep: checkroot build binary-arch: checkroot build $(checkdir) debian/$(package).setup copy --destdir=$(CURDIR)/debian/$(package) rm -rf debian/$(package)/usr/share/doc/$(package)-* cd debian/$(package) && $(INSTALL_DIR) \ usr/bin \ usr/share/doc/$(package) \ usr/share/man/man1 \ DEBIAN $(INSTALL_FILE) cabal-debian.1 debian/$(package)/usr/share/man/man1 gzip -9f debian/$(package)/usr/share/man/man1/cabal-debian.1 $(INSTALL_FILE) debian/copyright debian/$(package)/usr/share/doc/$(package)/copyright $(INSTALL_FILE) debian/changelog debian/$(package)/usr/share/doc/$(package)/changelog.Debian gzip -9f debian/$(package)/usr/share/doc/$(package)/changelog.Debian dpkg-shlibdeps -Tdebian/substvars -dDepends debian/$(package)/usr/bin/* dpkg-gencontrol -ldebian/changelog -isp -p$(package) -Tdebian/substvars -Pdebian/$(package) cd debian/$(package) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums chown -R root:root debian/$(package) chmod -R go=rX debian/$(package) dpkg --build debian/$(package) .. define checkdir test -f debian/rules endef checkroot: $(checkdir) test root = "`whoami`" .PHONY: binary binary-arch binary-indep build build-indep clean checkroot debian/control0000644000000000000000000000254512245015104010571 0ustar Source: cabal-debian Priority: extra Section: haskell Maintainer: Debian Haskell Group Uploaders: Clint Adams Build-Depends: debhelper (>= 9) , haskell-devscripts (>= 0.8.13) , ghc , ghc-prof , libghc-ansi-wl-pprint-dev , libghc-ansi-wl-pprint-prof , libghc-data-lens-dev , libghc-data-lens-prof , libghc-debian-dev (>> 3.71) , libghc-debian-prof , libghc-diff-dev , libghc-diff-prof , libghc-hsemail-dev , libghc-hsemail-prof , libghc-hunit-dev , libghc-hunit-prof , libghc-mtl-dev , libghc-mtl-prof , libghc-parsec3-dev , libghc-parsec3-prof , libghc-puremd5-dev , libghc-puremd5-prof , libghc-regex-tdfa-dev , libghc-regex-tdfa-prof , libghc-syb-dev , libghc-syb-prof , libghc-text-dev , libghc-text-prof , libghc-utf8-string-dev , libghc-utf8-string-prof Standards-Version: 3.9.5 Homepage: http://src.seereason.com/cabal-debian Package: cabal-debian Architecture: any Section: utils Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends} Recommends: apt-file Conflicts: haskell-debian-utils (<< 3.59) Description: Create a debianization for a cabal package Tool for creating debianizations of Haskell packages based on the .cabal file. If apt-file is installed it will use it to discover what is the debian package name of a C library. debian/copyright0000644000000000000000000000337312245015016011123 0ustar This package was debianized by David Fox on September 18, 2007. The packageing was adjusted to Debian conventions by Joachim Breitner on Sat, 01 May 2010 21:16:18 +0200, and is licenced under the same terms as the package itself.. Copyright (c) 2007, David Fox Copyright (c) 2007, Jeremy Shaw 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. * The names of contributors may not 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 THE COPYRIGHT OWNER 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/patches/0000755000000000000000000000000012245015017010612 5ustar debian/patches/series0000644000000000000000000000001612245015017012024 0ustar man-page.diff debian/patches/man-page.diff0000644000000000000000000000450412245015017013134 0ustar --- /dev/null +++ b/cabal-debian.1 @@ -0,0 +1,120 @@ +.\"Original page generated by txt2man and then hacked extensively. +.TH CABAL-DEBIAN 1 "May 10, 2010" + +.SH NAME +cabal-debian \- create Debian package meta data from a Haskell cabal file. + +.SH SYNOPSIS +.B cabal-debian +.RI [flags] + +.SH DESCRIPTION +cabal-debian will generated the Debian meta data for a Debian package from the +cabal file of a Haskell package. The program expects to find the package's +.cabal file in the directory from which it was run. + +.TP +.B +\fB--prefix=PATH\fP +Pass this prefix if we need to configure the package + +.TP +.B +\fB--ghc\fP +Compile with GHC. + +.TP +.B +\fB--hugs\fP +Compile with HUGS. + +.TP +.B +\fB--jhc\fP +Compile with JHC. + +.TP +.B +\fB--nhc\fP +Compile with NHC. + +.TP +.B +\fB-h, -?, \-\-help\fP +Show this help text. + +.TP +.B +\fB--name\fP=NAME +Override the default package name. +.TP +.B +\fB--disable-haddock\fP +Don't generate API docs. +.TP +.B +\fB--disable-library-profiling\fP +Don't generate profiling libraries. +.TP +.B +\fB--disable-optimization\fP +Don't generate optimised code. + +.TP +.B +\fB--disable-split-objs\fP +Don't split object files to save space. + +.TP +.B +\fB-f\fP FLAGS, \fB--flags\fP=FLAGS +Set given flags in Cabal conditionals. + +.TP +.B +\fB--release\fP=RELEASE +Override the default package release. + +.TP +.B +\fB--debdir\fP=DEBDIR +Override the default output directory ("./debian"). + +.TP +.B +\fB-v n,q \fB--verbose=n\fP +Change build verbosity. + +.TP +.B +\fB--version\fP=VERSION +Override the default package version. + +.TP +.B +\fB--maintainer\fP=Maintainer Name +Override the Maintainer name and email in $DEBEMAIL/$EMAIL/$DEBFULLNAME/$FULLNAME. + +.TP +.B +\fB--debianize\fP +Generate a new debianization, replacing any existing one. One of +\fB--debianize\fP, \fB--substvar\fP, or \fB--update-debianization\fP is +required. + +.TP +.B +\fB--substvar\fP=Doc, Prof, or Dev +Write out the list of dependencies required for the dev, prof or doc package +depending on the argument. This value can be added to the appropriate substvars +file. + +.TP +.B +\fB--update-debianization\fP +Update an existing debianization. + +.SH AUTHOR +This manual page was originally written by Erik de Castro Lopo + for the Debian GNU/Linux system (but may be used by +others). debian/changelog0000644000000000000000000000211212245015030011024 0ustar cabal-debian (3.9-1) unstable; urgency=low [ Joachim Breitner ] * Adjust watch file to new hackage layout [ Clint Adams ] * New upstream version. -- Clint Adams Mon, 25 Nov 2013 22:48:34 -0500 cabal-debian (3.7-1) unstable; urgency=low [ Joachim Breitner ] * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change * Enable compat level 9 [ Clint Adams ] * New upstream version. - Builds with newer haskell-debian. closes: #720683. * Don't use runhaskell to build. closes: #676476. -- Clint Adams Fri, 04 Oct 2013 19:41:21 -0400 cabal-debian (1.25-1) unstable; urgency=low * New upstream version. -- Clint Adams Tue, 19 Jun 2012 19:30:08 -0400 cabal-debian (1.24-1) unstable; urgency=low * New upstream version. -- Clint Adams Sat, 16 Jun 2012 15:14:54 -0400 cabal-debian (1.21-1) unstable; urgency=low * Initial release. -- Clint Adams Thu, 17 May 2012 22:07:00 -0400 debian/compat0000644000000000000000000000000212245015016010360 0ustar 9 debian/source/0000755000000000000000000000000012245015017010463 5ustar debian/source/format0000644000000000000000000000001412245015017011671 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020212245015017010206 0ustar version=3 http://hackage.haskell.org/package/cabal-debian/distro-monitor .*-([0-9\.]+).(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))