]> git.pld-linux.org Git - packages/php-pear-Auth_HTTP.git/blobdiff - php-pear-Auth_HTTP.spec
- fixed english information about status of the package
[packages/php-pear-Auth_HTTP.git] / php-pear-Auth_HTTP.spec
index 0dbc8da4929164805b661626b118103ebf9236cf..2738f8ca92a0e1dd578f027c03a9b45ab95527af 100644 (file)
@@ -1,25 +1,34 @@
 %include       /usr/lib/rpm/macros.php
-%define                _class          Auth_HTTP
-%define                _pearname       %{_class}
-Summary:       %{_class} - HTTP authentication system using PHP
-Summary(pl):   %{_class} - system uwierzytelniania HTTP przy u¿yciu PHP
+%define                _class          Auth
+%define                _subclass       HTTP
+%define                _status         beta
+%define                _pearname       %{_class}_%{_subclass}
+
+Summary:       %{_pearname} - HTTP authentication system using PHP
+Summary(pl):   %{_pearname} - system uwierzytelniania HTTP przy u¿yciu PHP
 Name:          php-pear-%{_pearname}
-Version:       1.0.1
+Version:       2.1.0
 Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-URL:           http://pear.php.net/
-BuildRequires: rpm-php-pearprov
+# Source0-md5: 0a4ee636552759738f591c41c232448d
+URL:           http://pear.php.net/package/Auth_HTTP/
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+Requires:      php-pear
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Methods for creating an HTTP authentication system using PHP.
 
+In PEAR status of this package is: %{_status}.
+
 %description -l pl
 Metody do tworzenia systemu uwierzytelniania HTTP przy u¿yciu PHP.
 
+Ta klasa ma w PEAR status: %{_status}.
+
 %prep
 %setup -q -c
 
@@ -27,11 +36,12 @@ Metody do tworzenia systemu uwierzytelniania HTTP przy u
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
 
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+install %{_pearname}-%{version}/%{_class}_%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}.php
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%dir %{php_pear_dir}/%{_class}
 %{php_pear_dir}/%{_class}/*.php
This page took 0.103701 seconds and 4 git commands to generate.