1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - HTTP authentication system using PHP
8 Summary(pl.UTF-8): %{_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: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 BuildRequires: rpmbuild(macros) >= 1.300
21 Requires: php-pear >= 4:1.0-8
22 Requires: php-pear-Auth >= 1.2.0
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
31 In PEAR status of this package is: %{_status}.
33 %description -l pl.UTF-8
34 Klasa PEAR::Auth_HTTP dostarcza metod do stworzenia uwierzytelniania
35 HTTP za pomocą PHP, w sposób zbliżony do opartego na .htaccess
36 uwierzytelniania w Apache.
38 Ta klasa ma w PEAR status: %{_status}.
41 Summary: Tests for PEAR::%{_pearname}
42 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
43 Group: Development/Languages/PHP
44 Requires: %{name} = %{epoch}:%{version}-%{release}
49 Tests for PEAR::%{_pearname}.
51 %description tests -l pl.UTF-8
52 Testy dla PEAR::%{_pearname}.
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %{php_pear_dir}/.registry/*.reg
69 %{php_pear_dir}/%{_class}/*.php
72 %defattr(644,root,root,755)
73 %{php_pear_dir}/tests/*