]>
Commit | Line | Data |
---|---|---|
7792895b AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Crypt | |
3 | %define _subclass GPG | |
4 | %define _status beta | |
5 | %define _pearname Crypt_GPG | |
6 | Summary: %{_pearname} - GNU Privacy Guard (GPG) | |
7 | Summary(pl.UTF-8): %{_pearname} - Gnu Privacy Guard (GPG) | |
8 | Name: php-pear-%{_pearname} | |
87e46bf6 | 9 | Version: 0.7.1 |
7792895b AG |
10 | Release: 1 |
11 | License: LGPL | |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
87e46bf6 | 14 | # Source0-md5: 578ba3dd821de3ca1bf97b7f0152eed9 |
7792895b AG |
15 | URL: http://pear.php.net/package/Crypt_GPG/ |
16 | BuildRequires: php-pear-PEAR | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | Requires: php-pear | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This package provides an object oriented interface to GNU Privacy | |
24 | Guard (GPG). It requires the GPG executable to be on the system. | |
25 | ||
26 | Though GPG can support symmetric-key cryptography, this package is | |
27 | intended only to facilitate public-key cryptography. | |
28 | ||
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Pakiet ten dostarcza zorientowanego obiektowo interfejsu do narzędzi | |
33 | Gnu Privacy Guard (GPG). Wymagana jest obecność tych narzędzi w | |
34 | systemie. | |
35 | ||
36 | Chociaż GPG wspiera kryptografię klucza symetrycznego, pakiet ten w | |
37 | założeniu ma wspierać kryptografię klucza publicznego. | |
38 | ||
39 | Ta klasa ma w PEAR status: %{_status}. | |
40 | ||
41 | %package tests | |
42 | Summary: Tests for PEAR::%{_pearname} | |
43 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
44 | Group: Development/Languages/PHP | |
45 | AutoReq: no | |
46 | Requires: %{name} = %{version}-%{release} | |
47 | AutoProv: no | |
48 | ||
49 | %description tests | |
50 | Tests for PEAR::%{_pearname}. | |
51 | ||
52 | %description tests -l pl.UTF-8 | |
53 | Testy dla PEAR::%{_pearname}. | |
54 | ||
55 | %prep | |
56 | %pear_package_setup | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
61 | %pear_package_install | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc install.log | |
69 | %{php_pear_dir}/.registry/*.reg | |
70 | %{php_pear_dir}/Crypt/GPG | |
71 | %{php_pear_dir}/Crypt/GPG.php | |
72 | ||
73 | %files tests | |
74 | %defattr(644,root,root,755) | |
75 | %{php_pear_dir}/tests/Crypt_GPG |