]>
Commit | Line | Data |
---|---|---|
1abb49c7 ER |
1 | %define status stable |
2 | %define pearname Horde_Translation | |
1abb49c7 ER |
3 | Summary: %{pearname} - Horde translation library |
4 | Name: php-horde-Horde_Translation | |
fc0082fd | 5 | Version: 1.0.2 |
1abb49c7 ER |
6 | Release: 1 |
7 | License: LGPL | |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
fc0082fd | 10 | # Source0-md5: e1f4b7976524baec86c5efca5d8a5c62 |
54c1b046 | 11 | URL: https://github.com/horde/horde/tree/master/framework/Translation/ |
1abb49c7 ER |
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 | |
fa4c9456 | 20 | Requires: php-pear >= 4:1.3.6-2 |
1abb49c7 ER |
21 | Suggests: php-gettext |
22 | Suggests: php-horde-Horde_Test | |
23 | BuildArch: noarch | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %define _noautoreq pear(Horde/Test.*) | |
27 | ||
28 | %description | |
29 | . | |
30 | ||
31 | In PEAR status of this package is: %{status}. | |
32 | ||
33 | %prep | |
34 | %pear_package_setup | |
35 | ||
36 | %build | |
37 | packagexml2cl package.xml > ChangeLog | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
42 | %pear_package_install | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %post -p <lua> | |
48 | %pear_package_print_optionalpackages | |
49 | ||
50 | %files | |
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 |