]> git.pld-linux.org Git - packages/php-pear-Auth_HTTP.git/blob - php-pear-Auth_HTTP.spec
cb5ffb5a968faac65b3c28abb349270d0083725a
[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 License:        PHP 2.02
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
27
28 In PEAR status of this package is: %{_status}.
29
30 %description -l pl
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.
34
35 Ta klasa ma w PEAR status: %{_status}.
36
37 %package tests
38 Summary:        Tests for PEAR::%{_pearname}
39 Summary(pl):    Testy dla PEAR::%{_pearname}
40 Group:          Development
41 Requires:       %{name} = %{epoch}:%{version}-%{release}
42
43 %description tests
44 Tests for PEAR::%{_pearname}.
45
46 %description tests -l pl
47 Testy dla PEAR::%{_pearname}.
48
49 %prep
50 %pear_package_setup
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}
55 %pear_package_install
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc install.log
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/%{_class}/*.php
65
66 %files tests
67 %defattr(644,root,root,755)
68 %{php_pear_dir}/tests/*
This page took 0.024593 seconds and 2 git commands to generate.