]> git.pld-linux.org Git - packages/php-pear-Event_Dispatcher.git/blame - php-pear-Event_Dispatcher.spec
- rel 2
[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}
31cc0a6c 10Version: 1.0.0
21d7f34f 11Release: 2
39971786 12Epoch: 0
a36564ab
AG
13License: BSD
14Group: Development/Languages/PHP
15Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
31cc0a6c 16# Source0-md5: 0364b1bde5cbe770be9deb0a96cba6e2
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
AG
21Requires: php-pear
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26The Event_Dispatcher acts as a notification dispatch table. It is used
27to notify other objects of interesting things. This information is
28encapsulated in Event_Notification objects. Client objects register
29themselves with the Event_Dispatcher as observers of specific
30notifications posted by other objects. When an event occurs, an object
31posts an appropriate notification to the Event_Dispatcher. The
32Event_Dispatcher dispatches a message to each registered observer,
33passing the notification as the sole argument.
34
35In PEAR status of this package is: %{_status}.
36
466284c9
JR
37%description -l pl.UTF-8
38Event_Dispatcher działa jako tabela przekazywania powiadomień. Służy
39do powiadamiania innych obiektów o interesujących rzeczach. Informacje
40te są opakowywane w obiekty Event_Notification. Obiekty klienckie
41rejestrują się w klasie Event_Dispatcher jako obserwatorzy konkretnych
42powiadomień wysyłanych przez inne obiekty. Kiedy zachodzi zdarzenie,
43obiekt wysyła odpowiednie powiadomienie do klasy Event_Dispatcher.
44Event_Dispatcher przekazuje tę wiadomość do każdego zarejestrowanego
45obserwatora, przekazując powiadomienie jako jedyny argument.
17a7d027
JB
46
47Ta klasa ma w PEAR status: %{_status}.
a36564ab 48
018ed6c4
ER
49%package tests
50Summary: Tests for PEAR::%{_pearname}
96361c13 51Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
a085cf82 52Group: Development/Languages/PHP
0498ecfa 53Requires: %{name} = %{epoch}:%{version}-%{release}
df543fc5 54AutoReq: no
d6e1fd68 55AutoProv: no
018ed6c4
ER
56
57%description tests
58Tests for PEAR::%{_pearname}.
59
466284c9 60%description tests -l pl.UTF-8
018ed6c4
ER
61Testy dla PEAR::%{_pearname}.
62
a36564ab 63%prep
018ed6c4 64%pear_package_setup
a36564ab
AG
65
66%install
67rm -rf $RPM_BUILD_ROOT
018ed6c4
ER
68install -d $RPM_BUILD_ROOT%{php_pear_dir}
69%pear_package_install
a36564ab
AG
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
018ed6c4
ER
76%doc install.log
77%doc docs/%{_pearname}/examples
78%{php_pear_dir}/.registry/*.reg
a36564ab 79%{php_pear_dir}/%{_class}
018ed6c4
ER
80
81%files tests
82%defattr(644,root,root,755)
83%{php_pear_dir}/tests/*
This page took 1.119308 seconds and 4 git commands to generate.