From 0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 3 Aug 2011 14:44:58 -0500 Subject: Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick --- .../lenny/applications/knutclient/debian/changelog | 242 +++++++++++++++++++++ debian/lenny/applications/knutclient/debian/compat | 1 + .../lenny/applications/knutclient/debian/control | 17 ++ .../lenny/applications/knutclient/debian/copyright | 15 ++ .../applications/knutclient/debian/knutclient.1x | 42 ++++ .../applications/knutclient/debian/knutclient.menu | 7 + .../lenny/applications/knutclient/debian/preinst | 52 +++++ debian/lenny/applications/knutclient/debian/rules | 132 +++++++++++ debian/lenny/applications/knutclient/debian/watch | 2 + 9 files changed, 510 insertions(+) create mode 100644 debian/lenny/applications/knutclient/debian/changelog create mode 100644 debian/lenny/applications/knutclient/debian/compat create mode 100644 debian/lenny/applications/knutclient/debian/control create mode 100644 debian/lenny/applications/knutclient/debian/copyright create mode 100644 debian/lenny/applications/knutclient/debian/knutclient.1x create mode 100644 debian/lenny/applications/knutclient/debian/knutclient.menu create mode 100644 debian/lenny/applications/knutclient/debian/preinst create mode 100755 debian/lenny/applications/knutclient/debian/rules create mode 100644 debian/lenny/applications/knutclient/debian/watch (limited to 'debian/lenny/applications/knutclient') diff --git a/debian/lenny/applications/knutclient/debian/changelog b/debian/lenny/applications/knutclient/debian/changelog new file mode 100644 index 000000000..5788cd153 --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/changelog @@ -0,0 +1,242 @@ +knutclient-trinity (0.9.5-0ubuntu1) karmic; urgency=low + + * Karmic build + + -- Timothy Pearson Wed, 09 Dec 2009 21:24:00 -0600 + +knutclient (0.9.5-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable (LP: #369649), remaining changes: + - debian/rules: Dropped arts support by adding --without-arts parameter to + configure script call + - debian/rules: Use dh_icons + + -- Fabrice Coutadeur Thu, 30 Apr 2009 05:42:32 +0200 + +knutclient (0.9.5-1) unstable; urgency=low + + * New upstream release + * debian/rules: remove the empty TODO file from dh_installdocs + * debian/control: add a missing comma on Depends + + -- Arnaud Quette Mon, 30 Mar 2009 09:29:30 +0200 + +knutclient (0.9.4-1ubuntu2) jaunty; urgency=low + + * debian/rules: added --without-arts parameter to configure script call to + rebuild without arts support (LP: #320915) + + -- Fabrice Coutadeur Sat, 18 Apr 2009 05:54:52 +0000 + +knutclient (0.9.4-1ubuntu1) jaunty; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - debian/rules: Use dh_icons + + -- Andreas Wenning Tue, 11 Nov 2008 19:17:11 +0100 + +knutclient (0.9.4-1) unstable; urgency=low + + * New upstream release + * Merge back Ubuntu changes + * debian/knutclient.menu: update section to fix lintian warnings + * debian/watch: update the pattern for matching new releases (Closes: #471247) + * debian/control: + - move Homepage to the field and update the URL + - update Standards-Version to 3.8.0 + - update debhelper Build-Depends to 5.0.51 + - add automake and autoconf to Build-Depends + - update NUT URL + * debian/rules: + - fix lintian warning debian-rules-ignores-make-clean-error + - add a commented call to dh_icons + + -- Arnaud Quette Thu, 19 Jun 2008 11:09:50 +0200 + +knutclient (0.9.3-1.1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/rules: + + Replace dh_iconcache with dh_icons. + + Fix lintian warning: debian-rules-ignores-make-clean-error + - debian/control: + + Build-depend on debhelper >= 5.0.51 (for dh_icons). + + MOTU maintainer update + * debian/control: + + Add Homepage field and update homepage + + -- Andreas Wenning Tue, 03 Jun 2008 23:32:28 +0200 + +knutclient (0.9.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix gcc-4.3 FTBFS, patch by KiBi (Closes: #455358) + + -- Marc 'HE' Brockschmidt Sun, 16 Mar 2008 18:36:10 +0100 + +knutclient (0.9.3-1ubuntu2) hardy; urgency=low + + * debian/rules: + + Replace dh_iconcache with dh_icons. + + Fix lintian warning: debian-rules-ignores-make-clean-error + * debian/control: + + Build-depend on debhelper >= 5.0.51 (for dh_icons). + + -- Michael Bienia Sun, 02 Mar 2008 01:08:40 +0100 + +knutclient (0.9.3-1ubuntu1) feisty; urgency=low + + * UVE Exception: New Upstream release + * Fixes BTS #410405 (FTBFS on x86_64) + * debian/rules: + - commented out dh_iconcache call + * debian/control: + - Added Ubuntu MOTU Maintainer Field + - Moved old Maintainer field to Original-Maintainer + * debian/changelog: + - Merged Ubuntu Changelog entries + + -- Stephan Hermann Thu, 8 Mar 2007 16:08:31 +0100 + +knutclient (0.9.3-1) unstable; urgency=low + + * New upstream release (Closes: #410405) + * debian/watch: remove the stable directory from the URL. This symlink seems + to break uscan. + * debian/rules: add a commented call to dh_iconcache (Ubuntu patch) + + -- Arnaud Quette Mon, 19 Feb 2007 09:36:52 +0100 + +knutclient (0.9.2-1) unstable; urgency=low + + * New upstream release (Closes: #337211) + * debian/control: update the Standards-Version to 3.7.2 + * debian/rules: dh_clean also suppress po/*gmo in the clean rule + + -- Arnaud Quette Thu, 8 Feb 2007 12:58:35 +0100 + +knutclient (0.8.6-2ubuntu1) dapper; urgency=low + + * Added dh_iconcache + + -- Sarah Hobbs Sat, 13 May 2006 21:04:15 +1000 + +knutclient (0.8.6-2build1) dapper; urgency=low + + * Rebuild KDE universe for libstdc++ transition + + -- Jonathan Riddell Sat, 17 Dec 2005 16:24:48 +0000 + +knutclient (0.8.6-2) unstable; urgency=low + + * Rebuilt against KDE 3.4 with g++-4 for the C++ ABI transition + (closes: #327959). Build-dependencies and shlibs updated accordingly. + * debian/control: change Section to kde, and rework a bit the Homepage URL + + -- Arnaud Quette Tue, 13 Sep 2005 11:12:18 +0200 + +knutclient (0.8.6-1) unstable; urgency=low + + * New upstream release (closes: #314005) + * debian/control: update Standard to 3.6.2 + + -- Arnaud Quette Tue, 19 Jul 2005 09:03:18 +0200 + +knutclient (0.8.5-1) unstable; urgency=low + + * New upstream release + + -- Arnaud Quette Sun, 17 Oct 2004 20:01:05 +0200 + +knutclient (0.8.4-1) unstable; urgency=low + + * New upstream release (closes: #265446) + * debian/watch: update to new format + * debian/knutclient.menu: change section to System + + -- Arnaud Quette Sat, 11 Sep 2004 21:32:08 +0200 + +knutclient (0.8.3-1) unstable; urgency=low + + * New upstream release (closes: #259038) + * debian/rules: properly install menu file by fixing dh_installmenu call + + -- Arnaud Quette Thu, 12 Aug 2004 22:24:08 +0200 + +knutclient (0.8.2-2) unstable; urgency=low + + * debian/knutclient.menu: renamed from debian/menu + * debian/knutclient.menu: reformat, complete command path and quotes strings + * debian.knutclient.1x: change forgotten section, and update NUT URL + + -- Arnaud Quette Thu, 8 Jul 2004 21:16:23 +0200 + +knutclient (0.8.2-1) unstable; urgency=low + + * New upstream release + + -- Arnaud Quette Thu, 8 Jul 2004 13:26:43 +0200 + +knutclient (0.8.1-1) unstable; urgency=low + + * New upstream release + * debian/watch: update target + + -- Arnaud Quette Tue, 20 Apr 2004 21:08:38 +0200 + +knutclient (0.7.5-1) unstable; urgency=low + + * New upstream release + + -- Arnaud Quette Sat, 14 Feb 2004 14:06:54 +0100 + +knutclient (0.7.4-1) unstable; urgency=low + + * New upstream release + + -- Arnaud Quette Wed, 21 Jan 2004 22:17:05 +0100 + +knutclient (0.7.3-1) unstable; urgency=low + + * New upstream release + + -- Arnaud Quette Wed, 5 Nov 2003 18:45:06 +0100 + +knutclient (0.7.2-release-1) unstable; urgency=low + + * New upstream release + * debian/rules: add --enable-mt to configure call + + -- Arnaud Quette Sat, 18 Oct 2003 15:52:04 +0200 + +knutclient (0.7.2-pre2-1) unstable; urgency=low + + * New upstream release + * admin/debianrules has been updated to fix KDE doc path + problems (thanks to Ben Burton) (closes: Bug#210962) + * debian/preinst: add script for cleaning /usr/share/doc/HTML/*/knutclient/ + on upgrading from previous release + * debian/control: add Homepage to Description + * debian/control: change maintainer address to the good debian's one + + -- Arnaud Quette Sun, 12 Oct 2003 18:32:02 +0200 + +knutclient (0.7.1-1) unstable; urgency=low + + * New upstream release + + -- Arnaud Quette Thu, 11 Sep 2003 21:25:22 +0200 + +knutclient (0.7.0-release-1) unstable; urgency=low + + * New upstream release + * debian/control: change Maintainer address to debian.org + + -- Arnaud Quette Thu, 4 Sep 2003 23:42:05 +0200 + +knutclient (0.7.0-pre2-1) unstable; urgency=low + + * Initial Release (closes: Bug#201015). + + -- Arnaud Quette Tue, 19 Aug 2003 18:44:47 +0200 + diff --git a/debian/lenny/applications/knutclient/debian/compat b/debian/lenny/applications/knutclient/debian/compat new file mode 100644 index 000000000..b8626c4cf --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/lenny/applications/knutclient/debian/control b/debian/lenny/applications/knutclient/debian/control new file mode 100644 index 000000000..84941f4b7 --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/control @@ -0,0 +1,17 @@ +Source: knutclient-trinity +Section: kde +Priority: optional +Maintainer: Timothy Pearson +XSBC-Original-Maintainer: Arnaud Quette +Standards-Version: 3.8.4 +Build-Depends: debhelper (>= 5.0.51), kdelibs4-trinity-dev, automake, autoconf, libtool, libltdl-dev +Homepage: http://www.knut.noveradsl.cz/knutclient/ + +Package: knutclient-trinity +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] + KNutClient monitors UPS statistics through the NUT (Network UPS Tools, + http://www.networkupstools.org/) framework on Linux and other systems. This + information, presented in a nice visual format, can be invaluable on + stations using an UPS. diff --git a/debian/lenny/applications/knutclient/debian/copyright b/debian/lenny/applications/knutclient/debian/copyright new file mode 100644 index 000000000..2d9b4b658 --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Arnaud Quette on +Thu, 10 Jul 2003 14:13:53 +0200. + +It was downloaded from ftp://ftp.buzuluk.cz/pub/alo/knutclient + +Upstream Author: Daniel Prynych + +Copyright: + +KNutClient is copyright (c) 2001-2003 by Daniel Prynych and licensed through +the GNU General Public License v2. Read the COPYING file for the complete +GNU license. + +On Debian systems, the full text of the GNU General Public Licesne can +be found in /usr/share/common-licenses/GPL. diff --git a/debian/lenny/applications/knutclient/debian/knutclient.1x b/debian/lenny/applications/knutclient/debian/knutclient.1x new file mode 100644 index 000000000..231658277 --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/knutclient.1x @@ -0,0 +1,42 @@ +.TH KNUTCLIENT 1 "july 8, 2004" +.SH NAME +knutclient \- A KDE GUI that displays UPS statistics from NUT's upsd +.SH SYNOPSIS +.B knutclient [option] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B knutclient +program. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +Instead, it has documentation in the KDE Help format you +should better refer to. +.PP +\fBknutclient\fP monitors UPS statistics through the NUT (Network UPS Tools, +http://www.networkupstools.org/) framework on Linux and other systems. This +information, presented in a nice visual format, can be invaluable on stations +using an UPS. + +.SH OPTIONS +This program follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the KDE Help. +.TP +.B \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.TP +.B \-v, \-\-author +Show author of program. +.SH SEE ALSO +.BR upsc (8), +.BR upsd (8). +.br +The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ +.SH AUTHOR +This manual page was written by Arnaud Quette , +for the Debian project (but may be used by others). diff --git a/debian/lenny/applications/knutclient/debian/knutclient.menu b/debian/lenny/applications/knutclient/debian/knutclient.menu new file mode 100644 index 000000000..a520f80ba --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/knutclient.menu @@ -0,0 +1,7 @@ +?package(knutclient):\ + needs="X11"\ + section="Applications/System/Monitoring"\ + hints="KDE"\ + title="KNutClient"\ + command="/opt/trinity/bin/knutclient" + diff --git a/debian/lenny/applications/knutclient/debian/preinst b/debian/lenny/applications/knutclient/debian/preinst new file mode 100644 index 000000000..7cf5218d6 --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/preinst @@ -0,0 +1,52 @@ +#! /bin/sh +# preinst script for knutclient +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + upgrade) + # cleanup remaining doc from release prior to 0.7.2 + if dpkg --compare-versions "$2" lt "0.7.2" ; then + # first pass for files + for i in `find /usr/share/doc/HTML/*/knutclient/ -type f` + do + rm -f $i + done + + # second pass for directories and empty parents + for i in `find /usr/share/doc/HTML/*/knutclient/ -type d` + do + rmdir --ignore-fail-on-non-empty --parents $i + done + fi + ;; + + install|abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/lenny/applications/knutclient/debian/rules b/debian/lenny/applications/knutclient/debian/rules new file mode 100755 index 000000000..7e8adfc25 --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/rules @@ -0,0 +1,132 @@ +#!/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 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-qt-includes=/usr/include/qt3/ --with-qt-libraries=/usr/lib/qt3/ --enable-mt --disable-rpath + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/knutclient.sgml > knutclient.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean po/*gmo + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/knutclient-trinity. + $(MAKE) install DESTDIR=$(CURDIR)/debian/knutclient-trinity + + +# 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_installchangelogs ChangeLog + dh_installdocs README + dh_installexamples +# dh_install + dh_installmenu -pknutclient-trinity +# dh_iconcache +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman debian/knutclient.1x + dh_icons + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/lenny/applications/knutclient/debian/watch b/debian/lenny/applications/knutclient/debian/watch new file mode 100644 index 000000000..231bd3e50 --- /dev/null +++ b/debian/lenny/applications/knutclient/debian/watch @@ -0,0 +1,2 @@ +version=2 +ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/knutclient-(.*?)\.tar\.gz debian uupdate -- cgit v1.2.1