2 %define pearname Horde_Notification
3 Summary: %{pearname} - Horde Notification System
4 Name: php-horde-Horde_Notification
8 Group: Development/Languages/PHP
9 Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5: 9dcd960ee1086d2655bccb540e45c736
11 URL: https://github.com/horde/horde/tree/master/framework/Notification/
12 BuildRequires: php-channel(pear.horde.org)
13 BuildRequires: php-packagexml2cl
14 BuildRequires: php-pear-PEAR
15 BuildRequires: php-pear-PEAR >= 1:1.7.0
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.610
18 Requires: php(gettext)
19 Requires: php-channel(pear.horde.org)
20 Requires: php-horde-Horde_Exception < 2.0.0
21 Requires: php-horde-Horde_Util < 2.0.0
22 Requires: php-pear >= 4:1.3.6-2
23 Suggests: php-horde-Horde_Alarm
24 Suggests: php-horde-Horde_Nls
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 # exclude optional dependencies
29 %define _noautoreq pear(Horde/Alarm.*) pear(Horde/Nls.*)
32 The Horde_Notification library provides a subject-observer pattern for
33 raising and showing messages of different types and to different
36 In PEAR status of this package is: %{status}.
42 packagexml2cl package.xml > ChangeLog
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
50 rm -rf $RPM_BUILD_ROOT
53 %pear_package_print_optionalpackages
56 %defattr(644,root,root,755)
57 %doc ChangeLog install.log
58 %doc optional-packages.txt
59 %{php_pear_dir}/.registry/.channel.*/*.reg
60 %{php_pear_dir}/Horde/Notification.php
61 %{php_pear_dir}/Horde/Notification