2 %define pearname Horde_Translation
3 Summary: %{pearname} - Horde translation library
4 Name: php-horde-Horde_Translation
8 Group: Development/Languages/PHP
9 Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5: e1f4b7976524baec86c5efca5d8a5c62
11 URL: https://github.com/horde/horde/tree/master/framework/Translation/
12 BuildRequires: php-channel(pear.horde.org)
13 BuildRequires: php-packagexml2cl
14 BuildRequires: php-pear-PEAR
15 BuildRequires: php-pear-PEAR >= 1:1.7.0
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.593
18 Requires: php-channel(pear.horde.org)
19 Requires: php-horde-Horde_Exception < 2.0.0
20 Requires: php-pear >= 4:1.3.6-2
22 Suggests: php-horde-Horde_Test
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _noautoreq pear(Horde/Test.*)
31 In PEAR status of this package is: %{status}.
37 packagexml2cl package.xml > ChangeLog
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{php_pear_dir}
45 rm -rf $RPM_BUILD_ROOT
48 %pear_package_print_optionalpackages
51 %defattr(644,root,root,755)
52 %doc ChangeLog install.log
53 %doc optional-packages.txt
54 %{php_pear_dir}/.registry/.channel.*/*.reg
55 %{php_pear_dir}/Horde/Translation
56 %{php_pear_dir}/Horde/Translation.php