--- xmlrpc-light-0.6.1.orig/debian/control +++ xmlrpc-light-0.6.1/debian/control @@ -0,0 +1,41 @@ +Source: xmlrpc-light +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: + Pietro Abate , + Stefano Zacchiroli , + Mehdi Dogguy +Build-Depends: + cdbs, + debhelper (>= 7), + dpatch, + ocaml-nox, + libocamlnet-ocaml-dev, + libxml-light-ocaml-dev, + libnethttpd-ocaml-dev, + ocaml-findlib, + dh-ocaml (>= 0.9) +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/xmlrpc-light.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/xmlrpc-light.git +Homepage: http://code.google.com/p/xmlrpc-light/ + +Package: libxmlrpc-light-ocaml-dev +Architecture: any +Depends: + ${misc:Depends}, + ${ocaml:Depends}, + ${shlibs:Depends}, + libocamlnet-ocaml, + libxml-light-ocaml-dev, + libnethttpd-ocaml-dev +Provides: + ${ocaml:Provides} +Description: XmlRpc-Light is an XmlRpc library written in OCaml + XmlRpc Light is a minimal XmlRpc library based on Xml Light + and Ocamlnet. + . + It provides a type for values, a client class with a simple + calling interface, and low-level tools that can be used to + implement a server. --- xmlrpc-light-0.6.1.orig/debian/META.xmlrpc-light.in +++ xmlrpc-light-0.6.1/debian/META.xmlrpc-light.in @@ -0,0 +1,6 @@ +name = "xmlrpc-light" +version = "@VERSION@" +description = "XML-RPC client based on Xml-Light" +requires = "xml-light,netclient,nethttpd-for-netcgi2" +archive(byte) = "xmlrpc-light.cma" +archive(native) = "xmlrpc-light.cmxa" --- xmlrpc-light-0.6.1.orig/debian/gbp.conf +++ xmlrpc-light-0.6.1/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True --- xmlrpc-light-0.6.1.orig/debian/compat +++ xmlrpc-light-0.6.1/debian/compat @@ -0,0 +1 @@ +7 --- xmlrpc-light-0.6.1.orig/debian/rules +++ xmlrpc-light-0.6.1/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f +# debian/rules for xmlrpc-light package +# Adapted from debian/rules for xml-light package by Pietro Abate +# Copyright (C) 2006 Sylvain Le Gall +# Copyright (C) 2007 Sylvain Le Gall +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +include /usr/share/cdbs/1/rules/dpatch.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/ocaml.mk + +PACKAGE_DEV := libxmlrpc-light-ocaml-dev +DESTDIR_DEV := $(CURDIR)/debian/$(PACKAGE_DEV) + +DEB_MAKE_CLEAN_TARGET := clean + +DEB_MAKE_BUILD_TARGET := byte-code-library +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +DEB_MAKE_BUILD_TARGET += native-code-library +endif + +DEB_MAKE_INSTALL_TARGET := install +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +DEB_MAKE_INSTALL_TARGET += installopt +endif +DEB_MAKE_INSTALL_TARGET += INSTALLDIR="$(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)/xmlrpc-light" + +CDBS_BUILD_DEPENDS := $(subst ocaml-nox,ocaml-nox (>= 3.10.0-8),$(CDBS_BUILD_DEPENDS)) --- xmlrpc-light-0.6.1.orig/debian/clean +++ xmlrpc-light-0.6.1/debian/clean @@ -0,0 +1,3 @@ +xmlrpc-light.a +debian/libxml-lightrpc-ocaml-dev.dirs +debian/libxml-lightrpc-ocaml-dev.install --- xmlrpc-light-0.6.1.orig/debian/copyright +++ xmlrpc-light-0.6.1/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Pietro Abate + Fri, 16 Nov 2007 16:02:44 +0100 + +It was downloaded from : +http://code.google.com/p/xmlrpc-light/ + +Upstream Author: +Dave Benjamin + +Copyright: +(c)2006-2007 Dave Benjamin + +Xmlrpc-light is distributed under the terms the LGPL-3 licence, which can be +found in the /usr/share/common-licenses/LGPL-3 file on debian systems. + --- xmlrpc-light-0.6.1.orig/debian/libxmlrpc-light-ocaml-dev.ocamldoc +++ xmlrpc-light-0.6.1/debian/libxmlrpc-light-ocaml-dev.ocamldoc @@ -0,0 +1 @@ + -package xml-light,nethttpd-for-netcgi2 --- xmlrpc-light-0.6.1.orig/debian/libxmlrpc-light-ocaml-dev.docs +++ xmlrpc-light-0.6.1/debian/libxmlrpc-light-ocaml-dev.docs @@ -0,0 +1 @@ +README.txt --- xmlrpc-light-0.6.1.orig/debian/README.source +++ xmlrpc-light-0.6.1/debian/README.source @@ -0,0 +1,5 @@ +This package uses dpatch for patching the source. + +Please consider reading dpatch manpage to patch the source. + + -- Mehdi Dogguy , Sun, 1 Nov 2009 13:16:01 +0100 --- xmlrpc-light-0.6.1.orig/debian/libxmlrpc-light-ocaml-dev.dirs.in +++ xmlrpc-light-0.6.1/debian/libxmlrpc-light-ocaml-dev.dirs.in @@ -0,0 +1 @@ +@OCamlStdlibDir@/xmlrpc-light --- xmlrpc-light-0.6.1.orig/debian/watch +++ xmlrpc-light-0.6.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://code.google.com/p/xmlrpc-light/downloads/list http://xmlrpc-light.googlecode.com/files/xmlrpc-light-([0-9.]*).tar.gz --- xmlrpc-light-0.6.1.orig/debian/changelog +++ xmlrpc-light-0.6.1/debian/changelog @@ -0,0 +1,58 @@ +xmlrpc-light (0.6.1-2build1) lucid; urgency=low + + * No-change rebuild for OCaml 3.11.2 transition (LP: #529408). + + -- Ilya Barygin Sun, 28 Feb 2010 20:02:38 +0300 + +xmlrpc-light (0.6.1-2) unstable; urgency=low + + * Use ocaml.mk as a CDBS "rules" file (Closes: #549723) + * Swap the include order of debhelper.mk and dpatch.mk to workaround + a CDBS bug. + * Add myself to uploaders + * Move the package to section ocaml + * Use new features of dh-ocaml 0.9 + - Generate documentation using dh_ocamldoc + * Bump standards version to 3.8.3 + - Add a debian/README.source + + -- Mehdi Dogguy Sun, 01 Nov 2009 13:19:46 +0100 + +xmlrpc-light (0.6.1-1) unstable; urgency=low + + * new upstream release + * fix lintian warnings + * update std version to 3.8.1 + * bump debhelper compat to 7 + * add build dependency to dh-ocaml + * add debian/clean file + * switch packaging to git + + -- Pietro Abate Fri, 20 Mar 2009 14:09:38 +0100 + +xmlrpc-light (0.6-3) unstable; urgency=low + + [ Stefano Zacchiroli ] + * fix vcs-svn field to point just above the debian/ dir + * debian/control: set d-o-m as the Maintainer, me and Pietro as Uploaders + + [ Pietro Abate ] + * fix url in debian/watch (Closes: #456488) + * fix build error for architectures that do not support + ocamlopt (Closes: #457348) + + -- Stefano Zacchiroli Thu, 31 Jan 2008 11:20:31 +0100 + +xmlrpc-light (0.6-2) unstable; urgency=low + + * fixed typo in the copyright file + * added XmlRpcDateTime.cmi and XmlRpcDateTime.mli to the package + * fixed documentation + + -- Pietro Abate Thu, 20 Dec 2007 13:08:12 +0100 + +xmlrpc-light (0.6-1) unstable; urgency=low + + * Initial Release (Closes: #452076) + + -- Pietro Abate Mon, 26 Nov 2007 19:03:16 +0100 --- xmlrpc-light-0.6.1.orig/debian/patches/00dpatch.conf +++ xmlrpc-light-0.6.1/debian/patches/00dpatch.conf @@ -0,0 +1,2 @@ +conf_debianonly=1 +conf_origtargzpath=../tarballs --- xmlrpc-light-0.6.1.orig/debian/patches/00list +++ xmlrpc-light-0.6.1/debian/patches/00list @@ -0,0 +1 @@ +install.dpatch --- xmlrpc-light-0.6.1.orig/debian/patches/install.dpatch +++ xmlrpc-light-0.6.1/debian/patches/install.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_install.dpatch by Pietro Abate +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: allow installation under a given div, externally passed by debian/rules + +@DPATCH@ +diff -urNad trunk~/Makefile trunk/Makefile +--- trunk~/Makefile 2007-11-25 21:23:19.000000000 +0100 ++++ trunk/Makefile 2008-01-10 14:11:48.000000000 +0100 +@@ -5,10 +5,13 @@ + PACKS = xml-light,netclient,nethttpd-for-netcgi2 + LIBINSTALL_FILES = XmlRpcBase64.mli XmlRpcBase64.cmi XmlRpcDateTime.mli XmlRpcDateTime.cmi XmlRpc.mli XmlRpc.cmi XmlRpcServer.mli XmlRpcServer.cmi xmlrpc-light.cma xmlrpc-light.cmxa xmlrpc-light.a + OCAMLDOC = ocamlfind ocamldoc -package xml-light,nethttpd-for-netcgi2 +-DOC_FILES = XmlRpc.mli XmlRpcServer.mli XmlRpcDateTime.mli XmlRpcBase64.mli ++DOC_FILES = XmlRpcBase64.mli XmlRpcDateTime.mli XmlRpc.mli XmlRpcServer.mli + + all: native-code-library byte-code-library +-install: libinstall ++install: ++ cp META XmlRpcBase64.mli XmlRpcBase64.cmi XmlRpc.mli XmlRpc.cmi XmlRpcServer.mli XmlRpcServer.cmi XmlRpcDateTime.mli XmlRpcDateTime.cmi xmlrpc-light.cma $(INSTALLDIR) ++installopt: ++ cp xmlrpc-light.cmxa xmlrpc-light.a $(INSTALLDIR) + uninstall: libuninstall + + .PHONY: test