2 %define pearname Horde_Serialize
3 Summary: %{pearname} - Data Encapulation API
4 Name: php-horde-Horde_Serialize
8 Group: Development/Languages/PHP
9 Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5: f306bf4571023900486aa62ea824a261
11 URL: https://github.com/horde/horde/tree/master/framework/Serialize/
12 BuildRequires: php-channel(pear.horde.org)
13 BuildRequires: php-packagexml2cl
14 BuildRequires: php-pear-PEAR >= 1:1.7.0
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.610
17 Requires: php-channel(pear.horde.org)
18 Requires: php-horde-Horde_Exception < 2.0.0
19 Requires: php-horde-Horde_Util < 2.0.0
20 Requires: php-pear >= 4:1.3.6-2
26 Suggests: php-horde-Horde_Imap_Client
27 Suggests: php-horde-Horde_Mime
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 # exclude optional dependencies
32 %define _noautoreq pear(Horde/Imap/Client.*) pear(Horde/Mime.*)
35 The Horde_Serialize library provides various methods of encapsulating
38 In PEAR status of this package is: %{status}.
44 packagexml2cl package.xml > ChangeLog
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
52 rm -rf $RPM_BUILD_ROOT
55 %pear_package_print_optionalpackages
58 %defattr(644,root,root,755)
59 %doc ChangeLog install.log
60 %doc optional-packages.txt
61 %doc docs/Horde_Serialize/*
62 %{php_pear_dir}/.registry/.channel.*/*.reg
63 %{php_pear_dir}/Horde/Serialize.php
64 %{php_pear_dir}/Horde/Serialize