[Pkg-ocaml-maint-commits] r1494 - in trunk/packages/camlgz/trunk: . debian

Thomas Petazzoni tpetazzo-guest at costa.debian.org
Thu Jul 28 21:53:01 UTC 2005


Author: tpetazzo-guest
Date: 2005-07-28 21:53:00 +0000 (Thu, 28 Jul 2005)
New Revision: 1494

Added:
   trunk/packages/camlgz/trunk/debian/
   trunk/packages/camlgz/trunk/debian/README.Debian
   trunk/packages/camlgz/trunk/debian/changelog
   trunk/packages/camlgz/trunk/debian/compat
   trunk/packages/camlgz/trunk/debian/control
   trunk/packages/camlgz/trunk/debian/copyright
   trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.dirs
   trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.docs
   trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs
   trunk/packages/camlgz/trunk/debian/libgz-ocaml.docs
   trunk/packages/camlgz/trunk/debian/patches/
   trunk/packages/camlgz/trunk/debian/rules
   trunk/packages/camlgz/trunk/debian/watch
Log:
Add Debian files

Added: trunk/packages/camlgz/trunk/debian/README.Debian
===================================================================
--- trunk/packages/camlgz/trunk/debian/README.Debian	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/README.Debian	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,6 @@
+camlgz for Debian
+------------------
+
+Camlgz is compiled with support for zlib and bzlib.
+
+ -- Thomas Petazzoni <thomas.petazzoni at enix.org>, Thu Jul 28 23:44:22 2005

Added: trunk/packages/camlgz/trunk/debian/changelog
===================================================================
--- trunk/packages/camlgz/trunk/debian/changelog	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/changelog	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,5 @@
+camlrpc (0.5.6-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Thomas Petazzoni <thomas.petazzoni at enix.org>  Thu, 28 Jul 2005 23:42:17 +0200

Added: trunk/packages/camlgz/trunk/debian/compat
===================================================================
--- trunk/packages/camlgz/trunk/debian/compat	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/compat	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1 @@
+4

Added: trunk/packages/camlgz/trunk/debian/control
===================================================================
--- trunk/packages/camlgz/trunk/debian/control	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/control	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,25 @@
+Source: camlgz
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Thomas Petazzoni <thomas.petazzoni at enix.org>, Samuel Mimram <smimram at debian.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08.3, ocaml-findlib, dpatch (>= 1.19), zlib1g-dev, bzlib-dev
+Standards-Version: 3.6.1.1
+
+Package: libgz-ocaml
+Section: libs
+Architecture: any
+Depends: ocaml-base-nox-3.08.3, ${shlibs:Depends}
+Description: Ocaml Gzip and Bzip2 libraries
+ Ocaml bindings for the Gzip and Bzip2 libraries
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libgz-ocaml-dev
+Section: libdevel
+Architecture: any
+Depends: ocaml-nox-3.08.3, libgz-ocaml (= ${Source-Version})
+Description: Ocaml Sun RPC libraries
+ Ocaml bindings for the Gzip and Bzip2 libraries
+ .
+ This package contains the developpment part of the camlzip package.
\ No newline at end of file

Added: trunk/packages/camlgz/trunk/debian/copyright
===================================================================
--- trunk/packages/camlgz/trunk/debian/copyright	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/copyright	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,28 @@
+This package was debianized by Thomas Petazzoni <thomas.petazzoni at enix.org> on
+Thu,  4 Nov 2004 22:55:02 +0100.
+
+It was downloaded from http://www.ocaml-programming.de/programming/rpc.html
+
+Copyright (C) 1999 by Gerd Stolpmann
+
+Upstream Author: Gerd Stolpmann <gerd at gerd-stolpmann.de>
+
+License:
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the "rpc" software (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 Gerd Stolpmann 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.

Added: trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.dirs
===================================================================
--- trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.dirs	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.dirs	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,2 @@
+usr/lib/ocaml/3.08.3
+usr/bin

Added: trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.docs
===================================================================
--- trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.docs	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/libgz-ocaml-dev.docs	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,2 @@
+README
+doc/

Added: trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs
===================================================================
--- trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08.3/stublibs

Added: trunk/packages/camlgz/trunk/debian/libgz-ocaml.docs
===================================================================
--- trunk/packages/camlgz/trunk/debian/libgz-ocaml.docs	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/libgz-ocaml.docs	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1 @@
+README

Added: trunk/packages/camlgz/trunk/debian/rules
===================================================================
--- trunk/packages/camlgz/trunk/debian/rules	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/rules	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,82 @@
+#!/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.
+PACKAGE = camlgz
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+OCAML_LIBDIR=`ocamlc -where`
+
+DESTDIR=$(CURDIR)/debian/libgz-ocaml-dev/$(OCAML_LIBDIR)
+
+# We use dpatch
+include /usr/share/dpatch/dpatch.make
+PACKAGE = camlgz
+
+configure-stamp: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure --with-findlib
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) all
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Install
+	$(MAKE) install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
+
+	# Strip .comment section
+	strip -R .comment $(DESTDIR)/gz/dllcamlgz.so
+
+	# Move stubfile in the correct package
+	mv $(DESTDIR)/gz/dllcamlgz.so $(CURDIR)/debian/libgz-ocaml/usr/lib/ocaml/3.08.3/stublibs/
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: trunk/packages/camlgz/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/camlgz/trunk/debian/watch
===================================================================
--- trunk/packages/camlgz/trunk/debian/watch	2005-07-28 21:52:45 UTC (rev 1493)
+++ trunk/packages/camlgz/trunk/debian/watch	2005-07-28 21:53:00 UTC (rev 1494)
@@ -0,0 +1,2 @@
+version=2
+http://www.ocaml-programming.de/packages/rpc-([0-9\.]*)\.tar\.gz




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