]>
Commit | Line | Data |
---|---|---|
600c194a ER |
1 | # TODO |
2 | # - system locale dirs | |
3 | %define status stable | |
4 | %define pearname Horde_SyncMl | |
600c194a ER |
5 | Summary: %{pearname} - Horde_SyncMl provides an API for processing SyncML requests |
6 | Name: php-horde-Horde_SyncMl | |
0f567fa0 | 7 | Version: 1.0.9 |
600c194a ER |
8 | Release: 1 |
9 | License: LGPL | |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
0f567fa0 | 12 | # Source0-md5: 589c03d030f69415d9d2d3e4e75c8540 |
f67d89a1 | 13 | URL: https://github.com/horde/horde/tree/master/framework/SyncMl/ |
600c194a 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_Date < 2.0.0 | |
21 | Requires: php-horde-Horde_Icalendar < 2.0.0 | |
22 | Requires: php-horde-Horde_Log < 2.0.0 | |
23 | Requires: php-horde-Horde_Support < 2.0.0 | |
24 | Requires: php-horde-Horde_Translation < 2.0.0 | |
25 | Requires: php-horde-Horde_Util < 2.0.0 | |
26 | Requires: php-horde-Horde_Xml_Wbxml < 2.0.0 | |
e51baf39 | 27 | Requires: php-pear >= 4:1.3.6-2 |
600c194a ER |
28 | Requires: php-pear-PEAR-core |
29 | Suggests: php-horde-Horde_Auth | |
30 | Suggests: php-horde-Horde_Core | |
31 | Suggests: php-pear-MDB2 | |
32 | BuildArch: noarch | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | # exclude optional dependencies | |
36 | %define _noautoreq pear(Horde/Auth.*) pear(Horde/Core.*) pear(MDB2.*) | |
37 | ||
38 | %description | |
39 | This package provides classes for implementing a SyncML server. | |
40 | ||
41 | In PEAR status of this package is: %{status}. | |
42 | ||
43 | %prep | |
44 | %pear_package_setup | |
45 | ||
46 | %build | |
47 | packagexml2cl package.xml > ChangeLog | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
52 | %pear_package_install | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %post -p <lua> | |
58 | %pear_package_print_optionalpackages | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc ChangeLog install.log | |
63 | %doc optional-packages.txt | |
64 | %doc docs/Horde_SyncMl/* | |
65 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
66 | %{php_pear_dir}/Horde/SyncMl.php | |
67 | %{php_pear_dir}/Horde/SyncMl | |
68 | %{php_pear_dir}/data/Horde_SyncMl |