--- php-net-smartirc-1.0.0.orig/debian/changelog
+++ php-net-smartirc-1.0.0/debian/changelog
@@ -0,0 +1,12 @@
+php-net-smartirc (1.0.0-2) unstable; urgency=low
+
+ * Adapted debian/copyright. Closes: #419911
+
+ -- Patrick Ringl <patrick_@freenet.de> Thu, 19 Apr 2007 17:01:25 +0200
+
+php-net-smartirc (1.0.0-1) unstable; urgency=low
+
+ * Initial release.
+ * Sponsored by Paul van Tilburg
+
+ -- Patrick Ringl <patrick_@freenet.de> Sun, 3 Sep 2006 20:37:34 +0200
--- php-net-smartirc-1.0.0.orig/debian/control
+++ php-net-smartirc-1.0.0/debian/control
@@ -0,0 +1,20 @@
+Source: php-net-smartirc
+Section: web
+Priority: optional
+Maintainer: Patrick Ringl <patrick_@freenet.de>
+Uploaders: Paul van Tilburg <paulvt@debian.org>
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: php-pear
+Standards-Version: 3.7.2
+
+Package: php-net-smartirc
+Architecture: all
+Depends: php-pear
+Description: provides an OO interface to the PHP IRC functions
+ Net_SmartIRC is a PHP class for communication with IRC networks,
+ which conforms to the RFC 2812 (IRC protocol).
+ It's an API that handles all IRC protocol messages.
+ This class is designed for creating IRC bots, chats and show irc related
+ info on webpages.
+ .
+ Homepage: http://pear.php.net/package/Net_SmartIRC
--- php-net-smartirc-1.0.0.orig/debian/examples
+++ php-net-smartirc-1.0.0/debian/examples
@@ -0,0 +1 @@
+Net_SmartIRC-*/examples/*
--- php-net-smartirc-1.0.0.orig/debian/watch
+++ php-net-smartirc-1.0.0/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://pear.php.net/package/Net_SmartIRC/ get/Net_SmartIRC-([\d.]+)\.tgz
--- php-net-smartirc-1.0.0.orig/debian/copyright
+++ php-net-smartirc-1.0.0/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Patrick Ringl <patrick_@freenet.de> on
+Sun, 3 Sep 2006 13:43:23 +0200
+
+It was downloaded from http://pear.php.net/package/Net_SmartIRC/download/
+
+Upstream Authors: Mirco Bauer <mail@meebey.net>,
+ Peter Petermann <webmaster@cyberfly.net>,
+ Andreas Streichardt <mop@spaceregents.de>,
+ Joern Heissler <joern@heissler.de>,
+ Jani Taskinen <sniper@php.net>,
+ Anatoly Techtonik <techtonik@users.sourceforge.net>
+
+License:
+ 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'.
--- php-net-smartirc-1.0.0.orig/debian/rules
+++ php-net-smartirc-1.0.0/debian/rules
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+#export DH_COMPAT=5
+
+PEAR ?= /usr/bin/pear
+pear_pkg = $(shell ls |grep Net_SmartIRC)
+package = php-net-smartirc
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ if [ -f $(pear_pkg)/package.xml ]; then \
+ rm $(pear_pkg)/package.xml; \
+ fi
+ rm -rf AUTHORS
+ dh_clean build-stamp configure-stamp
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/package.
+ cp package.xml $(pear_pkg)/package.xml;
+ $(PEAR) install -n -R debian/$(package) $(pear_pkg)/package.xml;
+ rm -f debian/$(package)/usr/share/php/.filemap;
+ rm -f debian/$(package)/usr/share/php/.lock;
+ rm -rf debian/$(package)/usr/share/php/.channels;
+ rm -rf debian/$(package)/usr/share/php/.depdblock;
+ rm -rf debian/$(package)/usr/share/php/.depdb;
+ rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net;
+ rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
+ rm -rf debian/$(package)/usr/share/php/docs;
+ rm -rf debian/$(package)/usr/share/php/tests;
+ ##
+ # Creating AUTHORS file
+ grep "@author" Net_SmartIRC*/* -R | sed -e 's/.*@author//' -e 's/^ *//' -e 's/>.*/>/' \
+ | sort | uniq > AUTHORS
+
+# 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_installdocs
+ dh_installexamples
+ dh_installchangelogs
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- php-net-smartirc-1.0.0.orig/debian/compat
+++ php-net-smartirc-1.0.0/debian/compat
@@ -0,0 +1 @@
+5