[Pkg-nagios-changes] [pkg-nagios] r1135 - tap/trunk/debian
Sean Finney
seanius at alioth.debian.org
Tue Mar 6 22:01:05 CET 2007
Author: seanius
Date: 2007-03-06 21:01:05 +0000 (Tue, 06 Mar 2007)
New Revision: 1135
Added:
tap/trunk/debian/changelog
tap/trunk/debian/compat
tap/trunk/debian/control
tap/trunk/debian/libtap-dev.files
tap/trunk/debian/libtap-dev.links
tap/trunk/debian/libtap.files
tap/trunk/debian/rules
Log:
initial import
Added: tap/trunk/debian/changelog
===================================================================
--- tap/trunk/debian/changelog 2007-03-06 20:54:56 UTC (rev 1134)
+++ tap/trunk/debian/changelog 2007-03-06 21:01:05 UTC (rev 1135)
@@ -0,0 +1,5 @@
+tap (1.01-1) unstable; urgency=low
+
+ * Initial Release to Debian (Closes: #375014)
+
+ -- Tyler 'Crackerjack' MacDonald <crackerjack at crackerjack.net> Thu, 22 Jun 2006 18:27:31 +0100
Added: tap/trunk/debian/compat
===================================================================
--- tap/trunk/debian/compat 2007-03-06 20:54:56 UTC (rev 1134)
+++ tap/trunk/debian/compat 2007-03-06 21:01:05 UTC (rev 1135)
@@ -0,0 +1 @@
+4
Added: tap/trunk/debian/control
===================================================================
--- tap/trunk/debian/control 2007-03-06 20:54:56 UTC (rev 1134)
+++ tap/trunk/debian/control 2007-03-06 21:01:05 UTC (rev 1135)
@@ -0,0 +1,26 @@
+Source: tap
+Section: devel
+Priority: optional
+Maintainer: Tyler 'Crackerjack' MacDonald <crackerjack at crackerjack.net>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 4.2.32), automake1.9, autoconf, libtool
+
+Package: libtap0
+Architecture: any
+Section: libs
+Recommends: libtap-dev
+Description: Unit test building library for the Test Anything Protocol
+ libtap is a C library that provides simple functions to assist in
+ writing unit tests that conform to the Test Anything Protocol (TAP).
+ .
+ TAP is a simple text output of unit test results that can easily be
+ parsed by utilities such as prove(1) and complex QA applications
+ such as Smolder (http://sourceforge.net/projects/smolder/).
+
+Package: libtap-dev
+Architecture: any
+Section: libdevel
+Depends: libtap0
+Description: Development files for libtap
+ This package includes the header file, tap(3) manpage, and development
+ libraries needed for compiling a unit test that uses libtap.
Added: tap/trunk/debian/libtap-dev.files
===================================================================
--- tap/trunk/debian/libtap-dev.files 2007-03-06 20:54:56 UTC (rev 1134)
+++ tap/trunk/debian/libtap-dev.files 2007-03-06 21:01:05 UTC (rev 1135)
@@ -0,0 +1,3 @@
+usr/include/tap.h
+usr/lib/libtap*{a,la,so}
+usr/share/man
Added: tap/trunk/debian/libtap-dev.links
===================================================================
--- tap/trunk/debian/libtap-dev.links 2007-03-06 20:54:56 UTC (rev 1134)
+++ tap/trunk/debian/libtap-dev.links 2007-03-06 21:01:05 UTC (rev 1135)
@@ -0,0 +1 @@
+usr/share/doc/libtap0 usr/share/doc/libtap-dev
Added: tap/trunk/debian/libtap.files
===================================================================
--- tap/trunk/debian/libtap.files 2007-03-06 20:54:56 UTC (rev 1134)
+++ tap/trunk/debian/libtap.files 2007-03-06 21:01:05 UTC (rev 1135)
@@ -0,0 +1 @@
+usr/lib/libtap*.so.*
Added: tap/trunk/debian/rules
===================================================================
--- tap/trunk/debian/rules 2007-03-06 20:54:56 UTC (rev 1134)
+++ tap/trunk/debian/rules 2007-03-06 21:01:05 UTC (rev 1135)
@@ -0,0 +1,85 @@
+#!/usr/bin/make -f
+
+export DH_ALWAYS_EXCLUDE=CVS
+
+version := $(shell sed -n 's/Package: \(.*\)/\1/p' debian/control | head -1)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+package_version = $(shell head -1 debian/changelog | awk '{ print $$2 }' | sed -e "s,(,," -e "s,),,")
+dist_version = $(shell echo $(package_version) | sed -e "s,-.*$$,,")
+dist_name = libtap-$(dist_version)
+deb_dir_name = libtap-$(dist_version)
+deb_pkg_name = libtap_$(dist_version)
+dist_tarball = $(dist_name).tar.gz
+orig_tarball = $(deb_pkg_name).orig.tar.gz
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+configure: configure-stamp
+
+configure-stamp: configure.in
+ dh_testdir
+ autoreconf
+ ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --libexecdir=\$${prefix}/lib
+ touch configure-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ (test -e Makefile && $(MAKE) distclean) || true
+ rm -rf build-stamp configure-stamp* release-stamp release
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k -d
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ dh_movefiles --sourcedir=debian/tmp
+ find debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+
+binary: binary-indep binary-arch
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ rm -rf debian/libtap-dev/usr/share/doc/libtap-dev
+ cp README debian/libtap0/usr/share/doc/libtap0/README
+ (echo; cat COPYING) >> debian/libtap0/usr/share/doc/libtap0/copyright
+ dh_link
+ dh_installchangelogs
+ dh_installdirs
+ dh_strip
+ dh_compress
+ dh_makeshlibs
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+release: release-stamp
+
+release-stamp: configure-stamp
+ dh_clean
+ rm -rf release
+ $(MAKE) dist
+ mkdir release
+ cp $(dist_tarball) release/$(orig_tarball)
+ (cd release && tar xvzf $(orig_tarball))
+ cp -r debian release/$(deb_dir_name)/debian
+ (cd release/$(deb_dir_name) && debuild)
+ touch release-stamp
Property changes on: tap/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+
More information about the Pkg-nagios-changes
mailing list