]> git.pld-linux.org Git - packages/php-pear-Event_Dispatcher.git/blame - php-pear-Event_Dispatcher.spec
- new
[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
4%define _status beta
5%define _pearname %{_class}_%{_subclass}
6
7Summary: %{_pearname} - Dispatch notifications using PHP callbacks
8#Summary(pl): %{_pearname} -
9Name: php-pear-%{_pearname}
10Version: 0.9.1
11Release: 1
12License: BSD
13Group: Development/Languages/PHP
14Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15# Source0-md5: 975cab848349c5e190ff773b107796c0
16URL: http://pear.php.net/package/Event_Dispatcher/
17BuildRequires: rpm-php-pearprov >= 4.0.2-98
18Requires: php-pear
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The Event_Dispatcher acts as a notification dispatch table. It is used
24to notify other objects of interesting things. This information is
25encapsulated in Event_Notification objects. Client objects register
26themselves with the Event_Dispatcher as observers of specific
27notifications posted by other objects. When an event occurs, an object
28posts an appropriate notification to the Event_Dispatcher. The
29Event_Dispatcher dispatches a message to each registered observer,
30passing the notification as the sole argument.
31
32In PEAR status of this package is: %{_status}.
33
34#%description -l pl
35#...
36#
37#Ta klasa ma w PEAR status: %{_status}.
38
39%prep
40%setup -q -c
41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
45
46install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc %{_pearname}-%{version}/{tests,examples}
54%{php_pear_dir}/%{_class}
This page took 0.341297 seconds and 4 git commands to generate.