]>
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} | |
7 | Version: 1.3.2 | |
7792895b AG |
8 | Release: 1 |
9 | License: LGPL | |
10 | Group: Development/Languages/PHP | |
6c133a82 ER |
11 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
12 | # Source0-md5: 8dea7ae503c282cedca591706bc2cc04 | |
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 | ||
c8b6aa81 ER |
45 | mv .%{php_pear_dir}/data/Crypt_GPG/ChangeLog . |
46 | ||
7792895b AG |
47 | %install |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
50 | %pear_package_install | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
c8b6aa81 | 57 | %doc ChangeLog |
7792895b AG |
58 | %doc install.log |
59 | %{php_pear_dir}/.registry/*.reg | |
60 | %{php_pear_dir}/Crypt/GPG | |
61 | %{php_pear_dir}/Crypt/GPG.php | |
6c133a82 | 62 | %{php_pear_dir}/Crypt/GPGAbstract.php |