]> git.pld-linux.org Git - SPECS.git/blob - php-horde-Horde_Notification.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / php-horde-Horde_Notification.spec
1 %define         status          stable
2 %define         pearname        Horde_Notification
3 Summary:        %{pearname} - Horde Notification System
4 Name:           php-horde-Horde_Notification
5 Version:        1.0.1
6 Release:        2
7 License:        LGPL
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
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 # exclude optional dependencies
29 %define         _noautoreq       pear(Horde/Alarm.*) pear(Horde/Nls.*)
30
31 %description
32 The Horde_Notification library provides a subject-observer pattern for
33 raising and showing messages of different types and to different
34 listeners.
35
36 In PEAR status of this package is: %{status}.
37
38 %prep
39 %pear_package_setup
40
41 %build
42 packagexml2cl package.xml > ChangeLog
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 %pear_package_install
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post -p <lua>
53 %pear_package_print_optionalpackages
54
55 %files
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
This page took 0.297116 seconds and 3 git commands to generate.