]>
Commit | Line | Data |
---|---|---|
3d75c4ce | 1 | %define _status stable |
46a16250 ER |
2 | %define _pearname Text_Password |
3 | %include /usr/lib/rpm/macros.php | |
ebf176eb | 4 | Summary: %{_pearname} - creating passwords with PHP |
7d68d979 | 5 | Summary(pl.UTF-8): %{_pearname} - tworzenie haseł |
3d75c4ce | 6 | Name: php-pear-%{_pearname} |
5fd08db2 | 7 | Version: 1.1.1 |
46a16250 | 8 | Release: 3 |
3d75c4ce AG |
9 | License: PHP 2.02 |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
5fd08db2 | 12 | # Source0-md5: d33c24d56631fb75ca5a83ad1344b355 |
f1321754 | 13 | URL: http://pear.php.net/package/Text_Password/ |
6c0c2c92 | 14 | BuildRequires: php-pear-PEAR |
583d0165 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
c8b45132 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
46a16250 | 17 | Requires: php(core) >= 4.2.0 |
3d75c4ce | 18 | Requires: php-pear |
98cc3c05 | 19 | Obsoletes: php-pear-Text_Password-tests |
3d75c4ce AG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Text_Password allows one to create pronounceable and unpronounceable | |
25 | passwords. The full functional range is explained in the manual at | |
26 | http://pear.php.net/manual/. | |
27 | ||
fe1490cf | 28 | In PEAR status of this package is: %{_status}. |
3d75c4ce | 29 | |
aabdff41 JR |
30 | %description -l pl.UTF-8 |
31 | Za pomocą Text_Password możliwe jest stworzenie dających się | |
32 | wypowiedzieć (lub nie) haseł. Pełna funkcjonalność opisana jest w | |
33 | podręczniku dostępnym pod adresem http://pear.php.net/manual/ | |
3d75c4ce AG |
34 | |
35 | Ta klasa ma w PEAR status: %{_status}. | |
36 | ||
37 | %prep | |
583d0165 | 38 | %pear_package_setup |
3d75c4ce AG |
39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
583d0165 ER |
42 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
43 | %pear_package_install | |
3d75c4ce AG |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
583d0165 ER |
50 | %doc install.log |
51 | %{php_pear_dir}/.registry/*.reg | |
46a16250 | 52 | %{php_pear_dir}/Text/*.php |