2 %define pearname Horde_Controller
3 Summary: %{pearname} - Horde Controller libraries
4 Name: php-horde-Horde_Controller
8 Group: Development/Languages/PHP
9 Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5: 2bf8496541063d1072e26d47212b747a
11 URL: https://github.com/horde/horde/tree/master/framework/Controller/
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_Injector < 2.0.0
20 Requires: php-horde-Horde_Log < 2.0.0
21 Requires: php-horde-Horde_Support < 2.0.0
22 Requires: php-horde-Horde_Util < 2.0.0
23 Requires: php-pear >= 4:1.3.6-2
24 Suggests: php-mbstring
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This package provides the controller part of an MVC system for Horde.
32 In PEAR status of this package is: %{status}.
38 packagexml2cl package.xml > ChangeLog
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc ChangeLog install.log
51 %{php_pear_dir}/.registry/.channel.*/*.reg
52 %{php_pear_dir}/Horde/Controller.php
53 %{php_pear_dir}/Horde/Controller