]> git.pld-linux.org Git - packages/php-pear-Auth_HTTP.git/blob - php-pear-Auth_HTTP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Auth_HTTP.git] / php-pear-Auth_HTTP.spec
1 %define         status          stable
2 %define         pearname        Auth_HTTP
3 Summary:        %{pearname} - HTTP authentication system using PHP
4 Summary(pl.UTF-8):      %{pearname} - system uwierzytelniania HTTP przy użyciu PHP
5 Name:           php-pear-%{pearname}
6 Version:        2.1.8
7 Release:        1
8 License:        PHP 2.02
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5:  8a9f0ce15878a48e8a5d29ebea9f4c34
12 URL:            http://pear.php.net/package/Auth_HTTP
13 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.580
16 Requires:       php-pear >= 4:1.0-8
17 Requires:       php-pear-Auth >= 1.2.0
18 Obsoletes:      php-pear-Auth_HTTP-tests
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
26
27 In PEAR status of this package is: %{status}.
28
29 %description -l pl.UTF-8
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.
33
34 Ta klasa ma w PEAR status: %{status}.
35
36 %prep
37 %pear_package_setup
38
39 mv .%{php_pear_dir}/data/Auth_HTTP/README .
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}
44 %pear_package_install
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc README
52 %doc install.log
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/Auth/*.php
This page took 0.125405 seconds and 4 git commands to generate.