--- libooc-xml-3.2.0.orig/debian/docs +++ libooc-xml-3.2.0/debian/docs @@ -0,0 +1 @@ +README --- libooc-xml-3.2.0.orig/debian/control +++ libooc-xml-3.2.0/debian/control @@ -0,0 +1,26 @@ +Source: libooc-xml +Section: devel +Priority: optional +Maintainer: Florian M. Weps +Build-Depends: oo2c (>= 1.5.9), autoconf, libtool, debhelper (>> 3.0.0) +Standards-Version: 3.5.9 + +Package: libooc-xml-dev +Architecture: any +Depends: oo2c (>= 1.5.9), libooc-xml (= ${Source-Version}) +Section: devel +Description: XML parser for the oo2c Oberon-2 compiler (devel) + The libxml sources include the XML parser itself, encoder and decoder + for the most prominent Unicode encodings, an URI library, some + auxiliary OS level functions, and low-level support modules for socket + access. + +Package: libooc-xml +Architecture: any +Depends: ${shlibs:Depends} +Section: libs +Description: XML parser for the oo2c Oberon-2 compiler + The libxml sources include the XML parser itself, encoder and decoder + for the most prominent Unicode encodings, an URI library, some + auxiliary OS level functions, and low-level support modules for socket + access. --- libooc-xml-3.2.0.orig/debian/libooc-xml.dirs +++ libooc-xml-3.2.0/debian/libooc-xml.dirs @@ -0,0 +1 @@ +usr/lib --- libooc-xml-3.2.0.orig/debian/rules +++ libooc-xml-3.2.0/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +# shared library versions, option 1 +version=3.0 +major=3 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +configure: configure-stamp +configure-stamp: + dh_testdir + autoconf + ./configure --prefix=/usr + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) distclean + rm -f configure + rm -f XML.ooc + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cp -pv oo2crc debian/libooc-xml-dev/usr/lib/oo2c/ + $(MAKE) install prefix=$(CURDIR)/debian/libooc-xml-dev/usr + rm -f debian/libooc-xml-dev/usr/lib/oo2c/oo2crc + rm -f debian/libooc-xml-dev/usr/lib/oo2c/oo2crc.orig + rm -f debian/libooc-xml-dev/usr/lib/*.la + cp XML.ooc debian/libooc-xml-dev/etc/oo2c/libooc-xml-dev.ooc + +# 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_movefiles --sourcedir=debian/libooc-xml-dev + +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libooc-xml-3.2.0.orig/debian/libooc-xml-dev.postinst +++ libooc-xml-3.2.0/debian/libooc-xml-dev.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + oo2c-config -i libooc-xml-dev + ;; +esac + +#DEBHELPER# --- libooc-xml-3.2.0.orig/debian/changelog +++ libooc-xml-3.2.0/debian/changelog @@ -0,0 +1,51 @@ +libooc-xml (3.2.0-1) unstable; urgency=low + + * New upstream release + + -- Florian M. Weps Tue, 22 Apr 2003 17:57:39 +0200 + +libooc-xml (3.1.1-2) unstable; urgency=low + + * New maintainer address + * Compiles from source on ia64 (Closes: #142039) + + -- Florian M. Weps Sun, 27 Oct 2002 21:20:56 +0100 + +libooc-xml (3.1.1-1) unstable; urgency=low + + * New upstream release + * compiles on alpha + + -- Florian M. Weps Thu, 10 Oct 2002 13:40:00 +0200 + +libooc-xml (3.1-1) unstable; urgency=low + + * New upstream release + + -- Florian M. Weps Wed, 9 Oct 2002 08:28:08 +0200 + +libooc-xml (3.0-4) unstable; urgency=low + + * New maintainer (Closes: #129588) + + -- Florian M. Weps Wed, 17 Jul 2002 21:49:24 +0200 + +libooc-xml (3.0-3) unstable; urgency=low + + * Moved libooc-xml to libs. + + -- Mike Goldman Sat, 25 Aug 2001 15:04:00 -0400 + +libooc-xml (3.0-2) unstable; urgency=low + + * Makefile.in fixup which made package unbuildable on other systems. + + -- Mike Goldman Sat, 25 Aug 2001 14:41:44 -0400 + +libooc-xml (3.0-1) unstable; urgency=low + + * Initial Release. + + -- Mike Goldman Sat, 25 Aug 2001 08:18:29 -0400 + + --- libooc-xml-3.2.0.orig/debian/libooc-xml.files +++ libooc-xml-3.2.0/debian/libooc-xml.files @@ -0,0 +1 @@ +usr/lib/*.so* --- libooc-xml-3.2.0.orig/debian/libooc-xml-dev.dirs +++ libooc-xml-3.2.0/debian/libooc-xml-dev.dirs @@ -0,0 +1,3 @@ +etc/oo2c +usr/lib/oo2c +usr/sbin --- libooc-xml-3.2.0.orig/debian/libooc-xml-dev.prerm +++ libooc-xml-3.2.0/debian/libooc-xml-dev.prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +case "$1" in + remove) + oo2c-config -r libooc-xml-dev + ;; +esac + +#DEBHELPER# --- libooc-xml-3.2.0.orig/debian/copyright +++ libooc-xml-3.2.0/debian/copyright @@ -0,0 +1,19 @@ +This package was debianized by Mike Goldman on +Sat, 25 Aug 2001 08:18:29 -0400. + +It was downloaded from: + http://sourceforge.net/projects/ooc/ + +Upstream Author(s): + Michael van Acken + +Copyright: + Copyright (C) 2000, 2001 Michael van Acken + + This module is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2 of + the License, or (at your option) any later version. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- libooc-xml-3.2.0.orig/debian/libooc-xml.postinst +++ libooc-xml-3.2.0/debian/libooc-xml.postinst @@ -0,0 +1,11 @@ +#!/bin/sh -e + +case "$1" in + configure) + ldconfig + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; +esac + +#DEBHELPER# --- libooc-xml-3.2.0.orig/Makefile.in +++ libooc-xml-3.2.0/Makefile.in @@ -38,9 +38,13 @@ # Where to install library and other files to run the package. libdir=@libdir@ +### Allow the installation directory to differ from that specified at build time +OOC_LIBDIR_INSTALL=${exec_prefix}/$(shell echo ${OOC_LIBDIR} | sed 's,^/usr/,,') +OOC_INIT_INSTALL=${exec_prefix}/$(shell echo ${OOC_INIT} | sed 's,^/usr/,,') + # The default location for installation of compiler specific files # (symbol files, header files, etc) and the module source code. -ooc_pkgdir=${OOC_LIBDIR}/${package} +ooc_pkgdir=${OOC_LIBDIR_INSTALL}/${package} subdirs=IO OS URI URI/Authority URI/Fragment URI/Query URI/Scheme XML XML/Basic XML/Builder XML/UnicodeCodec @@ -77,10 +81,12 @@ for i in src/*.[ch]; do \ $(INSTALL_DATA) $$i ${ooc_pkgdir}; \ done; \ - cat config.ooc | xargs $(OOCONFIG) $(OOC_INIT) --remove-line "*:$(package):*" \ - --append-line PATHS:$(package):SRC "GET *.Mod,*.c FROM $(ooc_pkgdir);" \ - --append-line PATHS:$(package):SYM "GET *.Sym,*.Lib FROM $(ooc_pkgdir)/sym;" \ - --append-line PATHS:$(package):OBJ "GET *.h,*.c,*.d,*.o FROM $(ooc_pkgdir)/obj;" + echo "--remove-line \"*:$(package):*\"" >> $(package).ooc + echo "--append-line PATHS:$(package):SRC \"GET *.Mod,*.c FROM $(ooc_pkgdir);\"" | sed 's;$(shell pwd)/debian/libooc-xml-dev;;' >> $(package).ooc + echo "--append-line PATHS:$(package):SYM \"GET *.Sym,*.Lib FROM $(ooc_pkgdir)/sym;\"" | sed 's;$(shell pwd)/debian/libooc-xml-dev;;' >> $(package).ooc + echo "--append-line PATHS:$(package):OBJ \"GET *.h,*.c,*.d,*.o FROM $(ooc_pkgdir)/obj;\"" | sed 's;$(shell pwd)/debian/libooc-xml-dev;;' >> $(package).ooc + cat config.ooc >> $(package).ooc + cat $(package).ooc | xargs $(OOCONFIG) $(OOC_INIT_INSTALL) for i in sym/*.Sym; do \ $(INSTALL_DATA) $$i ${ooc_pkgdir}/sym; \ done