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