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