]>
Commit | Line | Data |
---|---|---|
84948699 ER |
1 | %define status stable |
2 | %define pearname Horde_Util | |
3 | %include /usr/lib/rpm/macros.php | |
4 | Summary: %{pearname} - Horde Utility Libraries | |
5 | Name: php-horde-Horde_Util | |
6 | Version: 1.0.0 | |
7 | Release: 1 | |
8 | License: LGPL | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
11 | # Source0-md5: 68d8a45480d3b6ddddf7677c46f6171b | |
12 | URL: http://pear.horde.org/package/Horde_Util/ | |
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-dom | |
20 | Requires: php-horde-Horde_Url < 2.0.0 | |
21 | Requires: php-pear | |
22 | Suggests: php-ctype | |
23 | Suggests: php-filter | |
24 | Suggests: php-horde-Horde_Imap_Client | |
25 | Suggests: php-iconv | |
26 | Suggests: php-mbstring | |
27 | Suggests: php-xml | |
28 | BuildArch: noarch | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | # exclude optional dependencies | |
32 | %define _noautoreq pear(Horde/Imap/Client.*) | |
33 | ||
34 | %description | |
35 | These classes provide functionality useful for all kind of | |
36 | applications. | |
37 | ||
38 | In PEAR status of this package is: %{status}. | |
39 | ||
40 | %prep | |
41 | %pear_package_setup | |
42 | ||
43 | %build | |
44 | packagexml2cl package.xml > ChangeLog | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
49 | %pear_package_install | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %post -p <lua> | |
55 | %pear_package_print_optionalpackages | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc ChangeLog install.log | |
60 | %doc optional-packages.txt | |
61 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
62 | %{php_pear_dir}/Horde/Array.php | |
63 | %{php_pear_dir}/Horde/Array | |
64 | %{php_pear_dir}/Horde/Domhtml.php | |
65 | %{php_pear_dir}/Horde/String.php | |
66 | %{php_pear_dir}/Horde/Util.php | |
67 | %{php_pear_dir}/Horde/Variables.php |