[Pkg-ocaml-maint-commits] r5163 - in /trunk/packages/ocaml-magic: ./ tarballs/ trunk/ trunk/debian/

toots at users.alioth.debian.org toots at users.alioth.debian.org
Sun Feb 10 14:35:52 UTC 2008


Author: toots
Date: Sun Feb 10 14:35:52 2008
New Revision: 5163

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5163
Log:
Initial packaging for ocaml-magic

Added:
    trunk/packages/ocaml-magic/tarballs/
    trunk/packages/ocaml-magic/tarballs/ocaml-magic_0.6.orig.tar.gz   (with props)
    trunk/packages/ocaml-magic/trunk/
    trunk/packages/ocaml-magic/trunk/debian/   (with props)
    trunk/packages/ocaml-magic/trunk/debian/changelog
    trunk/packages/ocaml-magic/trunk/debian/compat
    trunk/packages/ocaml-magic/trunk/debian/control
    trunk/packages/ocaml-magic/trunk/debian/copyright
    trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.docs
    trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.install.in
    trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml.install.in
    trunk/packages/ocaml-magic/trunk/debian/rules   (with props)
    trunk/packages/ocaml-magic/trunk/debian/svn-deblayout
    trunk/packages/ocaml-magic/trunk/debian/watch
Modified:
    trunk/packages/ocaml-magic/   (props changed)

Propchange: trunk/packages/ocaml-magic/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Feb 10 14:35:52 2008
@@ -1,0 +1,1 @@
+build-area

Added: trunk/packages/ocaml-magic/tarballs/ocaml-magic_0.6.orig.tar.gz
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/tarballs/ocaml-magic_0.6.orig.tar.gz?rev=5163&op=file
==============================================================================
Binary file - no diff available.

Propchange: trunk/packages/ocaml-magic/tarballs/ocaml-magic_0.6.orig.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Propchange: trunk/packages/ocaml-magic/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: trunk/packages/ocaml-magic/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/changelog?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/changelog (added)
+++ trunk/packages/ocaml-magic/trunk/debian/changelog Sun Feb 10 14:35:52 2008
@@ -1,0 +1,5 @@
+ocaml-magic (0.6-1) unstable; urgency=low
+
+  * Initial release. (Closes: #463500)
+
+ -- Romain Beauxis <toots at rastageeks.org>  Sun, 10 Feb 2008 15:02:36 +0100

Added: trunk/packages/ocaml-magic/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/compat?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/compat (added)
+++ trunk/packages/ocaml-magic/trunk/debian/compat Sun Feb 10 14:35:52 2008
@@ -1,0 +1,1 @@
+5

Added: trunk/packages/ocaml-magic/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/control?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/control (added)
+++ trunk/packages/ocaml-magic/trunk/debian/control Sun Feb 10 14:35:52 2008
@@ -1,0 +1,31 @@
+Source: ocaml-magic
+Section: devel
+Priority: optional
+Maintainer: Liquidsoap Debian Packaging <savonet-debian at lists.sourceforge.net>
+Uploaders: Samuel Mimram <smimram at debian.org>, Romain Beauxis <toots at rastageeks.org>
+Build-Depends: debhelper (>= 5.0.0), libmagic-dev, ocaml-nox (>= 3.10)
+Standards-Version: 3.7.3
+Homepage: http://sourceforge.net/projects/ocaml-magic/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/
+
+Package: libmagic-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Description: OCaml bindings for the File type determination library
+ Libmagic is a library for classifying files according to magic number tests.
+ This package provides OCaml interface to the C library.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libmagic-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libmagic-dev, libmagic-ocaml (= ${binary:Version})
+Description: OCaml bindings for the File type determination library
+ Libmagic is a library for classifying files according to magic number tests.
+ This package provides OCaml interface to the C library.
+ .
+ This package contains all the development stuff you need to develop
+ OCaml programs which use taglib.

Added: trunk/packages/ocaml-magic/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/copyright?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/copyright (added)
+++ trunk/packages/ocaml-magic/trunk/debian/copyright Sun Feb 10 14:35:52 2008
@@ -1,0 +1,37 @@
+This package was debianized by Romain Beauxis <toots at rastageeks.org> on
+Tue Dec 11 01:55:32 CET 2007.
+
+It was downloaded from <http://savonet.sourceforge.net/>
+
+Upstream Author: Romain Beauxis <toots at rastageeks.org>
+
+Copyright: Copyright (C) 2007 Romain Beauxis
+
+License:
+
+  License for this package is the GNU Lesser General Public
+  License, with the aditional exception:
+
+<----
+As a special exception to the GNU Library General Public License, you may
+link, statically or dynamically, a "work that uses the Library" with a publicly
+distributed version of the Library to produce an executable file containing
+portions of the Library, and distribute that executable file under terms of
+your choice, without any of the additional requirements listed in clause 6
+of the GNU Library General Public License.
+By "a publicly distributed version of the Library", we mean either the unmodified
+Library as distributed by INRIA, or a modified version of the Library that is
+distributed under the conditions defined in clause 3 of the GNU Library General
+Public License. This exception does not however invalidate any other reasons why
+the executable file might be covered by the GNU Library General Public License.
+<----
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2007, Romain Beauxis <toots at rastageeks.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.docs
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.docs?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.docs (added)
+++ trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.docs Sun Feb 10 14:35:52 2008
@@ -1,0 +1,2 @@
+README
+html

Added: trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.install.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.install.in?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.install.in (added)
+++ trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml-dev.install.in Sun Feb 10 14:35:52 2008
@@ -1,0 +1,1 @@
+META *.a *.cm* usr/lib/ocaml/@OCamlABI@/magic/

Added: trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml.install.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml.install.in?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml.install.in (added)
+++ trunk/packages/ocaml-magic/trunk/debian/libmagic-ocaml.install.in Sun Feb 10 14:35:52 2008
@@ -1,0 +1,1 @@
+dllmagic_stub.so    usr/lib/ocaml/@OCamlABI@/stublibs/

Added: trunk/packages/ocaml-magic/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/rules?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/rules (added)
+++ trunk/packages/ocaml-magic/trunk/debian/rules Sun Feb 10 14:35:52 2008
@@ -1,0 +1,69 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+OCAMLABI := $(shell ocamlc -version)
+OFILES := $(patsubst %.in,%,$(wildcard debian/*.in))
+
+DESTDIR = $(CURDIR)/debian/tmp$(shell ocamlc -where)
+
+CFLAGS = "-O2 -g -fPIC"
+
+ocamlinit:
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
+
+build: ocamlinit build-stamp
+build-stamp: 
+	dh_testdir
+
+	$(MAKE) CFLAGS=$(CFLAGS)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Workaround for dirty clean target..
+	chmod -x $(CURDIR)/debian/rules
+	[ ! -f Makefile ] || $(MAKE) dist-clean
+	chmod +x $(CURDIR)/debian/rules
+	rm -rf $(CURDIR)/html
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	mkdir -p $(DESTDIR)
+#	$(MAKE) install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
+	$(MAKE) doc
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_install --list-missing
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)"
+	dh_md5sums
+	dh_builddeb
+
+binary-indep:
+
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install ocamlinit

Propchange: trunk/packages/ocaml-magic/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/packages/ocaml-magic/trunk/debian/svn-deblayout
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/svn-deblayout?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/svn-deblayout (added)
+++ trunk/packages/ocaml-magic/trunk/debian/svn-deblayout Sun Feb 10 14:35:52 2008
@@ -1,0 +1,1 @@
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/ocaml-magic

Added: trunk/packages/ocaml-magic/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-magic/trunk/debian/watch?rev=5163&op=file
==============================================================================
--- trunk/packages/ocaml-magic/trunk/debian/watch (added)
+++ trunk/packages/ocaml-magic/trunk/debian/watch Sun Feb 10 14:35:52 2008
@@ -1,0 +1,2 @@
+version=3
+http://sf.net/savonet/ocaml-taglib-(.+)\.tar\.gz




More information about the Pkg-ocaml-maint-commits mailing list