diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:57:39 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:57:39 +0000 |
commit | 4598a1285a43e6cbe4cf5fb22b577e389f120a2b (patch) | |
tree | 1339cb8c9fb8639d0e98eabb2cdb884f9fd83d84 | |
parent | Adding upstream version 0.2. (diff) | |
download | zutils-4598a1285a43e6cbe4cf5fb22b577e389f120a2b.tar.xz zutils-4598a1285a43e6cbe4cf5fb22b577e389f120a2b.zip |
Adding debian version 0.2-1.debian/0.2-1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 19 | ||||
-rw-r--r-- | debian/copyright | 14 | ||||
-rwxr-xr-x | debian/rules | 10 | ||||
-rw-r--r-- | debian/zutils.docs | 2 | ||||
-rw-r--r-- | debian/zutils.postrm | 26 | ||||
-rw-r--r-- | debian/zutils.preinst | 26 |
8 files changed, 103 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..016a511 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +zutils (0.2-1) unstable; urgency=low + + * Initial release. + + -- Daniel Baumann <daniel@debian.org> Sat, 08 Aug 2009 10:53:00 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4a8145d --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: zutils +Section: utils +Priority: extra +Maintainer: Debian Lzip Maintainers <lzip@lists.debian-maintainers.org> +Uploaders: Daniel Baumann <daniel@debian.org> +Build-Depends: debhelper (>= 7), autotools-dev, lzip, texinfo +Standards-Version: 3.8.2 +Homepage: http://www.nongnu.org/lzip/zutils.html +Vcs-Browser: http://git.debian-maintainers.org/?p=lzip/lzip.git +Vcs-Git: git://git.debian-maintainers.org/git/lzip/lzip.git + +Package: zutils +Architecture: all +Depends: ${misc:Depends} +Recommends: bzip2, lzip, xz-utils +Description: utilities for dealing with compressed files transparently + Zutils is a collection of utilities for dealing with any combination of + compressed and non-compressed files transparently. Currently the supported + compressors are gzip, bzip2, lzip, and xz. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2e99412 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,14 @@ +Author: Antonio Diaz Diaz <ant_diaz@teleline.es> +Download: http://www.nongnu.org/lzip/zutils.html + +Files: * +Copyright: (C) 2009 Antonio Diaz Diaz <ant_diaz@teleline.es> +License: PD + These scripts are free software: you have unlimited permission + to copy, distribute and modify it. + +Files: debian/* +Copyright: (C) 2009 Daniel Baumann <daniel@debian.org> +License: PD + The Debian packaging is hereby placed in the public domain (no rights + reserved). diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f7b64bd --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +%: + dh ${@} + +override_dh_auto_install: + $(MAKE) prefix=$(CURDIR)/debian/zutils/usr bindir=$(CURDIR)/debian/zutils/bin install + + # Removing useless file + rm -f debian/zutils/usr/share/info/dir* diff --git a/debian/zutils.docs b/debian/zutils.docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/zutils.docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/zutils.postrm b/debian/zutils.postrm new file mode 100644 index 0000000..709bc34 --- /dev/null +++ b/debian/zutils.postrm @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove) + for FILE in zgrep zcmp zdiff zcat + do + dpkg-divert --package zutils --remove --rename --divert /bin/${FILE}.gzip /bin/${FILE} + dpkg-divert --package zutils --remove --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz + done + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/zutils.preinst b/debian/zutils.preinst new file mode 100644 index 0000000..c24ed84 --- /dev/null +++ b/debian/zutils.preinst @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +case "${1}" in + install) + for FILE in zgrep zcmp zdiff zcat + do + dpkg-divert --package zutils --add --rename --divert /bin/${FILE}.gzip /bin/${FILE} + dpkg-divert --package zutils --add --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz + done + ;; + + upgrade|abort-upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |