--- ocaml-lastfm-0.2.0.orig/debian/control +++ ocaml-lastfm-0.2.0/debian/control @@ -0,0 +1,21 @@ +Source: ocaml-lastfm +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Samuel Mimram , Romain Beauxis +Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox, dh-ocaml (>= 0.9), + ocaml-findlib (>= 1.2.4), libxmlplaylist-ocaml-dev (>= 0.1.2), + libocamlnet-ocaml-dev (>= 2.2.9-7), libpcre-ocaml-dev (>= 6.0.1-2) +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/ocaml-lastfm.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-lastfm.git + +Package: liblastfm-ocaml-dev +Architecture: any +Homepage: http://savonet.sourceforge.net/ +Depends: ${ocaml:Depends}, ocaml-findlib, ${misc:Depends} +Provides: ${ocaml:Provides} +Description: OCaml interface to audioscrobbler and lastfm radios + This OCaml module provides an API to audioscrobbler, the lastfm + submission protocol, as well as the radio API, which allows to + listen to lastfm streams/radios. --- ocaml-lastfm-0.2.0.orig/debian/gbp.conf +++ ocaml-lastfm-0.2.0/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True --- ocaml-lastfm-0.2.0.orig/debian/compat +++ ocaml-lastfm-0.2.0/debian/compat @@ -0,0 +1 @@ +7 --- ocaml-lastfm-0.2.0.orig/debian/liblastfm-ocaml-dev.install.in +++ ocaml-lastfm-0.2.0/debian/liblastfm-ocaml-dev.install.in @@ -0,0 +1,4 @@ +@OCamlStdlibDir@/lastfm/META +@OCamlStdlibDir@/lastfm/*.cm* +@OCamlStdlibDir@/lastfm/*.ml* +OPT: @OCamlStdlibDir@/lastfm/*.a --- ocaml-lastfm-0.2.0.orig/debian/liblastfm-ocaml-dev.doc-base +++ ocaml-lastfm-0.2.0/debian/liblastfm-ocaml-dev.doc-base @@ -0,0 +1,9 @@ +Document: liblastfm-ocaml-dev +Title: OCaml lastfm API documentation +Author: Romain Beauxis +Abstract: Documentation of the OCaml lastfm API +Section: Programming/OCaml + +Format: HTML +Index: /usr/share/doc/liblastfm-ocaml-dev/html/index.html +Files: /usr/share/doc/liblastfm-ocaml-dev/html/* --- ocaml-lastfm-0.2.0.orig/debian/rules +++ ocaml-lastfm-0.2.0/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/ocaml.mk + +# In order to regenerate 'debian/control' : +# DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean +# Then check manually if everything's ok + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-debugging +DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR) +DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore + +build/liblastfm-ocaml-dev:: + mkdir -p $(DESTDIR) + make doc + +clean:: + rm -rf Makefile src/Makefile src/META doc config.log config.status --- ocaml-lastfm-0.2.0.orig/debian/copyright +++ ocaml-lastfm-0.2.0/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Romain Beauxis on +Nov 2, 2007 20:18:05 +0100. + +It was downloaded from http://savonet.sourceforge.net/ + +Upstream Author: Savonet Team + +Copyright: 2007 Savonet Team + + The ocaml-lastfm library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + (GPL) as published by the Free Software Foundation; either version + 2 of the License, or (at your option) any later version. + +The license text is contained in /usr/share/common-licenses/GPL-2. --- ocaml-lastfm-0.2.0.orig/debian/liblastfm-ocaml-dev.docs +++ ocaml-lastfm-0.2.0/debian/liblastfm-ocaml-dev.docs @@ -0,0 +1,2 @@ +README +doc/html --- ocaml-lastfm-0.2.0.orig/debian/control.in +++ ocaml-lastfm-0.2.0/debian/control.in @@ -0,0 +1,21 @@ +Source: ocaml-lastfm +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Samuel Mimram , Romain Beauxis +Build-Depends: @cdbs@, + ocaml-findlib (>= 1.2.4), libxmlplaylist-ocaml-dev (>= 0.1.2), + libocamlnet-ocaml-dev (>= 2.2.9-7), libpcre-ocaml-dev (>= 6.0.1-2) +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/ocaml-lastfm.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-lastfm.git + +Package: liblastfm-ocaml-dev +Architecture: any +Homepage: http://savonet.sourceforge.net/ +Depends: ${ocaml:Depends}, ocaml-findlib, ${misc:Depends} +Provides: ${ocaml:Provides} +Description: OCaml interface to audioscrobbler and lastfm radios + This OCaml module provides an API to audioscrobbler, the lastfm + submission protocol, as well as the radio API, which allows to + listen to lastfm streams/radios. --- ocaml-lastfm-0.2.0.orig/debian/watch +++ ocaml-lastfm-0.2.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/savonet/ocaml-lastfm-(.+)\.tar\.gz --- ocaml-lastfm-0.2.0.orig/debian/changelog +++ ocaml-lastfm-0.2.0/debian/changelog @@ -0,0 +1,73 @@ +ocaml-lastfm (0.2.0-1build1) lucid; urgency=low + + * No-change rebuild for OCaml 3.11.2 transition (LP: #529408). + + -- Ilya Barygin Sun, 28 Feb 2010 20:02:46 +0300 + +ocaml-lastfm (0.2.0-1) unstable; urgency=low + + * New upstream release. + * Bumped standards version to 3.8.3 + * Changed section to ocaml. + * Use new automatic dependency system. + * Enable debugging. + * Fixed Vcs-* fields. + + -- Romain Beauxis Tue, 13 Oct 2009 19:44:02 -0500 + +ocaml-lastfm (0.1.3-2) unstable; urgency=low + + [ Samuel Mimram ] + * Rebuild with OCaml 3.11. + * Switch packaging to git. + * Update compat to 7. + * Update standards version to 3.8.0. + * Use dh-ocaml. + + [ Romain Beauxis ] + * Switched rules to cdbs. + * Used OPT: for files installed only when + ocamlopt is available. + + -- Romain Beauxis Mon, 09 Mar 2009 03:04:04 +0100 + +ocaml-lastfm (0.1.3-1) unstable; urgency=low + + * New upstream release. + + -- Romain Beauxis Wed, 17 Sep 2008 18:53:50 +0200 + +ocaml-lastfm (0.1.2-1) unstable; urgency=low + + [ Stefano Zacchiroli ] + * fix vcs-svn field to point just above the debian/ dir + + [ Romain Beauxis ] + * New upstream release, now install .cmx file + * Changed maintainer to Debian OCaml Maintainers + * Updated doc-base section + + -- Romain Beauxis Mon, 31 Dec 2007 16:50:09 +0100 + +ocaml-lastfm (0.1.1-1) unstable; urgency=low + + * New upstream release + * Updated standards to 3.7.3 (no changes) + * Moved maintainer to liquidsoap debian packaging + + -- Romain Beauxis Wed, 19 Dec 2007 01:28:19 +0100 + +ocaml-lastfm (0.1.0-2) unstable; urgency=low + + * Bumped package version for a new upload after ftp-master is back ! + (package was accepted just before it went down..) + Closes: #448888) + + -- Romain Beauxis Tue, 13 Nov 2007 17:45:26 +0100 + +ocaml-lastfm (0.1.0-1) unstable; urgency=low + + * Initial release. + + -- Romain Beauxis Sat, 03 Nov 2007 16:31:27 +0100 + --- ocaml-lastfm-0.2.0.orig/src/lastfm_constants.ml +++ ocaml-lastfm-0.2.0/src/lastfm_constants.ml @@ -0,0 +1,26 @@ +(***************************************************************************** + + Liquidsoap, a programmable audio stream generator. + Copyright 2003-2007 Savonet team + + 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 of the License, 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, fully stated in the COPYING + file at the root of the liquidsoap distribution. + + 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + *****************************************************************************) + +(* lastfm protocol API for ocaml *) + +let version = "0.2.0" +