]>
Commit | Line | Data |
---|---|---|
b8c406f2 | 1 | %define _status alpha |
3391aace | 2 | %define _pearname Text_CAPTCHA |
b8c406f2 | 3 | Summary: %{_pearname} - generation of CAPTCHA imgaes |
179f2ede | 4 | Summary(pl.UTF-8): %{_pearname} - generowanie obrazów CAPTCHA |
b8c406f2 | 5 | Name: php-pear-%{_pearname} |
9792a01a | 6 | Version: 1.0.2 |
b5246944 | 7 | Release: 1 |
b8c406f2 AG |
8 | License: PHP 2.02 |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
9792a01a | 11 | # Source0-md5: 3c30c8650436ea2e961c29e9eedf0066 |
3391aace | 12 | URL: http://pear.php.net/package/ |
b5246944 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
dfadcb04 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
3391aace ER |
15 | BuildRequires: rpmbuild(macros) >= 1.571 |
16 | Requires: php-pear >= 4:1.3-5 | |
85a1e9b2 | 17 | Requires: php-pear-Text_Password |
9792a01a | 18 | Suggests: php(gd) |
55a9ceaa ER |
19 | Suggests: php-pear-Image_Text |
20 | Suggests: php-pear-Numbers_Words | |
21 | Suggests: php-pear-Text_Figlet | |
b8c406f2 AG |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
b5124265 ER |
25 | # exclude optional dependencies |
26 | %define _noautoreq 'pear(Numbers/Words.*)' 'pear(Text/Figlet.*)' 'pear(Image/Text.*)' | |
27 | ||
b8c406f2 AG |
28 | %description |
29 | Implementation of CAPTCHA (completely automated public Turing test to | |
30 | tell computers and humans apart) images. | |
31 | ||
32 | In PEAR status of this package is: %{_status}. | |
33 | ||
60011cdb JR |
34 | %description -l pl.UTF-8 |
35 | Implementacja obrazów CAPTCHA (całkowicie zautomatyzowanego | |
36 | publicznego testu Turinga do odróżnienia ludzi od komputerów). | |
b8c406f2 AG |
37 | |
38 | Ta klasa ma w PEAR status: %{_status}. | |
39 | ||
40 | %prep | |
dfadcb04 | 41 | %pear_package_setup |
b8c406f2 AG |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
dfadcb04 ER |
45 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
46 | %pear_package_install | |
b8c406f2 AG |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
3391aace ER |
51 | %post -p <lua> |
52 | %pear_package_print_optionalpackages | |
b5124265 | 53 | |
b8c406f2 AG |
54 | %files |
55 | %defattr(644,root,root,755) | |
b5124265 | 56 | %doc install.log optional-packages.txt |
dfadcb04 ER |
57 | %doc docs/%{_pearname}/* |
58 | %{php_pear_dir}/.registry/*.reg | |
3391aace ER |
59 | %{php_pear_dir}/Text/CAPTCHA.php |
60 | %{php_pear_dir}/Text/CAPTCHA/* |