--- kdnssd-avahi-0.1.2.orig/debian/dirs +++ kdnssd-avahi-0.1.2/debian/dirs @@ -0,0 +1 @@ +usr/lib --- kdnssd-avahi-0.1.2.orig/debian/docs +++ kdnssd-avahi-0.1.2/debian/docs @@ -0,0 +1 @@ +README --- kdnssd-avahi-0.1.2.orig/debian/control +++ kdnssd-avahi-0.1.2/debian/control @@ -0,0 +1,13 @@ +Source: kdnssd-avahi +Priority: optional +Maintainer: Jakub Stachowski +Build-Depends: debhelper (>= 4.0.0), autotools-dev, kdelibs4-dev (>= 3.4.0), libavahi-client-dev (>= 0.4), libavahi-qt3-dev (>= 0.4) +Standards-Version: 3.6.2 +Section: libs + +Package: libkdnssd-avahi +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: avahi-daemon, libnss-mdns +Description: Alternative Zeroconf library for KDE using Avahi as backend --- kdnssd-avahi-0.1.2.orig/debian/rules +++ kdnssd-avahi-0.1.2/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + cd kdnssd-avahi && $(MAKE) mocs + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(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 + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + +# 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 + dh_installdocs + dh_install + dh_link + dh_strip + dh_compress + dh_fixperms + 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 --- kdnssd-avahi-0.1.2.orig/debian/changelog +++ kdnssd-avahi-0.1.2/debian/changelog @@ -0,0 +1,12 @@ +kdnssd-avahi (0.1.2-0ubuntu1) unstable; urgency=low + + * New upstream version + + -- Jakub Stachowski Sun, 2 Oct 2005 15:53:10 +0200 + +kdnssd-avahi (0.1.1-0ubuntu1) unstable; urgency=low + + * Initial release + + -- Jakub Stachowski Sun, 2 Oct 2005 15:53:10 +0200 + --- kdnssd-avahi-0.1.2.orig/debian/compat +++ kdnssd-avahi-0.1.2/debian/compat @@ -0,0 +1 @@ +4 --- kdnssd-avahi-0.1.2.orig/debian/libkdnssd-avahi.dirs +++ kdnssd-avahi-0.1.2/debian/libkdnssd-avahi.dirs @@ -0,0 +1 @@ +usr/lib --- kdnssd-avahi-0.1.2.orig/debian/postrm +++ kdnssd-avahi-0.1.2/debian/postrm @@ -0,0 +1,29 @@ +#! /bin/sh +# postrm script for kdnssd-avahi +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + purge|remove) + + dpkg-divert --remove --rename --package libkdnssd-avahi --divert /usr/lib/libkdnssd-avahi/libkdnssd.so.1.0.0.kdelibs4 /usr/lib/libkdnssd-avahi.so.1.0.0 + rmdir /usr/lib/libkdnssd-avahi || true + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm 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 --- kdnssd-avahi-0.1.2.orig/debian/copyright +++ kdnssd-avahi-0.1.2/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Jakub Stachowski on +Sun, 2 Oct 2005 15:53:10 +0200. + +It was downloaded from http://helios.et.put.poznan.pl/~jstachow/pub/ + +Copyright Holder: Jakub Stachowski + +License: + +Copyright (C) 2004, 2005 Jakub Stachowski + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + --- kdnssd-avahi-0.1.2.orig/debian/libkdnssd-avahi.install +++ kdnssd-avahi-0.1.2/debian/libkdnssd-avahi.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.1.0.0 --- kdnssd-avahi-0.1.2.orig/debian/preinst +++ kdnssd-avahi-0.1.2/debian/preinst @@ -0,0 +1,30 @@ +#! /bin/sh +# preinst script for kdnssd-avahi +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + install) + mkdir -p /usr/lib/libkdnssd-avahi + dpkg-divert --add --rename --package libkdnssd-avahi --divert /usr/lib/libkdnssd-avahi/libkdnssd.so.1.0.0.kdecore /usr/lib/libkdnssd.so.1.0.0 + ;; + + upgrade|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 + +