]>
Commit | Line | Data |
---|---|---|
0b1f90f3 ER |
1 | %define status stable |
2 | %define pearname Horde_Constraint | |
0b1f90f3 ER |
3 | Summary: %{pearname} - Horde Constraint library |
4 | Name: php-horde-Horde_Constraint | |
96e1f385 | 5 | Version: 1.0.1 |
0b1f90f3 ER |
6 | Release: 1 |
7 | License: BSD | |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
96e1f385 | 10 | # Source0-md5: 906961d1a4caf0b3c91655d0bbb8559f |
509aad6c | 11 | URL: https://github.com/horde/horde/tree/master/framework/Constraint/ |
0b1f90f3 ER |
12 | BuildRequires: php-channel(pear.horde.org) |
13 | BuildRequires: php-packagexml2cl | |
14 | BuildRequires: php-pear-PEAR | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.610 | |
17 | Requires: php-channel(pear.horde.org) | |
44ea8fd4 | 18 | Requires: php-pear >= 4:1.3.6-2 |
0b1f90f3 ER |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This package provides a programmatic way of building constraints that | |
24 | evaluate to true or false. | |
25 | ||
26 | In PEAR status of this package is: %{status}. | |
27 | ||
28 | %prep | |
29 | %pear_package_setup | |
30 | ||
31 | %build | |
32 | packagexml2cl package.xml > ChangeLog | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
37 | %pear_package_install | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc ChangeLog install.log | |
45 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
46 | %{php_pear_dir}/Horde/Constraint.php | |
47 | %{php_pear_dir}/Horde/Constraint |