1 |
unnilennium |
1.1 |
%define name smeserver-roundcube |
2 |
|
|
%define version 0.9 |
3 |
unnilennium |
1.2 |
%define release 16 |
4 |
unnilennium |
1.1 |
|
5 |
|
|
Summary: smserver rpm to setup roundcube, an IMAP mail client |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
Source: %{name}-%{version}.tar.gz |
10 |
|
|
Patch0: smeserver-roundcube-0.9-domain.patch |
11 |
|
|
Patch1: smeserver-roundcube-0.9-tmp_folder.patch |
12 |
|
|
Patch2: smeserver-roundcube-0.9-LdapAdressbooks.patch |
13 |
|
|
Patch3: smeserver-roundcube-0.9-calendar-junk-contextmenu.patch |
14 |
|
|
Patch4: smeserver-roundcube-0.9-force-https.patch |
15 |
unnilennium |
1.2 |
Patch5: smeserver-roundcube-0.9-patch1.patch |
16 |
unnilennium |
1.1 |
License: GNU GPL version 2 |
17 |
|
|
URL: http://www.dungog.net/sme |
18 |
|
|
Group: SMEserver/addon |
19 |
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
20 |
|
|
Prefix: %{_prefix} |
21 |
|
|
BuildArchitectures: noarch |
22 |
|
|
BuildRequires: e-smith-devtools |
23 |
|
|
Requires: e-smith-release >= 8.0 |
24 |
|
|
Requires: roundcube |
25 |
|
|
AutoReqProv: no |
26 |
|
|
|
27 |
|
|
%description |
28 |
|
|
smserver rpm to setup the roundcube IMAP mail client. |
29 |
|
|
|
30 |
|
|
%changelog |
31 |
unnilennium |
1.2 |
* Thu Nov 5 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme |
32 |
|
|
- corrected bug [SME: 7981] |
33 |
|
|
- moved out spec file sql init and other event and actions |
34 |
|
|
|
35 |
unnilennium |
1.1 |
* Sat Oct 26 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.15 |
36 |
|
|
- Change the version of roundcubemail-plugins-kolab to 3.02 : http://git.kolab.org/roundcubemail-plugins-kolab/ |
37 |
|
|
|
38 |
|
|
* Sun Oct 20 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.14 |
39 |
|
|
- Change the original https_only |
40 |
|
|
|
41 |
|
|
* Sat Oct 13 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.13 |
42 |
|
|
- Add the Kolab calendar plugin : http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/calendar |
43 |
|
|
- Add the context menu for right click, very useful : http://www.tehinterweb.co.uk/roundcube/#picontextmenu |
44 |
|
|
- Add the "Mark as Junk 2" to kick spam to junkmail : http://www.tehinterweb.co.uk/roundcube/#pimarkasjunk2 |
45 |
|
|
|
46 |
|
|
* Sat Oct 5 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 0.9.12 |
47 |
|
|
- Add the SME Server internal LDAP addressbooks in roundcube |
48 |
|
|
|
49 |
|
|
* Sat Sep 21 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.9.11 |
50 |
|
|
- Add carddav functionnality http://www.crash-override.net/carddav.html |
51 |
|
|
|
52 |
|
|
* Wed Jun 05 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.9.9 |
53 |
|
|
- add a tmp folder in httpd.conf |
54 |
|
|
* Mon Jun 03 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
55 |
|
|
- requires sme8 0.9-8 |
56 |
|
|
|
57 |
|
|
* Thu Jun 28 2007 Stephen Noble <stephen@dungog.net> |
58 |
|
|
- add domain property to use existing host or domain 0.9-7 |
59 |
|
|
|
60 |
|
|
* Thu Jun 21 2007 Stephen Noble <stephen@dungog.net> |
61 |
|
|
- update .spec file 0.9-6 |
62 |
|
|
|
63 |
|
|
* Thu Jun 21 2007 Stephen Noble <stephen@dungog.net> |
64 |
|
|
- automate config file creation |
65 |
|
|
- proxypass to fix https redirect bug |
66 |
|
|
- [0.9-5] |
67 |
|
|
|
68 |
|
|
* Fri Apr 6 2007 Stephen Noble <stephen@dungog.net> |
69 |
|
|
- revert mysql password creation |
70 |
|
|
- [0.9-4] |
71 |
|
|
|
72 |
|
|
* Wed Feb 14 2007 Stephen Noble <stephen@dungog.net> |
73 |
|
|
- remove phpinfo |
74 |
|
|
- simplify mysql password creation |
75 |
|
|
- don't alias / in httpd for nul values in URL |
76 |
|
|
- [0.9-3] |
77 |
|
|
|
78 |
|
|
* Thu Dec 14 2006 Stephen Noble <support@dungog.net> |
79 |
|
|
- php_admin_value eaccelerator enabled |
80 |
|
|
- [0.9-2] |
81 |
|
|
|
82 |
|
|
* Tue Dec 12 2006 Stephen Noble <support@dungog.net> |
83 |
|
|
- initial release |
84 |
|
|
- [0.9-1] |
85 |
|
|
|
86 |
|
|
%prep |
87 |
|
|
%setup |
88 |
|
|
%patch0 -p1 |
89 |
|
|
%patch1 -p1 |
90 |
|
|
%patch2 -p1 |
91 |
|
|
%patch3 -p1 |
92 |
|
|
%patch4 -p1 |
93 |
unnilennium |
1.2 |
%patch5 -p1 |
94 |
unnilennium |
1.1 |
|
95 |
|
|
%build |
96 |
unnilennium |
1.2 |
perl createlinks |
97 |
|
|
# leaved here for the moment but should be in a patch, sources or createlinks |
98 |
unnilennium |
1.1 |
mkdir -p root/etc/e-smith/db/accounts/defaults/roundcube |
99 |
|
|
echo "reserved" > root/etc/e-smith/db/accounts/defaults/roundcube/type |
100 |
|
|
|
101 |
|
|
mkdir -p root/etc/e-smith/db/configuration/defaults/roundcube |
102 |
|
|
echo "RoundCube IMAP Client" > root/etc/e-smith/db/configuration/defaults/roundcube/Name |
103 |
|
|
echo "global" > root/etc/e-smith/db/configuration/defaults/roundcube/PublicAccess |
104 |
|
|
echo "enabled" > root/etc/e-smith/db/configuration/defaults/roundcube/status |
105 |
|
|
echo "roundcube" > root/etc/e-smith/db/configuration/defaults/roundcube/DbName |
106 |
|
|
echo "roundcube" > root/etc/e-smith/db/configuration/defaults/roundcube/DbUser |
107 |
|
|
|
108 |
|
|
%install |
109 |
|
|
rm -rf $RPM_BUILD_ROOT |
110 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
111 |
|
|
rm -f %{name}-%{version}-filelist |
112 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
113 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
114 |
|
|
|
115 |
|
|
%clean |
116 |
|
|
cd .. |
117 |
|
|
rm -rf %{name}-%{version} |
118 |
|
|
|
119 |
|
|
%pre |
120 |
|
|
%preun |
121 |
|
|
|
122 |
|
|
%post |
123 |
unnilennium |
1.2 |
|
124 |
unnilennium |
1.1 |
|
125 |
|
|
%postun |
126 |
|
|
#uninstall |
127 |
|
|
if [ $1 = 0 ] ; then |
128 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
129 |
|
|
/usr/local/bin/svc -h /service/httpd-e-smith |
130 |
|
|
fi |
131 |
|
|
|
132 |
|
|
%files -f %{name}-%{version}-filelist |
133 |
|
|
%defattr(-,root,root) |
134 |
|
|
|