]>
Commit | Line | Data |
---|---|---|
245f97a5 ER |
1 | # TODO |
2 | # - system locale dir | |
3 | %define status stable | |
4 | %define pearname Horde_Share | |
5 | %include /usr/lib/rpm/macros.php | |
6 | Summary: %{pearname} - Horde Shared Permissions System | |
7 | Name: php-horde-Horde_Share | |
8 | Version: 1.0.0 | |
9 | Release: 1 | |
10 | License: LGPL | |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
13 | # Source0-md5: 82a7c618c6788f4a4247d6e4236f0a56 | |
14 | URL: http://pear.horde.org/package/Horde_Share/ | |
15 | BuildRequires: php-channel(pear.horde.org) | |
16 | BuildRequires: php-packagexml2cl | |
17 | BuildRequires: php-pear-PEAR | |
18 | BuildRequires: php-pear-PEAR >= 1:1.7.0 | |
19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
20 | BuildRequires: rpmbuild(macros) >= 1.610 | |
21 | Requires: php-channel(pear.horde.org) | |
22 | Requires: php-horde-Horde_Db < 2.0.0 | |
23 | Requires: php-horde-Horde_Exception < 2.0.0 | |
24 | Requires: php-horde-Horde_Group < 2.0.0 | |
25 | Requires: php-horde-Horde_Perms < 2.0.0 | |
26 | Requires: php-horde-Horde_Support < 2.0.0 | |
27 | Requires: php-horde-Horde_Translation < 2.0.0 | |
28 | Requires: php-horde-Horde_Url < 2.0.0 | |
29 | Requires: php-horde-Horde_Util < 2.0.0 | |
4312cb09 | 30 | Requires: php-pear >= 4:1.3.6-2 |
245f97a5 ER |
31 | Suggests: php-horde-Horde_DataTree |
32 | Suggests: php-horde-Horde_Kolab_Storage | |
33 | BuildArch: noarch | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | # exclude optional dependencies | |
37 | %define _noautoreq pear(Horde/DataTree.*) pear(Horde/Kolab/Storage.*) | |
38 | ||
39 | %description | |
40 | Horde_Share provides an interface to all shared resources a user owns | |
41 | or has access to. | |
42 | ||
43 | In PEAR status of this package is: %{status}. | |
44 | ||
45 | %prep | |
46 | %pear_package_setup | |
47 | ||
48 | %build | |
49 | packagexml2cl package.xml > ChangeLog | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
54 | %pear_package_install | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p <lua> | |
60 | %pear_package_print_optionalpackages | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc ChangeLog install.log | |
65 | %doc optional-packages.txt | |
66 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
67 | %{php_pear_dir}/Horde/Share | |
68 | %{php_pear_dir}/data/Horde_Share |