]>
Commit | Line | Data |
---|---|---|
ed892b47 ER |
1 | # TODO |
2 | # - system locale dir | |
3 | %define status stable | |
4 | %define pearname Horde_Crypt | |
5 | %include /usr/lib/rpm/macros.php | |
6 | Summary: %{pearname} - Horde Cryptography API | |
7 | Name: php-horde-Horde_Crypt | |
8 | Version: 1.0.0 | |
9 | Release: 1 | |
10 | License: LGPL | |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
13 | # Source0-md5: e2816ff003a078cbb8c101f8d615907e | |
82e4fa4b | 14 | URL: https://github.com/horde/horde/tree/master/framework/Crypt/ |
ed892b47 ER |
15 | BuildRequires: php-channel(pear.horde.org) |
16 | BuildRequires: php-packagexml2cl | |
17 | BuildRequires: php-pear-PEAR >= 1:1.7.0 | |
18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
19 | BuildRequires: rpmbuild(macros) >= 1.610 | |
20 | Requires: php-channel(pear.horde.org) | |
21 | Requires: php-hash | |
22 | Requires: php-horde-Horde_Exception < 2.0.0 | |
23 | Requires: php-horde-Horde_Mime < 2.0.0 | |
24 | Requires: php-horde-Horde_Stream_Filter < 2.0.0 | |
25 | Requires: php-horde-Horde_Translation < 2.0.0 | |
26 | Requires: php-horde-Horde_Util < 2.0.0 | |
27 | Requires: php-openssl | |
d75aec47 | 28 | Requires: php-pear >= 4:1.3.6-2 |
ed892b47 ER |
29 | Suggests: php-bcmath |
30 | BuildArch: noarch | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | The Horde_Crypt package class provides an API for various | |
35 | cryptographic systems. | |
36 | ||
37 | In PEAR status of this package is: %{status}. | |
38 | ||
39 | %prep | |
40 | %pear_package_setup | |
41 | ||
42 | %build | |
43 | packagexml2cl package.xml > ChangeLog | |
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) | |
55 | %doc ChangeLog install.log | |
56 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
57 | %{php_pear_dir}/Horde/Crypt.php | |
58 | %{php_pear_dir}/Horde/Crypt | |
59 | %{php_pear_dir}/data/Horde_Crypt |