2 %define pearname Horde_Secret
3 %include /usr/lib/rpm/macros.php
4 Summary: %{pearname} - Secret Encryption API
5 Name: php-horde-Horde_Secret
9 Group: Development/Languages/PHP
10 Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
11 # Source0-md5: 646169b73f643374e092261f120cdca3
12 URL: https://github.com/horde/horde/tree/master/framework/Secret/
13 BuildRequires: php-channel(pear.horde.org)
14 BuildRequires: php-packagexml2cl
15 BuildRequires: php-pear-PEAR >= 1:1.7.0
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.610
19 Requires: php-channel(pear.horde.org)
20 Requires: php-horde-Horde_Exception < 2.0.0
21 Requires: php-pear >= 4:1.3.6-2
22 Requires: php-pear-Crypt_Blowfish >= 1.0.1
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The Horde_Secret library provides an API for encrypting and decrypting
28 small pieces of data with the use of a shared key.
30 In PEAR status of this package is: %{status}.
36 packagexml2cl package.xml > ChangeLog
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_pear_dir}
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc ChangeLog install.log
49 %{php_pear_dir}/.registry/.channel.*/*.reg
50 %{php_pear_dir}/Horde/Secret.php
51 %{php_pear_dir}/Horde/Secret