%define status stable %define pearname Horde_Tree Summary: %{pearname} - Horde Tree API Name: php-horde-Horde_Tree Version: 1.0.1 Release: 1 License: GPL Group: Development/Languages/PHP Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz # Source0-md5: 445fcc0b2c89e56419725ed0d7c200e3 URL: https://github.com/horde/horde/tree/master/framework/Tree/ BuildRequires: php-channel(pear.horde.org) BuildRequires: php-packagexml2cl BuildRequires: php-pear-PEAR >= 1:1.7.0 BuildRequires: rpm-php-pearprov >= 4.4.2-11 BuildRequires: rpmbuild(macros) >= 1.610 Requires: php-channel(pear.horde.org) Requires: php-horde-Horde_Exception < 2.0.0 Requires: php-horde-Horde_Url < 2.0.0 Requires: php-horde-Horde_Util < 2.0.0 Requires: php-pear >= 4:1.3.6-2 Suggests: php-gettext BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This package provides a tree view of hierarchical information. It allows for expanding/collapsing of branches and maintains their state. In PEAR status of this package is: %{status}. %prep %pear_package_setup %build packagexml2cl package.xml > ChangeLog %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{php_pear_dir} %pear_package_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ChangeLog install.log %{php_pear_dir}/.registry/.channel.*/*.reg %{php_pear_dir}/Horde/Tree.php %{php_pear_dir}/Horde/Tree