]>
Commit | Line | Data |
---|---|---|
b2c32137 | 1 | %include /usr/lib/rpm/macros.php |
17033f5a AG |
2 | %define _class Auth |
3 | %define _subclass HTTP | |
260b0e51 | 4 | %define _status stable |
17033f5a | 5 | %define _pearname %{_class}_%{_subclass} |
5dc00ff1 | 6 | |
a241007f | 7 | Summary: %{_pearname} - HTTP authentication system using PHP |
a06b6011 | 8 | Summary(pl.UTF-8): %{_pearname} - system uwierzytelniania HTTP przy użyciu PHP |
b2c32137 | 9 | Name: php-pear-%{_pearname} |
6881ae98 | 10 | Version: 2.1.6 |
f17cbd16 | 11 | Release: 3 |
fba1090d | 12 | Epoch: 0 |
b2c32137 PG |
13 | License: PHP 2.02 |
14 | Group: Development/Languages/PHP | |
d14faebe | 15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
6881ae98 | 16 | # Source0-md5: d5209f0d1f1874e23b44fbfb397a2aa0 |
260b0e51 | 17 | URL: http://pear.php.net/package/Auth_HTTP |
cb1cb003 | 18 | BuildRequires: php-pear-PEAR |
21dbbef4 | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
49bcb16b | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
0cec2be8 | 21 | Requires: php-pear >= 4:1.0-8 |
17101c81 | 22 | Requires: php-pear-Auth >= 1.2.0 |
82d0ca33 | 23 | BuildArch: noarch |
b2c32137 PG |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
6bb1b8fd AG |
27 | The PEAR::Auth_HTTP class provides methods for creating an HTTP |
28 | authentication system using PHP, that is similar to Apache's | |
29 | realm-based .htaccess authentication. | |
b2c32137 | 30 | |
513fecfb | 31 | In PEAR status of this package is: %{_status}. |
5697e058 | 32 | |
61e5fc1d | 33 | %description -l pl.UTF-8 |
8528f556 | 34 | Klasa PEAR::Auth_HTTP dostarcza metod do stworzenia uwierzytelniania |
61e5fc1d | 35 | HTTP za pomocą PHP, w sposób zbliżony do opartego na .htaccess |
8528f556 | 36 | uwierzytelniania w Apache. |
b2c32137 | 37 | |
5697e058 PG |
38 | Ta klasa ma w PEAR status: %{_status}. |
39 | ||
260b0e51 ER |
40 | %package tests |
41 | Summary: Tests for PEAR::%{_pearname} | |
a06b6011 | 42 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} |
3a9d864a | 43 | Group: Development/Languages/PHP |
ed12ce64 | 44 | Requires: %{name} = %{epoch}:%{version}-%{release} |
9c6ae5a8 | 45 | AutoReq: no |
c673b858 | 46 | AutoProv: no |
260b0e51 ER |
47 | |
48 | %description tests | |
49 | Tests for PEAR::%{_pearname}. | |
50 | ||
61e5fc1d | 51 | %description tests -l pl.UTF-8 |
4528ac12 ER |
52 | Testy dla PEAR::%{_pearname}. |
53 | ||
b2c32137 | 54 | %prep |
260b0e51 | 55 | %pear_package_setup |
b2c32137 PG |
56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
260b0e51 ER |
59 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
60 | %pear_package_install | |
b2c32137 PG |
61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
260b0e51 ER |
67 | %doc install.log |
68 | %{php_pear_dir}/.registry/*.reg | |
b2c32137 | 69 | %{php_pear_dir}/%{_class}/*.php |
260b0e51 ER |
70 | |
71 | %files tests | |
72 | %defattr(644,root,root,755) | |
73 | %{php_pear_dir}/tests/* |