]> git.pld-linux.org Git - packages/php-pear-Text_CAPTCHA_Numeral.git/blob - php-pear-Text_CAPTCHA_Numeral.spec
- rel 2
[packages/php-pear-Text_CAPTCHA_Numeral.git] / php-pear-Text_CAPTCHA_Numeral.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Text
3 %define         _subclass       CAPTCHA_Numeral
4 %define         _status         stable
5 %define         _pearname       Text_CAPTCHA_Numeral
6 Summary:        %{_pearname} - generation of numeral maths captchas
7 Summary(pl.UTF-8):      %{_pearname} - generowanie matematycznych captcha
8 Name:           php-pear-%{_pearname}
9 Version:        1.2.0
10 Release:        2
11 License:        BSD License
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  0a1b4b4aac1b9e2bd0246f62748154fa
15 URL:            http://pear.php.net/package/Text_CAPTCHA_Numeral/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Numeral captcha generates mathematical operations and answers in order
24 to prove that bots using it are human.
25
26 In PEAR status of this package is: %{_status}.
27
28 %description -l pl.UTF-8
29 Liczbowe captcha polega na generowania równań matecznych i rozwiązań
30 do nich w celu rozróżnienia między ludźmi a botami.
31
32 Ta klasa ma w PEAR status: %{_status}.
33
34 %package tests
35 Summary:        Tests for PEAR::%{_pearname}
36 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
37 Group:          Development/Languages/PHP
38 AutoReq:        no
39 Requires:       %{name} = %{version}-%{release}
40 AutoProv:       no
41
42 %description tests
43 Tests for PEAR::%{_pearname}.
44
45 %description tests -l pl.UTF-8
46 Testy dla PEAR::%{_pearname}.
47
48 %prep
49 %pear_package_setup
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 %pear_package_install
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc install.log docs/Text_CAPTCHA_Numeral/examples
62 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/Text/CAPTCHA/Numeral
64 %{php_pear_dir}/Text/CAPTCHA/Numeral.php
65
66 %files tests
67 %defattr(644,root,root,755)
68 %{php_pear_dir}/tests/Text_CAPTCHA_Numeral
This page took 0.362358 seconds and 3 git commands to generate.