]>
Commit | Line | Data |
---|---|---|
b34e6f8a ER |
1 | # TODO |
2 | # - system locale dir | |
3 | %define status stable | |
4 | %define pearname Horde_Form | |
5 | %include /usr/lib/rpm/macros.php | |
6 | Summary: %{pearname} - Horde Form API | |
7 | Name: php-horde-Horde_Form | |
8 | Version: 1.0.0 | |
9 | Release: 1 | |
10 | License: LGPL | |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
13 | # Source0-md5: 66a4dca870f00a355efe4600c75eb2a2 | |
14 | URL: http://pear.horde.org/package/Horde_Form/ | |
15 | BuildRequires: php-channel(pear.horde.org) | |
16 | BuildRequires: php-packagexml2cl | |
17 | BuildRequires: php-pear-PEAR >= 1:1.7.0 | |
18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
19 | BuildRequires: rpmbuild(macros) >= 1.610 | |
20 | Requires: php-channel(pear.horde.org) | |
21 | Requires: php-horde-Horde_Core < 2.0.0 | |
22 | Requires: php-horde-Horde_Date < 2.0.0 | |
23 | Requires: php-horde-Horde_Exception < 2.0.0 | |
24 | Requires: php-horde-Horde_Mime < 2.0.0 | |
25 | Requires: php-horde-Horde_Nls < 2.0.0 | |
26 | Requires: php-horde-Horde_Token < 2.0.0 | |
27 | Requires: php-horde-Horde_Translation < 2.0.0 | |
28 | Requires: php-horde-Horde_Util < 2.0.0 | |
29 | Requires: php-pear | |
30 | BuildArch: noarch | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | The Horde_Form package provides form rendering, validation, and other | |
35 | functionality for the Horde Application Framework. | |
36 | ||
37 | In PEAR status of this package is: %{status}. | |
38 | ||
39 | %prep | |
40 | %pear_package_setup | |
41 | ||
42 | %build | |
43 | packagexml2cl package.xml > ChangeLog | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
48 | %pear_package_install | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc ChangeLog install.log | |
56 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
57 | %{php_pear_dir}/Horde/Form.php | |
58 | %{php_pear_dir}/Horde/Form | |
59 | %{php_pear_dir}/data/Horde_Form |