]>
Commit | Line | Data |
---|---|---|
9f12af06 ER |
1 | %define status stable |
2 | %define pearname Horde_Imap_Client | |
3 | %include /usr/lib/rpm/macros.php | |
4 | Summary: %{pearname} - Horde IMAP abstraction interface | |
5 | Name: php-horde-Horde_Imap_Client | |
0043980f | 6 | Version: 1.0.5 |
9f12af06 ER |
7 | Release: 1 |
8 | License: LGPL | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
0043980f | 11 | # Source0-md5: ff458a50c7044f358afc0cf1a3dcde74 |
e00c8413 | 12 | URL: https://github.com/horde/horde/tree/master/framework/Imap_Client/ |
9f12af06 ER |
13 | BuildRequires: php-channel(pear.horde.org) |
14 | BuildRequires: php-packagexml2cl | |
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-channel(pear.horde.org) | |
19 | Requires: php-hash | |
20 | Requires: php-horde-Horde_Exception < 2.0.0 | |
21 | Requires: php-horde-Horde_Mime < 2.0.0 | |
22 | Requires: php-horde-Horde_Util < 2.0.0 | |
ac30abcb | 23 | Requires: php-pear >= 4:1.3.6-2 |
9f12af06 ER |
24 | Suggests: php-horde-Horde_Cache |
25 | Suggests: php-horde-Horde_Secret | |
26 | Suggests: php-horde-Horde_Stream_Filter | |
27 | Suggests: php-imap | |
28 | Suggests: php-json | |
29 | Suggests: php-mbstring | |
30 | Suggests: php-pear-Auth_SASL | |
31 | BuildArch: noarch | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | # exclude optional dependencies | |
35 | %define _noautoreq pear(Horde/Cache.*) pear(Horde/Secret.*) pear(Horde/Stream/Filter.*) pear(Auth/SASL.*) | |
36 | ||
37 | %description | |
38 | This package provides an abstracted API interface to various IMAP4rev1 | |
39 | (RFC 3501) backend drivers. | |
40 | ||
41 | In PEAR status of this package is: %{status}. | |
42 | ||
43 | %prep | |
44 | %pear_package_setup | |
45 | ||
46 | %build | |
47 | packagexml2cl package.xml > ChangeLog | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
52 | %pear_package_install | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %post -p <lua> | |
58 | %pear_package_print_optionalpackages | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc ChangeLog install.log | |
63 | %doc optional-packages.txt | |
64 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
65 | %dir %{php_pear_dir}/Horde/Imap | |
66 | %{php_pear_dir}/Horde/Imap/Client.php | |
67 | %{php_pear_dir}/Horde/Imap/Client |