2 %define _pearname Text_Password
3 %include /usr/lib/rpm/macros.php
4 Summary: %{_pearname} - creating passwords with PHP
5 Summary(pl.UTF-8): %{_pearname} - tworzenie haseł
6 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5: d33c24d56631fb75ca5a83ad1344b355
14 URL: http://pear.php.net/package/Text_Password/
15 BuildRequires: php-pear-PEAR
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.300
18 Requires: php(core) >= 4.2.0
20 Obsoletes: php-pear-Text_Password-tests
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Text_Password allows one to create pronounceable and unpronounceable
26 passwords. The full functional range is explained in the manual at
27 http://pear.php.net/manual/.
29 In PEAR status of this package is: %{_status}.
31 %description -l pl.UTF-8
32 Za pomocą Text_Password możliwe jest stworzenie dających się
33 wypowiedzieć (lub nie) haseł. Pełna funkcjonalność opisana jest w
34 podręczniku dostępnym pod adresem http://pear.php.net/manual/
36 Ta klasa ma w PEAR status: %{_status}.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{php_pear_dir}/.registry/*.reg
53 %{php_pear_dir}/Text/*.php