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