debian/0000755000000000000000000000000012256131340007163 5ustar debian/librss-ocaml-dev.docs0000644000000000000000000000000512254603366013205 0ustar html debian/copyright0000644000000000000000000000236112254603366011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OCaml-RSS Upstream-Contact: Maxence Guesdon Source: http://zoggy.github.com/ocamlrss/ Files: * Copyright: 2004-2013 Institut National de Recherche en Informatique et en Automatique License: LGPL-3 Files: debian/* Copyright: 2012 Sylvain Le Gall , 2013 Prach Pongpanich License: LGPL-3 License: LGPL-3 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation. . 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 Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this program; if not, write to 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 version 3 can be found in `/usr/share/common-licenses/LGPL-3'. debian/changelog0000644000000000000000000000166612256131340011046 0ustar ocamlrss (2.2.1-3build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 22:02:08 +0000 ocamlrss (2.2.1-3) unstable; urgency=medium * Really fix FTBFS on bytecode architectures (Closes: #731732) -- Prach Pongpanich Wed, 18 Dec 2013 00:01:45 +0700 ocamlrss (2.2.1-2) unstable; urgency=medium * Add d/patches/0001-Fix-FTBFS-on-bytecode-architectures.patch (Closes: #731732) * Bump Standards-Version to 3.9.5 -- Prach Pongpanich Mon, 16 Dec 2013 16:40:15 +0700 ocamlrss (2.2.1-1) unstable; urgency=low * New upstream release -- Prach Pongpanich Wed, 12 Jun 2013 01:48:53 +0700 ocamlrss (2.2.0-1) unstable; urgency=low * Initial release (Closes: #678218) * Adopt an initial package from Sylvain Le Gal -- Prach Pongpanich Thu, 21 Mar 2013 13:21:36 +0700 debian/librss-ocaml-dev.doc-base0000644000000000000000000000045512254603366013743 0ustar Document: librss-ocaml-dev Title: API for RSS 2.0 parser and printer Author: Maxence Guesdon Abstract: Ocamldoc-generated documentation for OCaml RSS 2.0 Section: Programming/OCaml Format: HTML Index: /usr/share/doc/librss-ocaml-dev/html/index.html Files: /usr/share/doc/librss-ocaml-dev/html/*.html debian/librss-ocaml.install.in0000644000000000000000000000013212254603366013555 0ustar @OCamlStdlibDir@/rss/rss.cma @OCamlStdlibDir@/rss/META DYN: rss.cmxs @OCamlStdlibDir@/rss debian/compat0000644000000000000000000000000212254603366010373 0ustar 9 debian/patches/0000755000000000000000000000000012254603366010624 5ustar debian/patches/0001-Fix-FTBFS-on-bytecode-architectures.patch0000644000000000000000000000230212254603366020661 0ustar Description: Fix FTBFS on bytecode architectures Forwarded: https://github.com/zoggy/ocamlrss/issues/7 Bug-Debian: http://bugs.debian.org/731732 Author: Prach Pongpanich --- ocamlrss-2.2.1.orig/Makefile +++ ocamlrss-2.2.1/Makefile @@ -37,7 +37,10 @@ OCAMLOPT=$(OCAMLFIND) ocamlopt $(OF_FLAG OCAMLDOC=$(OCAMLFIND) ocamldoc $(OF_FLAGS) OCAMLDEP=ocamldep -all: byte opt +all:: byte +ifneq ($(wildcard /usr/bin/ocamlopt),) +all:: opt +endif byte: rss.cma opt: rss.cmxa rss.cmxs @@ -69,6 +72,7 @@ webdoc: doc .depend depend: $(OCAMLDEP) rss*.ml rss*.mli > .depend +ifneq ($(wildcard /usr/bin/ocamlopt),) rsstest: rss.cmxa rsstest.ml $(OCAMLOPT) -linkpkg -o $@ $(OCAML_COMPFLAGS) $^ @@ -76,11 +80,17 @@ test: rsstest @./rsstest test.rss > t.rss @./rsstest t.rss > t2.rss @((diff t.rss t2.rss && echo OK) || echo "t.rss and t2.rss differ") +endif # installation : ################ install: +ifneq ($(wildcard /usr/bin/ocamlopt),) $(OCAMLFIND) install rss META LICENSE $(wildcard rss.cmi rss.cma rss.cmxa rss.a rss.cmxs rss.mli rss.cmx) +else + $(OCAMLFIND) install rss META LICENSE $(wildcard rss.cmi rss.cma rss.mli rss.cmx) +endif + uninstall: ocamlfind remove rss debian/patches/series0000644000000000000000000000005712254603366012043 0ustar 0001-Fix-FTBFS-on-bytecode-architectures.patch debian/control0000644000000000000000000000355512254603366010610 0ustar Source: ocamlrss Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Prach Pongpanich Build-Depends: debhelper (>= 9), ocaml-nox (>= 3.11.1-3~), ocaml-findlib (>= 1.2.5), dh-ocaml (>= 0.9), libxmlm-ocaml-dev (>= 1.1.0), libocamlnet-ocaml-dev Build-Conflicts: libcameleon-ocaml-dev Standards-Version: 3.9.5 Section: ocaml Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/ocamlrss.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/ocamlrss.git;a=summary Homepage: http://zoggy.github.com/ocamlrss Package: librss-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: RSS 2.0 parser and printer for OCaml (runtime) OCaml-RSS is a small OCaml library providing functions to parse and print RSS 2.0 files. The parser can also parse some RDF files, but some fields are not taken into account. There is still some work to do (add missing RSS 2.0 attributes, add convenient functions). . OCaml-RSS was previously part of Cameleon but is now developed separately and is findlib compatible. Package: librss-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends} Provides: ${ocaml:Provides} Recommends: ocaml-findlib Description: RSS 2.0 parser and printer for OCaml (development) This package is a small OCaml library providing functions to parse and print RSS 2.0 files. The parser can also parse some RDF files, but some fields are not taken into account. There is still some work to do (add missing RSS 2.0 attributes, add convenient functions). . OCaml-RSS was previously part of Cameleon but is now developed separately and is findlib compatible. . This package contains all the development stuff you need to develop OCaml programs which use OCaml-RSS. debian/librss-ocaml-dev.install.in0000644000000000000000000000022512254603366014334 0ustar @OCamlStdlibDir@/rss/*.cmi @OCamlStdlibDir@/rss/*.ml* OPT: @OCamlStdlibDir@/rss/*.a OPT: @OCamlStdlibDir@/rss/*.cmx OPT: @OCamlStdlibDir@/rss/*.cmxa debian/rules0000755000000000000000000000063212254603366010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/ocaml/ocamlvars.mk DESTDIR := $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR) export OCAMLFIND_DESTDIR=$(DESTDIR) %: dh $@ --with ocaml override_dh_auto_build: $(MAKE) byte doc ifneq ($(OCAML_OPT_ARCH),) $(MAKE) opt endif override_dh_auto_install: mkdir -p $(DESTDIR) $(MAKE) install debian/source/0000755000000000000000000000000012254603366010475 5ustar debian/source/format0000644000000000000000000000001412254603366011703 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612254603366010613 0ustar [DEFAULT] pristine-tar = True debian/watch0000644000000000000000000000013112254603366010221 0ustar version=3 https://github.com/zoggy/ocamlrss/tags .*/release-(\d[\d\.]+)\.(?:zip|tar\.gz)