]>
Commit | Line | Data |
---|---|---|
6c133a82 ER |
1 | %define status stable |
2 | %define pearname Crypt_GPG | |
6c133a82 ER |
3 | Summary: %{pearname} - GNU Privacy Guard (GPG) |
4 | Summary(pl.UTF-8): %{pearname} - Gnu Privacy Guard (GPG) | |
5 | Name: php-pear-%{pearname} | |
13bcfd7d | 6 | Version: 1.6.3 |
7792895b AG |
7 | Release: 1 |
8 | License: LGPL | |
9 | Group: Development/Languages/PHP | |
6c133a82 | 10 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
13bcfd7d | 11 | # Source0-md5: 824430837954be93c6c9b9def5691a64 |
7792895b AG |
12 | URL: http://pear.php.net/package/Crypt_GPG/ |
13 | BuildRequires: php-pear-PEAR | |
14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
6c133a82 | 15 | BuildRequires: rpmbuild(macros) >= 1.580 |
7792895b | 16 | Requires: php-pear |
6c133a82 | 17 | Suggests: php-posix |
37a1ce45 | 18 | Obsoletes: php-pear-Crypt_GPG-tests |
7792895b AG |
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 | ||
6c133a82 | 29 | In PEAR status of this package is: %{status}. |
7792895b AG |
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 | ||
6c133a82 | 39 | Ta klasa ma w PEAR status: %{status}. |
7792895b | 40 | |
7792895b AG |
41 | %prep |
42 | %pear_package_setup | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
47 | %pear_package_install | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
43042c47 | 54 | %doc docs/Crypt_GPG/README.md |
7792895b AG |
55 | %doc install.log |
56 | %{php_pear_dir}/.registry/*.reg | |
57 | %{php_pear_dir}/Crypt/GPG | |
58 | %{php_pear_dir}/Crypt/GPG.php | |
6c133a82 | 59 | %{php_pear_dir}/Crypt/GPGAbstract.php |