]>
Commit | Line | Data |
---|---|---|
ffec5cff ER |
1 | %define status stable |
2 | %define pearname Horde_Argv | |
ffec5cff ER |
3 | Summary: %{pearname} - Horde command-line argument parsing package |
4 | Name: php-horde-Horde_Argv | |
f3e90c7d | 5 | Version: 1.0.5 |
ffec5cff ER |
6 | Release: 1 |
7 | License: BSD | |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
f3e90c7d | 10 | # Source0-md5: 6e0967e06a29e17a3f4ec1919bb58c60 |
a26aba28 | 11 | URL: https://github.com/horde/horde/tree/master/framework/Argv/ |
ffec5cff ER |
12 | BuildRequires: php-channel(pear.horde.org) |
13 | BuildRequires: php-packagexml2cl | |
14 | BuildRequires: php-pear-PEAR >= 1:1.7.0 | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.610 | |
17 | Requires: php-channel(pear.horde.org) | |
18 | Requires: php-horde-Horde_Exception < 2.0.0 | |
19 | Requires: php-horde-Horde_Translation < 2.0.0 | |
42789427 | 20 | Requires: php-pear >= 4:1.3.6-2 |
ffec5cff ER |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | This package provides classes for parsing command line arguments with | |
26 | various actions, providing help, grouping options, and more. | |
27 | ||
28 | In PEAR status of this package is: %{status}. | |
29 | ||
30 | %prep | |
31 | %pear_package_setup | |
32 | ||
33 | %build | |
34 | packagexml2cl package.xml > ChangeLog | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
39 | %pear_package_install | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc ChangeLog install.log | |
47 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
48 | %{php_pear_dir}/Horde/Argv | |
49 | %{php_pear_dir}/data/Horde_Argv |