From: Elan Ruusamäe Date: Sat, 24 Mar 2012 13:37:10 +0000 (+0000) Subject: - up to 2.1.8 X-Git-Tag: auto/th/php-pear-Auth_HTTP-2_1_8-1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=2e4975357706513e75f1378c67970b1565c17af7;p=packages%2Fphp-pear-Auth_HTTP.git - up to 2.1.8 Changed files: php-pear-Auth_HTTP.spec -> 1.48 --- diff --git a/php-pear-Auth_HTTP.spec b/php-pear-Auth_HTTP.spec index 2e03571..b956c07 100644 --- a/php-pear-Auth_HTTP.spec +++ b/php-pear-Auth_HTTP.spec @@ -1,23 +1,19 @@ +%define status stable +%define pearname Auth_HTTP %include /usr/lib/rpm/macros.php -%define _class Auth -%define _subclass HTTP -%define _status stable -%define _pearname %{_class}_%{_subclass} - -Summary: %{_pearname} - HTTP authentication system using PHP -Summary(pl.UTF-8): %{_pearname} - system uwierzytelniania HTTP przy użyciu PHP -Name: php-pear-%{_pearname} -Version: 2.1.6 -Release: 4 -Epoch: 0 +Summary: %{pearname} - HTTP authentication system using PHP +Summary(pl.UTF-8): %{pearname} - system uwierzytelniania HTTP przy użyciu PHP +Name: php-pear-%{pearname} +Version: 2.1.8 +Release: 1 License: PHP 2.02 Group: Development/Languages/PHP -Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz -# Source0-md5: d5209f0d1f1874e23b44fbfb397a2aa0 +Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz +# Source0-md5: 8a9f0ce15878a48e8a5d29ebea9f4c34 URL: http://pear.php.net/package/Auth_HTTP BuildRequires: php-pear-PEAR BuildRequires: rpm-php-pearprov >= 4.4.2-11 -BuildRequires: rpmbuild(macros) >= 1.300 +BuildRequires: rpmbuild(macros) >= 1.580 Requires: php-pear >= 4:1.0-8 Requires: php-pear-Auth >= 1.2.0 Obsoletes: php-pear-Auth_HTTP-tests @@ -29,18 +25,20 @@ The PEAR::Auth_HTTP class provides methods for creating an HTTP authentication system using PHP, that is similar to Apache's realm-based .htaccess authentication. -In PEAR status of this package is: %{_status}. +In PEAR status of this package is: %{status}. %description -l pl.UTF-8 Klasa PEAR::Auth_HTTP dostarcza metod do stworzenia uwierzytelniania HTTP za pomocą PHP, w sposób zbliżony do opartego na .htaccess uwierzytelniania w Apache. -Ta klasa ma w PEAR status: %{_status}. +Ta klasa ma w PEAR status: %{status}. %prep %pear_package_setup +mv .%{php_pear_dir}/data/Auth_HTTP/README . + %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{php_pear_dir} @@ -51,6 +49,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc README %doc install.log %{php_pear_dir}/.registry/*.reg -%{php_pear_dir}/%{_class}/*.php +%{php_pear_dir}/Auth/*.php