]>
Commit | Line | Data |
---|---|---|
1b4a3580 ER |
1 | # TODO |
2 | # - system locale dir | |
3 | %define status stable | |
4 | %define pearname Horde_Kolab_Storage | |
1b4a3580 ER |
5 | Summary: %{pearname} - A package for handling Kolab data stored on an IMAP server |
6 | Name: php-horde-Horde_Kolab_Storage | |
aca64626 | 7 | Version: 1.1.0 |
1b4a3580 ER |
8 | Release: 1 |
9 | License: LGPL | |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
aca64626 | 12 | # Source0-md5: 262a185b6e05e3303193092d91e03496 |
7d84c659 | 13 | URL: https://github.com/horde/horde/tree/master/framework/Kolab_Storage/ |
1b4a3580 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.580 | |
19 | Requires: php-channel(pear.horde.org) | |
20 | Requires: php-horde-Horde_Cache < 2.0.0 | |
21 | Requires: php-horde-Horde_Exception < 2.0.0 | |
22 | Requires: php-horde-Horde_Kolab_Format < 2.0.0 | |
23 | Requires: php-horde-Horde_Mime < 2.0.0 | |
24 | Requires: php-horde-Horde_Support < 2.0.0 | |
25 | Requires: php-horde-Horde_Translation < 2.0.0 | |
26 | Requires: php-horde-Horde_Util < 2.0.0 | |
27 | Requires: php-pear | |
aca64626 | 28 | Suggests: php-horde-Horde_History |
1b4a3580 ER |
29 | Suggests: php-horde-Horde_Imap_Client |
30 | Suggests: php-imap | |
31 | Suggests: php-pear-HTTP_Request | |
32 | Suggests: php-pear-Net_IMAP | |
33 | BuildArch: noarch | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | # exclude optional dependencies | |
37 | %define _noautoreq pear(Horde/Imap/Client.*) pear(HTTP/Request.*) pear(Net/IMAP.*) | |
38 | ||
39 | %description | |
40 | Storing user data in an IMAP account belonging to the user is one of | |
41 | the Kolab server core concepts. This package provides all the | |
42 | necessary means to deal with this type of data storage effectively. | |
43 | ||
44 | In PEAR status of this package is: %{status}. | |
45 | ||
46 | %prep | |
47 | %pear_package_setup | |
48 | ||
49 | %build | |
50 | packagexml2cl package.xml > ChangeLog | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
55 | %pear_package_install | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post -p <lua> | |
61 | %pear_package_print_optionalpackages | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc ChangeLog install.log | |
66 | %doc optional-packages.txt | |
67 | %doc docs/Horde_Kolab_Storage/* | |
68 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
69 | %{php_pear_dir}/Horde/Kolab/Storage.php | |
70 | %{php_pear_dir}/Horde/Kolab/Storage | |
71 | %{php_pear_dir}/data/Horde_Kolab_Storage |