[Pkg-haskell-commits] [SCM] Haskell binding to libmagic branch, master, updated. DEBIAN_magic-haskell_1.0.7.1-10-g0b5ba77
John Goerzen
jgoerzen at complete.org
Wed Aug 19 21:14:30 UTC 2009
The following commit has been merged in the master branch:
commit 9d5f471706d6e4368e097614c39273201318fdb1
Author: John Goerzen <jgoerzen at complete.org>
Date: Wed Aug 19 15:53:09 2009 -0500
Revert "Removing debian/ from upstream directory" so we can have it in
this branch
This reverts commit 638965b87b040f15ccdcc93f17dc909216eee6e9.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..74537d0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,62 @@
+magic-haskell (1.0.7.1) unstable; urgency=high
+
+ * Updating for new GHC.
+
+ -- John Goerzen <jgoerzen at complete.org> Mon, 19 Jan 2009 10:21:18 -0600
+
+magic-haskell (1.0.7) unstable; urgency=low
+
+ * Update for GHC 6.8.
+
+ -- John Goerzen <jgoerzen at complete.org> Wed, 16 Jan 2008 10:23:33 -0600
+
+magic-haskell (1.0.6) unstable; urgency=low
+
+ * Update for new ghc 6.6.1. Closes: #427322.
+
+ -- John Goerzen <jgoerzen at complete.org> Wed, 06 Jun 2007 04:07:41 -0500
+
+magic-haskell (1.0.5) unstable; urgency=low
+
+ * Update for GHC 6.6.
+
+ -- John Goerzen <jgoerzen at complete.org> Fri, 20 Oct 2006 09:58:03 -0500
+
+magic-haskell (1.0.4) unstable; urgency=medium
+
+ * ACK NMU -- Thanks, Luk. Closes: #379265.
+ * Escape @ signs in email addresses in Haddock comments. Closes: #361573.
+
+ -- John Goerzen <jgoerzen at complete.org> Mon, 4 Sep 2006 09:28:13 -0500
+
+magic-haskell (1.0.3-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Update build dependency on ghc6 (Closes: #379265).
+
+ -- Luk Claes <luk at debian.org> Wed, 2 Aug 2006 23:22:43 +0200
+
+magic-haskell (1.0.3) unstable; urgency=low
+
+ * Rebuilt against ghc6 6.4.1.
+
+ -- John Goerzen <jgoerzen at complete.org> Mon, 17 Oct 2005 00:02:45 -0500
+
+magic-haskell (1.0.2) unstable; urgency=low
+
+ * Tightened up build-deps on haskell-devscripts due to a bug in that
+ package. Closes: #326795.
+
+ -- John Goerzen <jgoerzen at complete.org> Tue, 6 Sep 2005 10:21:09 -0500
+
+magic-haskell (1.0.1) unstable; urgency=low
+
+ * Added README to doc package.
+
+ -- John Goerzen <jgoerzen at complete.org> Tue, 16 Aug 2005 05:53:18 -0500
+
+magic-haskell (1.0.0) unstable; urgency=low
+
+ * Initial release.
+
+ -- John Goerzen <jgoerzen at complete.org> Tue, 16 Aug 2005 05:45:37 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c87fcad
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: magic-haskell
+Priority: optional
+Maintainer: John Goerzen <jgoerzen at complete.org>
+Build-Depends: debhelper (>= 4.0.0), ghc6 (>= 6.8.2dfsg1), hugs (>= 98.200503.08), haskell-devscripts (>= 0.6.15), libmagic-dev
+Build-Depends-Indep: debhelper (>= 4.0.0), haddock, ghc6 (>= 6.8.2dfsg1), haskell-devscripts (>= 0.6.15), libmagic-dev
+Standards-Version: 3.6.2
+Section: devel
+
+Package: libghc6-magic-dev
+Section: devel
+Architecture: any
+Suggests: magic-haskell-doc
+Depends: ${haskell:Depends}, libmagic-dev, ${shlibs:Depends}
+Description: File type determination library for Haskell
+ This package provides a Haskell interface to the C libmagic library.
+ With it, you can determine the type of a file by examining its contents
+ rather than its name. The Haskell interface provides a full-featured
+ binding.
+ .
+ This package is built for GHC. A Hugs package is also available
+ in libhugs-magic.
+
+Package: libhugs-magic
+Section: devel
+Architecture: any
+Suggests: magic-haskell-doc
+Depends: ${haskell:Depends}, ${shlibs:Depends}
+Description: File type determination library for Haskell
+ This package provides a Haskell interface to the C libmagic library.
+ With it, you can determine the type of a file by examining its contents
+ rather than its name. The Haskell interface provides a full-featured
+ binding.
+ .
+ This package is built for Hugs. A GHC package is also available
+ in libghc6-magic-dev.
+
+Package: magic-haskell-doc
+Section: devel
+Architecture: all
+Description: File type determination library for Haskell
+ This package provides a Haskell interface to the C libmagic library.
+ With it, you can determine the type of a file by examining its contents
+ rather than its name. The Haskell interface provides a full-featured
+ binding.
+ .
+ This package provides documentation for the Haskell magic binding.
+
diff --git a/COPYING b/debian/copyright
similarity index 90%
copy from COPYING
copy to debian/copyright
index 3ab456e..35b1d18 100644
--- a/COPYING
+++ b/debian/copyright
@@ -1,3 +1,8 @@
+Haskell Magic Interface
+Copyright (C) 2005 John Goerzen <jgoerzen at complete.org>
+
+All code is under the following license unless otherwise noted:
+
Copyright (c) 2005 John Goerzen.
All rights reserved.
diff --git a/debian/magic-haskell-doc.docs b/debian/magic-haskell-doc.docs
new file mode 100644
index 0000000..4ed5782
--- /dev/null
+++ b/debian/magic-haskell-doc.docs
@@ -0,0 +1,2 @@
+dist/doc/html/*
+README
diff --git a/debian/missingpy.doc-base.EX b/debian/missingpy.doc-base.EX
new file mode 100644
index 0000000..abbbb11
--- /dev/null
+++ b/debian/missingpy.doc-base.EX
@@ -0,0 +1,22 @@
+Document: missingh
+Title: Debian missingh Manual
+Author: <insert document author here>
+Abstract: This manual describes what missingh is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/missingh/missingh.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/missingh/missingh.ps.gz
+
+Format: text
+Files: /usr/share/doc/missingh/missingh.text.gz
+
+Format: HTML
+Index: /usr/share/doc/missingh/html/index.html
+Files: /usr/share/doc/missingh/html/*.html
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a17243a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,152 @@
+#!/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
+
+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
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ make setup
+ ./setup configure --prefix=$(LIBPATH) --ghc
+
+ touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+
+ #make test-ghc6
+ # Add here commands to compile the package.
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -./setup clean
+ -make clean
+ -rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist html
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs -a
+
+ # Add here commands to install the package into debian/tmp
+ dh_haskell -a
+ dh_haskell_depends -a
+ #make test
+
+builddocs: builddocs-stamp
+builddocs-stamp:
+ dh_testdir
+
+ make doc
+ #make test-hugs
+
+installdocs: builddocs
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs -i
+
+ dh_haskell -i
+ #make test-hugs
+
+# Build architecture-independent files here.
+binary-indep: builddocs installdocs
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -i
+ dh_installdocs -i
+ dh_installexamples -i
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman -i
+ dh_link -i
+ dh_strip -i
+ dh_compress -i
+ dh_fixperms -i
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_installexamples -a
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman -a
+ dh_link -a
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--
Haskell binding to libmagic
More information about the Pkg-haskell-commits
mailing list