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
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The PEAR::Auth_HTTP class provides methods for creating an HTTP
24 authentication system using PHP, that is similar to Apache's
25 realm-based .htaccess authentication.
27 In PEAR status of this package is: %{_status}.
30 Klasa PEAR::Auth_HTTP dostarcza metod do stworzenia uwierzytelniania
31 HTTP za pomoc± PHP, w sposób zbli¿ony do opartego na .htaccess
32 uwierzytelniania w Apache.
34 Ta klasa ma w PEAR status: %{_status}.
37 Summary: Tests for PEAR::%{_pearname}
38 Summary(pl): Testy dla PEAR::%{_pearname}
40 Requires: %{name} = %{epoch}:%{version}-%{release}
43 Tests for PEAR::%{_pearname}.
45 %description tests -l pl
46 Testy dla PEAR::%{_pearname}.
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/%{_class}/*.php
66 %defattr(644,root,root,755)
67 %{php_pear_dir}/tests/*