1
0
Fork 0

Adding debian version 0.2-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 04:42:58 +01:00
parent 90aec685c7
commit b717ff9f7b
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
8 changed files with 103 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -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

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
7

19
debian/control vendored Normal file
View file

@ -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.

14
debian/copyright vendored Normal file
View file

@ -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).

10
debian/rules vendored Executable file
View file

@ -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*

2
debian/zutils.docs vendored Normal file
View file

@ -0,0 +1,2 @@
NEWS
README

26
debian/zutils.postrm vendored Normal file
View file

@ -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

26
debian/zutils.preinst vendored Normal file
View file

@ -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