2 %define pearname Crypt_GPG
3 %include /usr/lib/rpm/macros.php
4 Summary: %{pearname} - GNU Privacy Guard (GPG)
5 Summary(pl.UTF-8): %{pearname} - Gnu Privacy Guard (GPG)
6 Name: php-pear-%{pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
12 # Source0-md5: 824430837954be93c6c9b9def5691a64
13 URL: http://pear.php.net/package/Crypt_GPG/
14 BuildRequires: php-pear-PEAR
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.580
19 Obsoletes: php-pear-Crypt_GPG-tests
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This package provides an object oriented interface to GNU Privacy
25 Guard (GPG). It requires the GPG executable to be on the system.
27 Though GPG can support symmetric-key cryptography, this package is
28 intended only to facilitate public-key cryptography.
30 In PEAR status of this package is: %{status}.
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
37 Chociaż GPG wspiera kryptografię klucza symetrycznego, pakiet ten w
38 założeniu ma wspierać kryptografię klucza publicznego.
40 Ta klasa ma w PEAR status: %{status}.
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{php_pear_dir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc docs/Crypt_GPG/README.md
57 %{php_pear_dir}/.registry/*.reg
58 %{php_pear_dir}/Crypt/GPG
59 %{php_pear_dir}/Crypt/GPG.php
60 %{php_pear_dir}/Crypt/GPGAbstract.php