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