From: Elan Ruusamäe Date: Thu, 19 Jun 2014 07:56:30 +0000 (+0300) Subject: up to 1.3.2 X-Git-Tag: auto/th/php-pear-Text_CAPTCHA_Numeral-1.3.2-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b136928325ee75934a0595b119811aa8585dca59;p=packages%2Fphp-pear-Text_CAPTCHA_Numeral.git up to 1.3.2 --- diff --git a/php-pear-Text_CAPTCHA_Numeral.spec b/php-pear-Text_CAPTCHA_Numeral.spec index 5ead670..bc3bd02 100644 --- a/php-pear-Text_CAPTCHA_Numeral.spec +++ b/php-pear-Text_CAPTCHA_Numeral.spec @@ -1,19 +1,19 @@ +%define status stable +%define pearname Text_CAPTCHA_Numeral %include /usr/lib/rpm/macros.php -%define _status stable -%define _pearname Text_CAPTCHA_Numeral -Summary: %{_pearname} - generation of numeral maths captchas -Summary(pl.UTF-8): %{_pearname} - generowanie matematycznych captcha -Name: php-pear-%{_pearname} -Version: 1.3.1 +Summary: %{pearname} - generation of numeral maths captchas +Summary(pl.UTF-8): %{pearname} - generowanie matematycznych captcha +Name: php-pear-%{pearname} +Version: 1.3.2 Release: 1 License: BSD License Group: Development/Languages/PHP -Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz -# Source0-md5: eb34901067ac86353a5821b65c32c798 +Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz +# Source0-md5: 16b98ca2d1af630120665808e704fae5 URL: http://pear.php.net/package/Text_CAPTCHA_Numeral/ BuildRequires: php-pear-PEAR BuildRequires: rpm-php-pearprov >= 4.4.2-11 -BuildRequires: rpmbuild(macros) >= 1.300 +BuildRequires: rpmbuild(macros) >= 1.654 Requires: php-pear >= 4:1.3-5 Obsoletes: php-pear-Text_CAPTCHA_Numeral-tests BuildArch: noarch @@ -23,18 +23,19 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Numeral captcha generates mathematical operations and answers in order to prove that bots using it are human. -In PEAR status of this package is: %{_status}. +In PEAR status of this package is: %{status}. %description -l pl.UTF-8 Liczbowe captcha polega na generowania równań matecznych i rozwiązań do nich w celu rozróżnienia między ludźmi a botami. -Ta klasa ma w PEAR status: %{_status}. +Ta klasa ma w PEAR status: %{status}. %prep %pear_package_setup mv docs/Text_CAPTCHA_Numeral/examples . +mv .%{php_pear_dir}/data/Text_CAPTCHA_Numeral/composer.json . %install rm -rf $RPM_BUILD_ROOT @@ -53,5 +54,4 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/.registry/*.reg %{php_pear_dir}/Text/CAPTCHA/Numeral.php %{php_pear_dir}/Text/CAPTCHA/Numeral - %{_examplesdir}/%{name}-%{version}