]>
Commit | Line | Data |
---|---|---|
0f82bcb7 PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class HTTP | |
5b3acfd2 | 3 | %define _status stable |
0f82bcb7 | 4 | %define _pearname %{_class} |
6afb2027 | 5 | Summary: %{_pearname} - miscellaneous HTTP utilities |
f8530e7b | 6 | Summary(pl.UTF-8): %{_pearname} - różne narzędzie do HTTP |
0f82bcb7 | 7 | Name: php-pear-%{_pearname} |
bdf0fad8 | 8 | Version: 1.4.1 |
81dcee15 | 9 | Release: 3 |
0f82bcb7 PG |
10 | License: PHP 2.02 |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
bdf0fad8 | 13 | # Source0-md5: 6fe726d7304f81ac1fe866b7725512fa |
7699ec10 | 14 | URL: http://pear.php.net/package/HTTP/ |
5e4e8545 | 15 | BuildRequires: php-pear-PEAR >= 1:1.7.1 |
3b250581 | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
ca636cd8 | 17 | BuildRequires: rpmbuild(macros) >= 1.300 |
995fcfa4 | 18 | Requires: php-common >= 3:4.0.6 |
5e4e8545 | 19 | Requires: php-pcre |
51ce3649 | 20 | Requires: php-pear |
42c27dad | 21 | Requires: php-pear-PEAR-core |
428dc2a7 | 22 | Obsoletes: php-pear-HTTP-tests |
0f82bcb7 PG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | The HTTP class is a class with static methods for doing miscellaneous | |
28 | HTTP-related stuff like date formatting or language negotiation. | |
29 | ||
799d17bf | 30 | In PEAR status of this package is: %{_status}. |
5b3acfd2 | 31 | |
8ad90cc4 JR |
32 | %description -l pl.UTF-8 |
33 | Klasa HTTP jest klasą ze statycznymi metodami różnych związanych z | |
34 | HTTP rzeczy, jak formatowanie daty czy negocjacja języka. | |
0f82bcb7 | 35 | |
5b3acfd2 PG |
36 | Ta klasa ma w PEAR status: %{_status}. |
37 | ||
0f82bcb7 | 38 | %prep |
3b250581 | 39 | %pear_package_setup |
bb984e75 | 40 | cd ./%{php_pear_dir} |
0f82bcb7 PG |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
3b250581 ER |
44 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
45 | %pear_package_install | |
0f82bcb7 PG |
46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
3b250581 ER |
52 | %doc install.log |
53 | %{php_pear_dir}/.registry/*.reg | |
dd795e0e | 54 | %{php_pear_dir}/*.php |