]>
Commit | Line | Data |
---|---|---|
ab01088f ER |
1 | # TODO |
2 | # - system locale dir | |
3 | %define status stable | |
4 | %define pearname Horde_LoginTasks | |
ab01088f ER |
5 | Summary: %{pearname} - Horde Login Tasks System |
6 | Name: php-horde-Horde_LoginTasks | |
c83d5759 | 7 | Version: 1.0.3 |
ab01088f ER |
8 | Release: 1 |
9 | License: LGPL | |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
c83d5759 | 12 | # Source0-md5: d08ab409f379035766d3d127690c7381 |
ad47b0a1 | 13 | URL: https://github.com/horde/horde/tree/master/framework/LoginTasks/ |
ab01088f ER |
14 | BuildRequires: php-channel(pear.horde.org) |
15 | BuildRequires: php-packagexml2cl | |
16 | BuildRequires: php-pear-PEAR >= 1:1.7.0 | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | BuildRequires: rpmbuild(macros) >= 1.610 | |
19 | Requires: php-channel(pear.horde.org) | |
20 | Requires: php-horde-Horde_Translation < 2.0.0 | |
284f8eac | 21 | Requires: php-pear >= 4:1.3.6-2 |
ab01088f ER |
22 | Suggests: php-horde-Horde_Date |
23 | BuildArch: noarch | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | # exclude optional dependencies | |
27 | %define _noautoreq pear(Horde/Date.*) | |
28 | ||
29 | %description | |
30 | The Horde_LoginTasks library provides a set of methods for dealing | |
31 | with tasks run upon login to Horde applications. | |
32 | ||
33 | In PEAR status of this package is: %{status}. | |
34 | ||
35 | %prep | |
36 | %pear_package_setup | |
37 | ||
38 | %build | |
39 | packagexml2cl package.xml > ChangeLog | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
44 | %pear_package_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc ChangeLog install.log | |
52 | %doc optional-packages.txt | |
53 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
54 | %{php_pear_dir}/Horde/LoginTasks.php | |
55 | %{php_pear_dir}/Horde/LoginTasks | |
56 | %{php_pear_dir}/data/Horde_LoginTasks |