--- php-event-dispatcher-1.1.0.orig/debian/control +++ php-event-dispatcher-1.1.0/debian/control @@ -0,0 +1,21 @@ +Source: php-event-dispatcher +Section: web +Priority: optional +Maintainer: Thomas Goirand +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: php-pear +Standards-Version: 3.8.4 +Vcs-Browser: http://svn.php.net/viewvc/pear/packages/Event_Dispatcher/trunk/ +Homepage: http://pear.php.net/package/Event_Dispatcher + +Package: php-event-dispatcher +Architecture: all +Depends: ${misc: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. --- php-event-dispatcher-1.1.0.orig/debian/copyright +++ php-event-dispatcher-1.1.0/debian/copyright @@ -0,0 +1,49 @@ +This package was debianized by Thomas Goirand on +Sat, 12 Dec 2006 21:54:10 +0200. + +It was downloaded at: + http://pear.php.net/package/Event_Dispatcher/download + +Files: debian/* +Copyright: (c) 2006-2009, Thomas Goirand +License: LGPL + + This library 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.1 of the License, or (at your option) any later version. + + This library 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 library; 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 (LGPL) may be found in /usr/share/common-licenses/LGPL. + +Files: * +Copyright: (c) 2005-2009, Bertrand Mansion +License: BSD + + 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.1.0.orig/debian/compat +++ php-event-dispatcher-1.1.0/debian/compat @@ -0,0 +1 @@ +7 --- php-event-dispatcher-1.1.0.orig/debian/rules +++ php-event-dispatcher-1.1.0/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 +PEAR ?= /usr/bin/pear +pear_pkg = $(shell ls |grep Event_Dispatcher) +package = php-event-dispatcher + +build: + +clean: + dh_testdir + dh_testroot + if [ -f $(pear_pkg)/package.xml ]; then \ + rm $(pear_pkg)/package.xml; \ + fi + dh_clean build-stamp configure-stamp + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + cp package.xml $(pear_pkg)/package.xml; + $(PEAR) install -f -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/docs; + rm -rf debian/$(package)/usr/share/php/tests; + 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)/tmp; + + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs $(pear_pkg)/tests + dh_installexamples $(pear_pkg)/examples/notification-class.php $(pear_pkg)/examples/cancel.php $(pear_pkg)/examples/object.php $(pear_pkg)/examples/bubbling.php + chmod -x debian/$(package)/usr/share/doc/$(package)/examples/*.php + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- php-event-dispatcher-1.1.0.orig/debian/watch +++ php-event-dispatcher-1.1.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pear.php.net/package/Event_Dispatcher/download http://download.pear.php.net/package/Event_Dispatcher-(.*).tgz --- php-event-dispatcher-1.1.0.orig/debian/changelog +++ php-event-dispatcher-1.1.0/debian/changelog @@ -0,0 +1,27 @@ +php-event-dispatcher (1.1.0-1) unstable; urgency=low + + * New upstream release. + * Bumped Standard-Version. + * Cleaned debian/rules of arch-specific targets. + * Moved php-pear from Build-Depends: to Build-Depends-Indep:. + * Added a ${misc:Depends} dependency. + * Reindented long desc. + * Added Homepage and Vcs-Browser field. + * Reworked debian/copyright. + * Now using zigo@debian.org for the maintainer field. + + -- Thomas Goirand Mon, 05 Jul 2010 12:01:20 +0800 + +php-event-dispatcher (1.0.0-2) unstable; urgency=low + + * Not a CDBS package anymore: rewrote the debian/rules + * Now packaging the pear .reg file so pear install continues to work + * The watch file now works. + + -- Thomas Goirand Sun, 5 Aug 2007 16:10:48 +0800 + +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.1.0.orig/debian/source/format +++ php-event-dispatcher-1.1.0/debian/source/format @@ -0,0 +1 @@ +1.0