]>
Commit | Line | Data |
---|---|---|
1 | %define status stable | |
2 | %define pearname Crypt_GPG | |
3 | Summary: %{pearname} - GNU Privacy Guard (GPG) | |
4 | Summary(pl.UTF-8): %{pearname} - Gnu Privacy Guard (GPG) | |
5 | Name: php-pear-%{pearname} | |
6 | Version: 1.6.3 | |
7 | Release: 1 | |
8 | License: LGPL | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz | |
11 | # Source0-md5: 824430837954be93c6c9b9def5691a64 | |
12 | URL: http://pear.php.net/package/Crypt_GPG/ | |
13 | BuildRequires: php-pear-PEAR | |
14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
15 | BuildRequires: rpmbuild(macros) >= 1.580 | |
16 | Requires: php-pear | |
17 | Suggests: php-posix | |
18 | Obsoletes: php-pear-Crypt_GPG-tests | |
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 | %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) | |
54 | %doc docs/Crypt_GPG/README.md | |
55 | %doc install.log | |
56 | %{php_pear_dir}/.registry/*.reg | |
57 | %{php_pear_dir}/Crypt/GPG | |
58 | %{php_pear_dir}/Crypt/GPG.php | |
59 | %{php_pear_dir}/Crypt/GPGAbstract.php |