1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - HTTP authentication system using PHP
8 Summary(pl): %{_pearname} - system uwierzytelniania HTTP przy u¿yciu PHP
9 Name: php-pear-%{_pearname}
14 Group: Development/Languages/PHP
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5: d5209f0d1f1874e23b44fbfb397a2aa0
17 URL: http://pear.php.net/package/Auth_HTTP
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pear >= 4:1.0-8
20 Requires: php-pear-Auth >= 1.2.0
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The PEAR::Auth_HTTP class provides methods for creating an HTTP
26 authentication system using PHP, that is similar to Apache's
27 realm-based .htaccess authentication.
29 In PEAR status of this package is: %{_status}.
32 Klasa PEAR::Auth_HTTP dostarcza metod do stworzenia uwierzytelniania
33 HTTP za pomoc± PHP, w sposób zbli¿ony do opartego na .htaccess
34 uwierzytelniania w Apache.
36 Ta klasa ma w PEAR status: %{_status}.
39 Summary: Tests for PEAR::%{_pearname}
40 Summary(pl): Testy dla PEAR::%{_pearname}
42 Requires: %{name} = %{epoch}:%{version}-%{release}
45 Tests for PEAR::%{_pearname}.
47 %description tests -l pl
48 Testy dla PEAR::%{_pearname}.
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/%{_class}/*.php
68 %defattr(644,root,root,755)
69 %{php_pear_dir}/tests/*