]> git.pld-linux.org Git - packages/php-pear-Auth_HTTP.git/blob - php-pear-Auth_HTTP.spec
26c3cc73c39c9805df804945a15f259202fd9883
[packages/php-pear-Auth_HTTP.git] / php-pear-Auth_HTTP.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Auth
3 %define         _subclass       HTTP
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - HTTP authentication system using PHP
8 Summary(pl):    %{_pearname} - system uwierzytelniania HTTP przy u¿yciu PHP
9 Name:           php-pear-%{_pearname}
10 Version:        2.1.6
11 Release:        2
12 Epoch:          0
13 License:        PHP 2.02
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
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
28
29 In PEAR status of this package is: %{_status}.
30
31 %description -l pl
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.
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %package tests
39 Summary:        Tests for PEAR::%{_pearname}
40 Summary(pl):    Testy dla PEAR::%{_pearname}
41 Group:          Development
42 Requires:       %{name} = %{epoch}:%{version}-%{release}
43
44 %description tests
45 Tests for PEAR::%{_pearname}.
46
47 %description tests -l pl
48 Testy dla PEAR::%{_pearname}.
49
50 %prep
51 %pear_package_setup
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 %pear_package_install
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc install.log
64 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/%{_class}/*.php
66
67 %files tests
68 %defattr(644,root,root,755)
69 %{php_pear_dir}/tests/*
This page took 0.065469 seconds and 3 git commands to generate.