]>
Commit | Line | Data |
---|---|---|
5e2104dd ER |
1 | %define status stable |
2 | %define pearname Horde_Alarm | |
5e2104dd ER |
3 | Summary: %{pearname} - Horde alarm libraries |
4 | Name: php-horde-Horde_Alarm | |
1b8e7270 | 5 | Version: 1.0.8 |
5e2104dd ER |
6 | Release: 1 |
7 | License: LGPL | |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
1b8e7270 | 10 | # Source0-md5: e6ab0f6fa6f1819674401d56a6f720e3 |
4af99bff | 11 | URL: https://github.com/horde/horde/tree/master/framework/Alarm/ |
5e2104dd ER |
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.593 | |
18 | Requires: php-channel(pear.horde.org) | |
19 | Requires: php-horde-Horde_Date < 2.0.0 | |
20 | Requires: php-horde-Horde_Exception < 2.0.0 | |
21 | Requires: php-horde-Horde_Translation < 2.0.0 | |
de65066f | 22 | Requires: php-pear >= 4:1.3.6-2 |
5e2104dd ER |
23 | Suggests: php-horde-Horde_Db |
24 | Suggests: php-horde-Horde_Log | |
25 | Suggests: php-horde-Horde_Mail | |
26 | Suggests: php-horde-Horde_Mime | |
27 | Suggests: php-horde-Horde_Notification | |
28 | Suggests: php-horde-Horde_Perms | |
29 | Suggests: php-horde-Horde_Prefs | |
30 | BuildArch: noarch | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
5e2104dd ER |
33 | %description |
34 | This package provides an interface to deal with reminders, alarms and | |
35 | notifications through a standardized API. The following notification | |
36 | methods are available at the moment: standard Horde notifications, | |
37 | popups, emails, sms. | |
38 | ||
39 | In PEAR status of this package is: %{status}. | |
40 | ||
41 | %prep | |
42 | %pear_package_setup | |
43 | ||
44 | %build | |
45 | packagexml2cl package.xml > ChangeLog | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
50 | %pear_package_install | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %post -p <lua> | |
56 | %pear_package_print_optionalpackages | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc ChangeLog install.log | |
61 | %doc optional-packages.txt | |
62 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
63 | %{php_pear_dir}/Horde/Alarm | |
64 | %{php_pear_dir}/Horde/Alarm.php | |
65 | %{php_pear_dir}/data/Horde_Alarm |