- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Text_CAPTCHA.git] / php-pear-Text_CAPTCHA.spec
1 %define         _status         alpha
2 %define         _pearname       Text_CAPTCHA
3 Summary:        %{_pearname} - generation of CAPTCHA imgaes
4 Summary(pl.UTF-8):      %{_pearname} - generowanie obrazów CAPTCHA
5 Name:           php-pear-%{_pearname}
6 Version:        1.0.2
7 Release:        1
8 License:        PHP 2.02
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  3c30c8650436ea2e961c29e9eedf0066
12 URL:            http://pear.php.net/package/
13 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.571
16 Requires:       php-pear >= 4:1.3-5
17 Requires:       php-pear-Text_Password
18 Suggests:       php(gd)
19 Suggests:       php-pear-Image_Text
20 Suggests:       php-pear-Numbers_Words
21 Suggests:       php-pear-Text_Figlet
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 # exclude optional dependencies
26 %define         _noautoreq      'pear(Numbers/Words.*)' 'pear(Text/Figlet.*)' 'pear(Image/Text.*)'
27
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
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).
37
38 Ta klasa ma w PEAR status: %{_status}.
39
40 %prep
41 %pear_package_setup
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 %pear_package_install
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post -p <lua>
52 %pear_package_print_optionalpackages
53
54 %files
55 %defattr(644,root,root,755)
56 %doc install.log optional-packages.txt
57 %doc docs/%{_pearname}/*
58 %{php_pear_dir}/.registry/*.reg
59 %{php_pear_dir}/Text/CAPTCHA.php
60 %{php_pear_dir}/Text/CAPTCHA/*
This page took 0.1571 seconds and 4 git commands to generate.