1 |
unnilennium |
1.1 |
%define peardir /usr/share/pear |
2 |
|
|
%define xmldir /var/lib/pear |
3 |
|
|
|
4 |
|
|
Summary: PEAR: Horde ActiveSync Server Library |
5 |
|
|
Name: php-horde-Horde-ActiveSync |
6 |
|
|
Version: 2.34.0 |
7 |
|
|
Release: 1%{?dist} |
8 |
|
|
License: GPL-2.0 |
9 |
|
|
Group: Development/Libraries |
10 |
|
|
Source0: http://pear.horde.org/get/Horde_ActiveSync-%{version}.tgz |
11 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) |
12 |
|
|
URL: http://pear.horde.org/package/Horde_ActiveSync |
13 |
|
|
BuildRequires: php-pear(PEAR) >= 1.4.7 |
14 |
|
|
BuildRequires: php-channel(pear.horde.org) |
15 |
|
|
Requires: Horde_Role >= 1.0.0 |
16 |
|
|
Requires: Horde_Compress >= 2.0.0 |
17 |
|
|
Requires: Horde_Compress < 3.0.0alpha1 |
18 |
|
|
Requires: Horde_Date >= 2.0.0 |
19 |
|
|
Requires: Horde_Date < 3.0.0alpha1 |
20 |
|
|
Requires: Horde_Exception >= 2.0.0 |
21 |
|
|
Requires: Horde_Exception < 3.0.0alpha1 |
22 |
|
|
Requires: Horde_Icalendar >= 2.0.0 |
23 |
|
|
Requires: Horde_Icalendar < 3.0.0alpha1 |
24 |
|
|
Requires: Horde_Mapi >= 1.0.0 |
25 |
|
|
Requires: Horde_Mapi < 2.0.0alpha1 |
26 |
|
|
Requires: Horde_Mime >= 2.0.0 |
27 |
|
|
Requires: Horde_Mime < 3.0.0alpha1 |
28 |
|
|
Requires: Horde_Stream >= 1.4.0 |
29 |
|
|
Requires: Horde_Stream < 2.0.0alpha1 |
30 |
|
|
Requires: Horde_Support >= 2.0.0 |
31 |
|
|
Requires: Horde_Support < 3.0.0alpha1 |
32 |
|
|
Requires: Horde_Util >= 2.0.0 |
33 |
|
|
Requires: Horde_Util < 3.0.0alpha1 |
34 |
|
|
Requires: php-pear(PEAR) >= 1.7.0 |
35 |
|
|
Requires: php-channel(pear.horde.org) |
36 |
|
|
BuildArch: noarch |
37 |
|
|
|
38 |
|
|
Provides: %{name} = %{version} |
39 |
|
|
|
40 |
|
|
%description |
41 |
|
|
Libraries for implementing an ActiveSync server. |
42 |
|
|
|
43 |
|
|
%prep |
44 |
|
|
%setup -c -T |
45 |
|
|
pear -v -c pearrc \ |
46 |
|
|
-d php_dir=%{peardir} \ |
47 |
|
|
-d doc_dir=%{pear_docdir} \ |
48 |
|
|
-d bin_dir=%{_bindir} \ |
49 |
|
|
-d data_dir=%{peardir}/data \ |
50 |
|
|
-d test_dir=%{peardir}/tests \ |
51 |
|
|
-d ext_dir=%{_libdir} \ |
52 |
|
|
-d horde_dir=%{pear_hordedir} \ |
53 |
|
|
-s |
54 |
|
|
|
55 |
|
|
%build |
56 |
|
|
|
57 |
|
|
%install |
58 |
|
|
rm -rf %{buildroot} |
59 |
|
|
pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0} |
60 |
|
|
|
61 |
|
|
# Clean up unnecessary files |
62 |
|
|
rm pearrc |
63 |
|
|
rm %{buildroot}/%{peardir}/.filemap |
64 |
|
|
rm %{buildroot}/%{peardir}/.lock |
65 |
|
|
rm -rf %{buildroot}/%{peardir}/.registry |
66 |
|
|
rm -rf %{buildroot}%{peardir}/.channels |
67 |
|
|
rm %{buildroot}%{peardir}/.depdb |
68 |
|
|
rm %{buildroot}%{peardir}/.depdblock |
69 |
|
|
|
70 |
|
|
#mv %{buildroot}/docs . |
71 |
|
|
|
72 |
|
|
|
73 |
|
|
# Install XML package description |
74 |
|
|
mkdir -p %{buildroot}%{xmldir} |
75 |
|
|
tar -xzf %{SOURCE0} package.xml |
76 |
|
|
cp -p package.xml %{buildroot}%{xmldir}/Horde_ActiveSync.xml |
77 |
|
|
|
78 |
|
|
%clean |
79 |
|
|
rm -rf %{buildroot} |
80 |
|
|
|
81 |
|
|
%post |
82 |
|
|
pear install --nodeps --soft --force --register-only %{xmldir}/Horde_ActiveSync.xml >/dev/null || : |
83 |
|
|
|
84 |
|
|
%postun |
85 |
|
|
if [ "$1" -eq "0" ]; then |
86 |
|
|
pear uninstall --nodeps --ignore-errors --register-only pear.horde.org/Horde_ActiveSync >/dev/null || : |
87 |
|
|
fi |
88 |
|
|
|
89 |
|
|
%files |
90 |
|
|
%defattr(-,root,root) |
91 |
|
|
#%doc docs/Horde_ActiveSync/* |
92 |
|
|
%{peardir}/* |
93 |
|
|
%{xmldir}/Horde_ActiveSync.xml |
94 |
|
|
|
95 |
|
|
%changelog |
96 |
|
|
* Tue Jun 7 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.34.0-1 |
97 |
|
|
- Updated to 2.33.3 |
98 |
|
|
|
99 |
|
|
* Wed Apr 27 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.31.9-1 |
100 |
|
|
- Updated to 2.31.9 |
101 |
|
|
|
102 |
|
|
* Sat Mar 26 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.31.8-1 |
103 |
|
|
- Updated to 2.31.8 |
104 |
|
|
|
105 |
|
|
* Wed Feb 24 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.31.5-1 |
106 |
|
|
- Updated to 2.31.5 |
107 |
|
|
|
108 |
|
|
* Sun Jan 31 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.30.6-1 |
109 |
|
|
- Updated to 2.30.6 |
110 |
|
|
|
111 |
|
|
* Mon Jan 18 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.30.5-1 |
112 |
|
|
- Updated to 2.30.5 |
113 |
|
|
|
114 |
|
|
* Sat Dec 26 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.30.3-1 |
115 |
|
|
- Updated to 2.30.3 |
116 |
|
|
|
117 |
|
|
* Sat Dec 26 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.30.3-1 |
118 |
|
|
- Updated to 2.30.3 |
119 |
|
|
|
120 |
|
|
* Wed Nov 25 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.30.2-1 |
121 |
|
|
- Updated to 2.30.2 |
122 |
|
|
|
123 |
|
|
* Wed Oct 28 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.30.1-1 |
124 |
|
|
- Updated to 2.30.1 |
125 |
|
|
|
126 |
|
|
* Fri Oct 23 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.30.0-1 |
127 |
|
|
- Updated to 2.30.0 |
128 |
|
|
|
129 |
|
|
* Tue Sep 22 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.29.2-1 |
130 |
|
|
- Updated to 2.29.2 |
131 |
|
|
|
132 |
|
|
* Fri Sep 4 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.29.1-1 |
133 |
|
|
- Updated to 2.29.1 |
134 |
|
|
|
135 |
|
|
* Sat Aug 1 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.28.6-1 |
136 |
|
|
- Updated to 2.28.6 |
137 |
|
|
|
138 |
|
|
* Mon Jun 15 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.28.5-1 |
139 |
|
|
- Updated to 2.28.5 |
140 |
|
|
|
141 |
|
|
* Wed Jun 3 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.28.4-1 |
142 |
|
|
- Updated to 2.28.4 |
143 |
|
|
|
144 |
|
|
* Sat May 2 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.27.1-1 |
145 |
|
|
- Updated to 2.27.1 |
146 |
|
|
|
147 |
|
|
* Sat Apr 4 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.27.0-1 |
148 |
|
|
- Updated to 2.27.0 |
149 |
|
|
|
150 |
|
|
* Sat Mar 7 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.26.1-1 |
151 |
|
|
- Updated to 2.26.1 |
152 |
|
|
|
153 |
|
|
* Wed Feb 25 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.26.0-1 |
154 |
|
|
- Updated to 2.26.0 |
155 |
|
|
|
156 |
|
|
* Fri Feb 6 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.24.1-1 |
157 |
|
|
- Updated to 2.24.1 |
158 |
|
|
|
159 |
|
|
* Sat Jan 10 2015 John H. Bennett III <bennettj@johnbennettservices.com> - 2.24.0-1 |
160 |
|
|
- Updated to 2.24.0 |
161 |
|
|
|
162 |
|
|
* Sun Dec 28 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.23.0-1 |
163 |
|
|
- Updated to 2.23.0 |
164 |
|
|
|
165 |
|
|
* Thu Dec 12 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.21.0-1 |
166 |
|
|
- Updated to 2.21.0 |
167 |
|
|
|
168 |
|
|
* Tue Dec 9 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.20.5-1 |
169 |
|
|
- Updated to 2.20.4 |
170 |
|
|
|
171 |
|
|
* Tue Oct 21 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.19.4-1 |
172 |
|
|
- Updated to 2.19.4 |
173 |
|
|
|
174 |
|
|
* Tue Oct 07 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.19.3-1 |
175 |
|
|
- Updated to 2.19.3 |
176 |
|
|
|
177 |
|
|
* Sat Sep 20 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.19.1-1 |
178 |
|
|
- Updated to 2.19.1 |
179 |
|
|
|
180 |
|
|
* Wed Sep 3 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.18.1-1 |
181 |
|
|
- Updated to 2.18.1 |
182 |
|
|
|
183 |
|
|
* Wed Aug 27 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.18.0-1 |
184 |
|
|
- Updated to 2.18.0 |
185 |
|
|
|
186 |
|
|
* Tue Aug 13 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.17.0-1 |
187 |
|
|
- Updated to 2.17.0 |
188 |
|
|
|
189 |
|
|
* Sun Jul 13 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.16.11-1 |
190 |
|
|
- Updated to 2.16.11 |
191 |
|
|
|
192 |
|
|
* Wed Jun 25 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.16.7-1 |
193 |
|
|
- Updated to 2.16.7 |
194 |
|
|
|
195 |
|
|
* Tue Apr 29 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.14.1-1 |
196 |
|
|
- Updated to 2.14.1 |
197 |
|
|
|
198 |
|
|
* Thu Apr 3 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.13.4-1 |
199 |
|
|
- Updated to 2.13.4 |
200 |
|
|
|
201 |
|
|
* Mon Mar 24 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.13.3-1 |
202 |
|
|
- Updated to 2.13.3 |
203 |
|
|
|
204 |
|
|
* Sun Mar 16 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.13.2-1 |
205 |
|
|
- Updated to 2.13.2 |
206 |
|
|
|
207 |
|
|
* Tue Mar 11 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.13.1-1 |
208 |
|
|
- Updated to 2.13.1 |
209 |
|
|
|
210 |
|
|
* Sat Feb 8 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.12.4-1 |
211 |
|
|
- Updated to 2.12.4 |
212 |
|
|
- added Horde_Mapi requirement. New for 2.12 release |
213 |
|
|
|
214 |
|
|
* Wed Nov 20 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.9.1-1 |
215 |
|
|
- Updated to 2.9.1 |
216 |
|
|
|
217 |
|
|
* Tue Nov 19 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.9.0-1 |
218 |
|
|
- Updated to 2.9.0 |
219 |
|
|
|
220 |
|
|
* Thu Oct 24 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.8.5-1 |
221 |
|
|
- Updated to 2.8.5 |
222 |
|
|
|
223 |
|
|
* Fri Sep 6 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.7.3-1 |
224 |
|
|
- Updated to 2.7.3 |
225 |
|
|
|
226 |
|
|
* Sun Jul 21 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.5.6-1 |
227 |
|
|
- Updated to 2.5.6 |
228 |
|
|
|
229 |
|
|
* Mon Jun 3 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.3.6-1 |
230 |
|
|
- Initial release for SME Server |
231 |
|
|
- Original build from pear make-rpm-spec |
232 |
|
|
|