--- php-event-dispatcher-1.0.0.orig/debian/copyright +++ php-event-dispatcher-1.0.0/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Thomas Goirand on +Sat, 12 Dec 2006 21:54:10 +0200. + +It was downloaded at: + http://download.pear.php.net/package/Event_Dispatcher-1.0.0.tgz + +Upstream Author: + + Bertrand Mansion + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. --- php-event-dispatcher-1.0.0.orig/debian/changelog +++ php-event-dispatcher-1.0.0/debian/changelog @@ -0,0 +1,5 @@ +php-event-dispatcher (1.0.0-1) unstable; urgency=low + + * Initial release (Closes: #404654) + + -- Thomas Goirand Fri, 15 Dec 2006 01:34:04 +0100 --- php-event-dispatcher-1.0.0.orig/debian/rules +++ php-event-dispatcher-1.0.0/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + +PEARSRCDIR="Event_Dispatcher-1.0.0" + +install/php-event-dispatcher:: + # php modules + install -D -m 0644 $(PEARSRCDIR)/Dispatcher.php $(DEB_DESTDIR)/usr/share/php/Event/Dispatcher.php + install -D -m 0644 $(PEARSRCDIR)/Notification.php $(DEB_DESTDIR)/usr/share/php/Event/Notification.php + + # doc + mkdir -p $(DEB_DESTDIR)/usr/share/doc/php-event-dispatcher + cp -r $(PEARSRCDIR)/examples $(DEB_DESTDIR)/usr/share/doc/php-event-dispatcher + cp -r $(PEARSRCDIR)/tests $(DEB_DESTDIR)/usr/share/doc/php-event-dispatcher --- php-event-dispatcher-1.0.0.orig/debian/compat +++ php-event-dispatcher-1.0.0/debian/compat @@ -0,0 +1 @@ +5 --- php-event-dispatcher-1.0.0.orig/debian/watch +++ php-event-dispatcher-1.0.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.pear.php.net/package/Event_Dispatcher-(.*).tgz --- php-event-dispatcher-1.0.0.orig/debian/control +++ php-event-dispatcher-1.0.0/debian/control @@ -0,0 +1,20 @@ +Source: php-event-dispatcher +Section: web +Priority: optional +Maintainer: Thomas Goirand +Build-Depends: cdbs, debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: php-event-dispatcher +Architecture: all +Depends: php-pear +Description: Dispatch notifications using PHP callbacks + The Event_Dispatcher acts as a notification dispatch table. It is used to + notify other objects of interesting things. This information is encapsulated in + Event_Notification objects. Client objects register themselves with the + Event_Dispatcher as observers of specific notifications posted by other + objects. When an event occurs, an object posts an appropriate notification to + the Event_Dispatcher. The Event_Dispatcher dispatches a message to each + registered observer, passing the notification as the sole argument. + . + Homepage: http://pear.php.net/package/Event_Dispatcher