--- lhasa-0.0.6.orig/debian/liblhasa0.install +++ lhasa-0.0.6/debian/liblhasa0.install @@ -0,0 +1,2 @@ +usr/lib/liblhasa.so.0.0.0 usr/lib +usr/lib/liblhasa.so.0 usr/lib --- lhasa-0.0.6.orig/debian/control +++ lhasa-0.0.6/debian/control @@ -0,0 +1,56 @@ +Source: lhasa +Section: utils +Priority: optional +Maintainer: Jon Dowland +Build-Depends: debhelper (>= 9.20120115), automake (>= 1:1.11.3), + autoconf (>= 2.68), libtool (>= 2.4.2) +Standards-Version: 3.9.3 +Homepage: http://fragglet.github.com/lhasa/ +Vcs-Browser: http://git.debian.org/?p=collab-maint/lhasa.git +Vcs-Git: git://git.debian.org/git/collab-maint/lhasa.git + +Package: lhasa +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: lha (<< 1.14i-10.4) +Description: lzh archive decompressor + Lhasa lha is a tool for parsing LHA (.lzh) archives and a free + replacement for the Unix LHA tool. + . + Currently it is only possible to read from (ie. decompress) archives; + generating (compressing) LHA archives may be an enhancement for future + versions. The aim is to be compatible with as many different variants + of the LHA file format as possible, including LArc (.lzs) and + PMarc (.pma). + . + The command line tool aims to be interface-compatible with the non-free + Unix LHA tool (command line syntax and output), for backwards + compatibility with tools that expect particular output. + +Package: liblhasa-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, liblhasa0 (= ${binary:Version}) +Description: lzh decompression library - development files + Lhasa is a library for parsing LHA (.lzh) archives and a free + replacement for the Unix LHA tool. + . + Currently it is only possible to read from (ie. decompress) archives; + generating (compressing) LHA archives may be an enhancement for future + versions. The aim is to be compatible with as many different variants + of the LHA file format as possible, including LArc (.lzs) and PMarc + (.pma). + +Package: liblhasa0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: lzh archive decompression library + Lhasa is a library for parsing LHA (.lzh) archives and a free + replacement for the Unix LHA tool. + . + Currently it is only possible to read from (ie. decompress) archives; + generating (compressing) LHA archives may be an enhancement for future + versions. The aim is to be compatible with as many different variants + of the LHA file format as possible, including LArc (.lzs) and PMarc + (.pma). --- lhasa-0.0.6.orig/debian/lhasa.manpages +++ lhasa-0.0.6/debian/lhasa.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/lhasa.1 --- lhasa-0.0.6.orig/debian/lhasa.postinst +++ lhasa-0.0.6/debian/lhasa.postinst @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +case "$1" in + configure|abort-upgrade) + update-alternatives --install /usr/bin/lha lha /usr/bin/lhasa 30 \ + --slave /usr/share/man/man1/lha.1.gz lha.1.gz /usr/share/man/man1/lhasa.1.gz + + ;; + + abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- lhasa-0.0.6.orig/debian/lhasa.prerm +++ lhasa-0.0.6/debian/lhasa.prerm @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +case "$1" in + remove) + update-alternatives --remove lha /usr/bin/lhasa + ;; + + upgrade|deconfigure|failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- lhasa-0.0.6.orig/debian/changelog +++ lhasa-0.0.6/debian/changelog @@ -0,0 +1,12 @@ +lhasa (0.0.6-2) unstable; urgency=low + + * correct liblhasa-dev to depend on liblhasa0. + Thanks Aaron M. Ucko. Closes: #674438. + + -- Jon Dowland Thu, 24 May 2012 17:14:47 +0100 + +lhasa (0.0.6-1) unstable; urgency=low + + * Initial package. Closes: #671154. + + -- Jon Dowland Tue, 22 May 2012 23:05:51 +0100 --- lhasa-0.0.6.orig/debian/lhasa.install +++ lhasa-0.0.6/debian/lhasa.install @@ -0,0 +1 @@ +usr/bin/lhasa usr/bin --- lhasa-0.0.6.orig/debian/rules +++ lhasa-0.0.6/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +dhargs := --parallel + +%: + prefix="/usr" dh $@ $(dhargs) + +override_dh_auto_configure: + ./autogen.sh + dh_auto_configure $(dhargs) -- --program-suffix=sa + +override_dh_auto_clean: + dh_auto_clean $(dhargs) + rm -f autotools/missing \ + autotools/depcomp \ + autotools/config.guess \ + autotools/ltmain.sh \ + autotools/compile \ + autotools/config.sub \ + autotools/install-sh \ + INSTALL \ + Makefile.in \ + aclocal.m4 \ + config.hin \ + configure \ + doc/Makefile.in \ + lib/Makefile.in \ + lib/public/Makefile.in \ + pkg/Makefile.in \ + src/Makefile.in \ + test/Makefile.in + --- lhasa-0.0.6.orig/debian/compat +++ lhasa-0.0.6/debian/compat @@ -0,0 +1 @@ +8 --- lhasa-0.0.6.orig/debian/liblhasa-dev.install +++ lhasa-0.0.6/debian/liblhasa-dev.install @@ -0,0 +1,5 @@ +usr/include/liblhasa-1.0/lha_input_stream.h usr/include/liblhasa-1.0 +usr/include/liblhasa-1.0/lha_reader.h usr/include/liblhasa-1.0 +usr/include/liblhasa-1.0/lha_file_header.h usr/include/liblhasa-1.0 +usr/lib/liblhasa.a usr/lib +usr/lib/liblhasa.so usr/lib --- lhasa-0.0.6.orig/debian/copyright +++ lhasa-0.0.6/debian/copyright @@ -0,0 +1,22 @@ +Files: * +Copyright: Copyright © 2011, 2012, Simon Howard +License: ISC + +Files: debian/* +Copyright: Copyright © 2012 Jon Dowland +License: ISC + +License: ISC + Permission to use, copy, modify, and/or distribute this software + for any purpose with or without fee is hereby granted, provided + that the above copyright notice and this permission notice appear + in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --- lhasa-0.0.6.orig/debian/source/format +++ lhasa-0.0.6/debian/source/format @@ -0,0 +1 @@ +1.0