]> git.pld-linux.org Git - packages/php-pear-Text_CAPTCHA_Numeral.git/blob - php-pear-Text_CAPTCHA_Numeral.spec
bc3bd02450d08b9285743e5f3f79c5a04cf2647d
[packages/php-pear-Text_CAPTCHA_Numeral.git] / php-pear-Text_CAPTCHA_Numeral.spec
1 %define         status          stable
2 %define         pearname        Text_CAPTCHA_Numeral
3 %include        /usr/lib/rpm/macros.php
4 Summary:        %{pearname} - generation of numeral maths captchas
5 Summary(pl.UTF-8):      %{pearname} - generowanie matematycznych captcha
6 Name:           php-pear-%{pearname}
7 Version:        1.3.2
8 Release:        1
9 License:        BSD License
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
12 # Source0-md5:  16b98ca2d1af630120665808e704fae5
13 URL:            http://pear.php.net/package/Text_CAPTCHA_Numeral/
14 BuildRequires:  php-pear-PEAR
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.654
17 Requires:       php-pear >= 4:1.3-5
18 Obsoletes:      php-pear-Text_CAPTCHA_Numeral-tests
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 %prep
35 %pear_package_setup
36
37 mv docs/Text_CAPTCHA_Numeral/examples .
38 mv .%{php_pear_dir}/data/Text_CAPTCHA_Numeral/composer.json .
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}
43 %pear_package_install
44
45 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc install.log
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/Text/CAPTCHA/Numeral.php
56 %{php_pear_dir}/Text/CAPTCHA/Numeral
57 %{_examplesdir}/%{name}-%{version}
This page took 0.040823 seconds and 2 git commands to generate.