1 |
# $Id: e-smith-horde.spec,v 1.22 2010/05/11 04:07:35 mrjhb3 Exp $ |
2 |
|
3 |
Summary: e-smith specific Horde configuration and templates. |
4 |
%define name smeserver-horde |
5 |
Name: %{name} |
6 |
%define version 1.0.0 |
7 |
%define release 3 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
#Patch1: e-smith-horde-4.8.0_renumber_database_creation.order.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
16 |
Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
AutoReqProv: no |
19 |
Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp |
20 |
Obsoletes: ingo-h3, e-smith-ingo, turba-h3, e-smith-turba |
21 |
Obsoletes: kronolith-h3, smeserver-kronolith, nag-h3, smeserver-nag |
22 |
Obsoletes: mnemo-h3, smeserver-mnemo |
23 |
Requires: php-horde-content, php-horde-imp, php-horde-ingo, php-horde-kronolith |
24 |
Requires: php-horde-mnemo, php-horde-nag, php-horde-turba |
25 |
# optional fucntions we provide |
26 |
Requires: php-horde-Horde-ActiveSync |
27 |
Requires: php-horde-Horde-Service-Facebook |
28 |
Requires: php-horde-Horde-Service-Twitter |
29 |
Requires: php-pear-Date-Holidays-Australia, php-pear-Date-Holidays-Denmark |
30 |
Requires: php-pear-Date-Holidays-Germany, php-pear-Date-Holidays-Italy |
31 |
Requires: php-pear-Date-Holidays-Netherlands, php-pear-Date-Holidays-Norway |
32 |
Requires: php-pear-Date-Holidays-Portugal, php-pear-Date-Holidays-Russia |
33 |
Requires: php-pear-Date-Holidays-Slovenia, php-pear-Date-Holidays-Sweden |
34 |
Requires: php-pear-Date-Holidays-Turkey |
35 |
Requires: php-horde-Horde-Text-Filter-Csstidy |
36 |
Requires: timeobjects |
37 |
|
38 |
%changelog |
39 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme |
40 |
- added Requires for pear Dates [SME: 9645] |
41 |
- Activesync, timeobjects, Facebook. Twitter, Text-Filter |
42 |
|
43 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme |
44 |
- add main Required packages php-horde-* [SME: 9645] |
45 |
|
46 |
* Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1 |
47 |
- First released build for SME10 |
48 |
|
49 |
%description |
50 |
This package adds necessary templates and configuration items |
51 |
for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba |
52 |
to work on SME Server 10 |
53 |
|
54 |
%prep |
55 |
%setup |
56 |
|
57 |
#%patch1 -p1 |
58 |
|
59 |
%build |
60 |
for i in post-install post-upgrade |
61 |
do |
62 |
mkdir -p root/etc/e-smith/events/$i |
63 |
done |
64 |
perl createlinks |
65 |
|
66 |
%install |
67 |
rm -rf $RPM_BUILD_ROOT |
68 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
69 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
70 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
71 |
|
72 |
%clean |
73 |
rm -rf $RPM_BUILD_ROOT |
74 |
|
75 |
%pre |
76 |
%preun |
77 |
%post |
78 |
|
79 |
%postun |
80 |
|
81 |
%files -f %{name}-%{version}-filelist |
82 |
%defattr(-,root,root) |