]>
Commit | Line | Data |
---|---|---|
ee569cf0 PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Crypt | |
3 | %define _subclass Rc4 | |
4ce8895a | 4 | %define _status stable |
ee569cf0 | 5 | %define _pearname %{_class}_%{_subclass} |
463c7d5c | 6 | |
bc2c9521 | 7 | Summary: %{_pearname} - Encryption class for RC4 encryption |
a9d8c67d | 8 | Summary(pl.UTF-8): %{_pearname} - Klasa szyfrująca w algorytmie RC4 |
ee569cf0 | 9 | Name: php-pear-%{_pearname} |
fbc5e418 | 10 | Version: 1.0.2 |
da69079e | 11 | Release: 3 |
463c7d5c | 12 | License: PHP |
ee569cf0 PG |
13 | Group: Development/Languages/PHP |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
fbc5e418 | 15 | # Source0-md5: 90837b9317deaf42f563958b4689b937 |
d413d10b | 16 | URL: http://pear.php.net/package/Crypt_Rc4/ |
01228d19 | 17 | BuildRequires: php-pear-PEAR |
3d378448 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
8cd8b009 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
f971050d | 20 | Requires: php-pear |
ee569cf0 PG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | RC4 encryption class. | |
26 | ||
f2e65211 | 27 | In PEAR status of this package is: %{_status}. |
4ce8895a | 28 | |
cc07bb84 JR |
29 | %description -l pl.UTF-8 |
30 | Klasa szyfrująca w algorytmie RC4. | |
ee569cf0 | 31 | |
4ce8895a PG |
32 | Ta klasa ma w PEAR status: %{_status}. |
33 | ||
ee569cf0 | 34 | %prep |
e6e4cb0e | 35 | %pear_package_setup |
ee569cf0 PG |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
e6e4cb0e ER |
39 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
40 | %pear_package_install | |
ee569cf0 PG |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
e6e4cb0e ER |
47 | %doc install.log |
48 | %{php_pear_dir}/.registry/*.reg | |
ee569cf0 | 49 | %{php_pear_dir}/%{_class}/*.php |