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