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}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: d5209f0d1f1874e23b44fbfb397a2aa0
16 URL: http://pear.php.net/package/Auth_HTTP
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 Requires: php-pear >= 4:1.0-8
19 Requires: php-pear-Auth >= 1.2.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The PEAR::Auth_HTTP class provides methods for creating an HTTP
25 authentication system using PHP, that is similar to Apache's
26 realm-based .htaccess authentication.
28 In PEAR status of this package is: %{_status}.
31 Klasa PEAR::Auth_HTTP dostarcza metod do stworzenia uwierzytelniania
32 HTTP za pomoc± PHP, w sposób zbli¿ony do opartego na .htaccess
33 uwierzytelniania w Apache.
35 Ta klasa ma w PEAR status: %{_status}.
38 Summary: Tests for PEAR::%{_pearname}
39 Summary(pl): Testy dla PEAR::%{_pearname}
41 Requires: %{name} = %{epoch}:%{version}-%{release}
44 Tests for PEAR::%{_pearname}.
46 %description tests -l pl
47 Testy dla PEAR::%{_pearname}.
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/%{_class}/*.php
67 %defattr(644,root,root,755)
68 %{php_pear_dir}/tests/*