deb: dist
if [ -d $(DISTDIR)/ ]; then rm -rf $(DISTDIR); else true; fi
tar xvzf $(DISTDIR).tar.gz
- (cd $(DISTDIR)/ && debuild)
+ (cd $(DISTDIR)/ && find . -type d -name CVS -exec rm -rf {} \; ; debuild)
rm -rf $(DISTDIR)
+gdome2-xslt (0.0.7-2) unstable; urgency=low
+
+ * ocaml 3.09 transition
+ * rebuild/renaming due to changed libstdc++ configuration
+ (closes: #339167)
+ * debian/*
+ - no longer hard coding of ocaml abi number anywhere
+ * debian/control
+ - bumped standards version
+
+ -- Stefano Zacchiroli <zack@debian.org> Wed, 23 Nov 2005 10:30:16 +0000
+
gdome2-xslt (0.0.7-1) unstable; urgency=low
* New upstream release
Section: devel
Priority: optional
Maintainer: Stefano Zacchiroli <zack@debian.org>
-Build-Depends: debhelper (>= 4.1.0), ocaml-nox-3.08.3, ocaml-findlib (>= 0.8-5), libgdome2-ocaml-dev (>= 0.2.3), libgdome2-dev (>= 0.8.1), libxslt1-dev, libgdome2-cpp-smart-dev (>= 0.2.3), pkg-config, cdbs
-Standards-Version: 3.6.1.1
+Build-Depends: debhelper (>= 4.1.0), ocaml-nox (>= 3.09.0), ocaml-findlib (>= 1.1), libgdome2-ocaml-dev (>= 0.2.3-4), libgdome2-dev (>= 0.8.1), libxslt1-dev, libgdome2-cpp-smart-dev (>= 0.2.3-4), pkg-config, cdbs
+Standards-Version: 3.6.2
-Package: libgdome2-xslt0c2
+Package: libgdome2-xslt0c2a
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libgdome2-xslt0
-Conflicts: libgdome2-xslt0
+Replaces: libgdome2-xslt0, libgdome2-xslt0c2
+Conflicts: libgdome2-xslt0, libgdome2-xslt0c2
Description: Minimal XSLT processor working on GDome2 documents
gdome2-xslt is a very small C library that implements a minimal
XSLT processor that can be used to apply XSLT stylesheets to
Package: libgdome2-xslt-dev
Section: libdevel
Architecture: any
-Depends: libgdome2-xslt0c2 (= ${Source-Version}), libxslt1-dev, libgdome2-dev (>= 0.8.1), libgdome2-cpp-smart-dev (>= 0.2.3), ${misc:Depends}
+Depends: libgdome2-xslt0c2a (= ${Source-Version}), libxslt1-dev, libgdome2-dev (>= 0.8.1), libgdome2-cpp-smart-dev (>= 0.2.3-4), ${misc:Depends}
Description: Minimal XSLT processor working on GDome2 documents
gdome2-xslt is a very small C library that implements a minimal
XSLT processor that can be used to apply XSLT stylesheets to
Package: libgdome2-xslt-ocaml
Architecture: any
-Depends: ocaml-base-nox-3.08.3, libgdome2-ocaml (>= 0.2.3), ${shlibs:Depends}, ${misc:Depends}
+Depends: ocaml-base-nox-${F:OCamlABI}, libgdome2-ocaml (>= 0.2.3-4), ${shlibs:Depends}, ${misc:Depends}
Description: OCaml bindings for a minimal GDome2 based XSLT processor
gdome2-xslt is a very small C library that implements a minimal
XSLT processor that can be used to apply XSLT stylesheets to
Package: libgdome2-xslt-ocaml-dev
Architecture: any
Section: libdevel
-Depends: ocaml-nox-3.08.3, libgdome2-xslt-ocaml (= ${Source-Version}), libgdome2-ocaml-dev (>= 0.2.3), libxslt1-dev, libgdome2-dev (>= 0.8.1), ${misc:Depends}
+Depends: ocaml-nox-${F:OCamlABI}, libgdome2-xslt-ocaml (= ${Source-Version}), libgdome2-ocaml-dev (>= 0.2.3-4), libxslt1-dev, libgdome2-dev (>= 0.8.1), ${misc:Depends}
Description: OCaml bindings for a minimal GDome2 based XSLT processor
gdome2-xslt is a very small C library that implements a minimal
XSLT processor that can be used to apply XSLT stylesheets to
--- /dev/null
+Source: gdome2-xslt
+Section: devel
+Priority: optional
+Maintainer: Stefano Zacchiroli <zack@debian.org>
+Build-Depends: debhelper (>= 4.1.0), ocaml-nox (>= @OCamlABI@), ocaml-findlib (>= 1.1), libgdome2-ocaml-dev (>= 0.2.3-4), libgdome2-dev (>= 0.8.1), libxslt1-dev, libgdome2-cpp-smart-dev (>= 0.2.3-4), pkg-config, cdbs
+Standards-Version: 3.6.2
+
+Package: libgdome2-xslt0c2a
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: libgdome2-xslt0, libgdome2-xslt0c2
+Conflicts: libgdome2-xslt0, libgdome2-xslt0c2
+Description: Minimal XSLT processor working on GDome2 documents
+ gdome2-xslt is a very small C library that implements a minimal
+ XSLT processor that can be used to apply XSLT stylesheets to
+ gdome2 documents.
+ .
+ This package includes shared libraries for the C implementation
+ and for the C++ bindings.
+
+Package: libgdome2-xslt-dev
+Section: libdevel
+Architecture: any
+Depends: libgdome2-xslt0c2a (= ${Source-Version}), libxslt1-dev, libgdome2-dev (>= 0.8.1), libgdome2-cpp-smart-dev (>= 0.2.3-4), ${misc:Depends}
+Description: Minimal XSLT processor working on GDome2 documents
+ gdome2-xslt is a very small C library that implements a minimal
+ XSLT processor that can be used to apply XSLT stylesheets to
+ gdome2 documents.
+ .
+ This package includes development support files for the C
+ library and for its C++ bindings.
+
+Package: libgdome2-xslt-ocaml
+Architecture: any
+Depends: ocaml-base-nox-${F:OCamlABI}, libgdome2-ocaml (>= 0.2.3-4), ${shlibs:Depends}, ${misc:Depends}
+Description: OCaml bindings for a minimal GDome2 based XSLT processor
+ gdome2-xslt is a very small C library that implements a minimal
+ XSLT processor that can be used to apply XSLT stylesheets to
+ gdome2 documents.
+ .
+ This package ships the OCaml language bindings for gdome2-xslt.
+ .
+ This package contains only the OCaml shared runtime stub libraries.
+
+Package: libgdome2-xslt-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libgdome2-xslt-ocaml (= ${Source-Version}), libgdome2-ocaml-dev (>= 0.2.3-4), libxslt1-dev, libgdome2-dev (>= 0.8.1), ${misc:Depends}
+Description: OCaml bindings for a minimal GDome2 based XSLT processor
+ gdome2-xslt is a very small C library that implements a minimal
+ XSLT processor that can be used to apply XSLT stylesheets to
+ gdome2 documents.
+ .
+ This package ships the OCaml language bindings for gdome2-xslt.
+ .
+ This package contains OCaml development stuff for gdome2-xslt.
+
-usr/lib/ocaml/3.08.3
+usr/lib/ocaml/3.09.0
--- /dev/null
+usr/lib/ocaml/@OCamlABI@
-debian/tmp/usr/lib/ocaml/3.08.3/stublibs/*.owner
-debian/tmp/usr/lib/ocaml/3.08.3/stublibs/lib*.so
-debian/tmp/usr/lib/ocaml/3.08.3/gdome2-xslt/
+debian/tmp/usr/lib/ocaml/3.09.0/stublibs/*.owner
+debian/tmp/usr/lib/ocaml/3.09.0/stublibs/lib*.so
+debian/tmp/usr/lib/ocaml/3.09.0/gdome2-xslt/
--- /dev/null
+debian/tmp/usr/lib/ocaml/@OCamlABI@/stublibs/*.owner
+debian/tmp/usr/lib/ocaml/@OCamlABI@/stublibs/lib*.so
+debian/tmp/usr/lib/ocaml/@OCamlABI@/gdome2-xslt/
-usr/lib/ocaml/3.08.3
+usr/lib/ocaml/3.09.0
--- /dev/null
+usr/lib/ocaml/@OCamlABI@
-debian/tmp/usr/lib/ocaml/3.08.3/stublibs/dll*.so
+debian/tmp/usr/lib/ocaml/3.09.0/stublibs/dll*.so
--- /dev/null
+debian/tmp/usr/lib/ocaml/@OCamlABI@/stublibs/dll*.so
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+
+OCAMLABI := $(shell ocamlc -version)
+OFILES := $(patsubst %.in,%,$(shell ls debian/*.in))
+DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
+
+ocamlinit:
+ for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done