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