]> git.pld-linux.org Git - packages/php-pear-Event_Dispatcher.git/blame - php-pear-Event_Dispatcher.spec
- dropped -tests subpackage
[packages/php-pear-Event_Dispatcher.git] / php-pear-Event_Dispatcher.spec
CommitLineData
a36564ab
AG
1%include /usr/lib/rpm/macros.php
2%define _class Event
3%define _subclass Dispatcher
31cc0a6c 4%define _status stable
a36564ab
AG
5%define _pearname %{_class}_%{_subclass}
6
17a7d027 7Summary: %{_pearname} - dispatch notifications using PHP callbacks
96361c13 8Summary(pl.UTF-8): %{_pearname} - przekazywanie powiadomień za pośrednictwem callbacków PHP
a36564ab 9Name: php-pear-%{_pearname}
462f6bee
ER
10Version: 1.1.0
11Release: 1
39971786 12Epoch: 0
a36564ab
AG
13License: BSD
14Group: Development/Languages/PHP
15Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
462f6bee 16# Source0-md5: cf21ab8b519110a0d574a6822a67a6d8
a36564ab 17URL: http://pear.php.net/package/Event_Dispatcher/
3380b316 18BuildRequires: php-pear-PEAR
018ed6c4 19BuildRequires: rpm-php-pearprov >= 4.4.2-11
9a32d257 20BuildRequires: rpmbuild(macros) >= 1.300
a36564ab 21Requires: php-pear
b813e6d2 22Obsoletes: php-pear-Event_Dispatcher-tests
a36564ab
AG
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27The Event_Dispatcher acts as a notification dispatch table. It is used
28to notify other objects of interesting things. This information is
29encapsulated in Event_Notification objects. Client objects register
30themselves with the Event_Dispatcher as observers of specific
31notifications posted by other objects. When an event occurs, an object
32posts an appropriate notification to the Event_Dispatcher. The
33Event_Dispatcher dispatches a message to each registered observer,
34passing the notification as the sole argument.
35
36In PEAR status of this package is: %{_status}.
37
466284c9
JR
38%description -l pl.UTF-8
39Event_Dispatcher działa jako tabela przekazywania powiadomień. Służy
40do powiadamiania innych obiektów o interesujących rzeczach. Informacje
41te są opakowywane w obiekty Event_Notification. Obiekty klienckie
42rejestrują się w klasie Event_Dispatcher jako obserwatorzy konkretnych
43powiadomień wysyłanych przez inne obiekty. Kiedy zachodzi zdarzenie,
44obiekt wysyła odpowiednie powiadomienie do klasy Event_Dispatcher.
45Event_Dispatcher przekazuje tę wiadomość do każdego zarejestrowanego
46obserwatora, przekazując powiadomienie jako jedyny argument.
17a7d027
JB
47
48Ta klasa ma w PEAR status: %{_status}.
a36564ab
AG
49
50%prep
018ed6c4 51%pear_package_setup
a36564ab
AG
52
53%install
54rm -rf $RPM_BUILD_ROOT
018ed6c4
ER
55install -d $RPM_BUILD_ROOT%{php_pear_dir}
56%pear_package_install
a36564ab
AG
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
018ed6c4
ER
63%doc install.log
64%doc docs/%{_pearname}/examples
65%{php_pear_dir}/.registry/*.reg
a36564ab 66%{php_pear_dir}/%{_class}
This page took 0.175547 seconds and 4 git commands to generate.