1 |
%define name smeserver-qmHandle |
2 |
Name: %{name} |
3 |
%define version 1.4 |
4 |
%define release 25 |
5 |
Version: %{version} |
6 |
Release: %{release}%{?dist} |
7 |
BuildArch: noarch |
8 |
License: GPL |
9 |
Group: Networking/Info |
10 |
Summary: adds a panel for managing the Qmail queues using qmHandle |
11 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
12 |
Source: %{name}-%{version}.tgz |
13 |
Patch1: smeserver-qmHandle-1.4-patch1.patch |
14 |
Patch2: smeserver-qmHandle-1.4-locale-2013-07-14.patch |
15 |
Patch3: smeserver-qmHandle-1.4-locale-2016-03-09.patch |
16 |
Patch4: smeserver-qmHandle-1.4-bz10379.alqmail.patch |
17 |
Patch5: smeserver-qmHandle-1.4-bz10380.alqmail.patch |
18 |
Patch6: smeserver-qmHandle-1.4-locale-2019-12-07.patch |
19 |
Patch7: smeserver-qmHandle-1.4-manager2.patch |
20 |
Patch8: smeserver-qmHandle-1.4-locale-2021-08-23.patch |
21 |
Patch9: smeserver-qmHandle-1.4-Add-module-class-to-ep-file.patch |
22 |
Patch10: smeserver-qmHandle-1.4-bz12148-add-systemd-capability.patch |
23 |
Patch11: smeserver-qmHandle-1.4-bz12151-clean-up-formatting.patch |
24 |
Patch12: smeserver-qmHandle-1.4-bz12151-enhance-message-deletion.patch |
25 |
Patch13: smeserver-qmHandle-1.4-bz12160-sm2-changes-to-match-bz12151.patch |
26 |
Patch14: smeserver-qmHandle-1.4-bz12147-textarea-preview.patch |
27 |
Patch15: smeserver-qmHandle-1.4-bz12160-include-lexicons.patch |
28 |
Patch16: smeserver-qmHandle-1.4-locale-2022-11-11.patch |
29 |
Patch17: smeserver-qmHandle-1.4-Alter-menu-category-for-new-arrangement.patch |
30 |
|
31 |
Obsoletes: qmHandle |
32 |
Obsoletes: e-smith-qmail-view |
33 |
Obsoletes: e-smith-qmHandle |
34 |
Obsoletes: smeserver-saco-qmHandle |
35 |
Provides: smeserver-qmHandle |
36 |
Requires: e-smith-base |
37 |
Requires: e-smith-lib |
38 |
Requires: perl |
39 |
Requires: smeserver-release >= 10 |
40 |
BuildRequires: e-smith-devtools |
41 |
|
42 |
AutoReqProv: no |
43 |
|
44 |
%description |
45 |
A panel for managing the Qmail queues using qmHandle |
46 |
(http://sourceforge.net/projects/qmhandle) |
47 |
|
48 |
%changelog |
49 |
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.4-25.sme |
50 |
- Edit Menu entry to conform to new arrangements [SME: 12493] |
51 |
|
52 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-24.sme |
53 |
- apply locale 2022-11-11 patch |
54 |
|
55 |
* Mon Sep 26 2022 Trevor Batley <trevor@batley.id.au> 1.4-23.sme |
56 |
- add in missing lexicons for bz12160 [SME: 12160] |
57 |
|
58 |
* Thu Sep 22 2022 bunkobugsy <vasarhelyizsolt@hotmail.com> 1.4-22.sme |
59 |
- fix to put email message in textare [SME: 12147] |
60 |
|
61 |
* Wed Sep 21 2022 Trevor Batley <trevor@batley.id.au> 1.4-21.sme |
62 |
- Mojo (sm2) patches to match bugs 12151 and 12147 [SME: 12160] |
63 |
|
64 |
* Thu Aug 18 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.4-20.sme |
65 |
- Enhance message deletion [SME: 12151] |
66 |
|
67 |
* Thu Aug 18 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.4-19.sme |
68 |
- Tidy formatting [SME: 12151] |
69 |
|
70 |
* Thu Aug 18 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.4-18.sme |
71 |
- Add systemd Capability to qmHandle [SME: 12148] |
72 |
|
73 |
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.4-17.sme |
74 |
- Add-module-class-to-ep-file [SME: 11832] |
75 |
|
76 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.4-16.sme |
77 |
- apply locale 2021-08-23 patch |
78 |
|
79 |
* Sat May 29 2021 Michel Begue <mab974@gmail.com> 1.4-15.sme |
80 |
- first use with smeserver-manager [SME: 11600] |
81 |
|
82 |
* Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-14.sme |
83 |
- add update event [SME: 11035] |
84 |
|
85 |
* Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-13.sme |
86 |
- Initial import to SME10 tree [SME: 11035] |
87 |
|
88 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.4-12.sme |
89 |
- apply locale 2019-12-07 patch |
90 |
|
91 |
* Fri Oct 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-11.sme |
92 |
- fix changelog [SME: 10449] |
93 |
|
94 |
* Mon Jul 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-9.sme |
95 |
- add panel support for altqmail [SME: 10380] |
96 |
- if altqmail config db key is present the menus are added to control altqmail |
97 |
|
98 |
* Mon Jul 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme |
99 |
- add command line support for alqmail and fix conflict with stopping qmail [SME: 10379] |
100 |
|
101 |
* Thu Mar 17 2016 JP Pialasse <tests@pialasse.com> 1.4-6.sme |
102 |
- fix XML error in german translation [SME: 9041] |
103 |
- patch fixed and pootle entries |
104 |
|
105 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.4-5.sme |
106 |
- apply locale 2016-03-09 patch |
107 |
|
108 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-4.sme |
109 |
- apply locale 2013-07-14 patch |
110 |
|
111 |
* Fri Aug 31 2012 JP Pialasse <tests@pialasse.com> 1.4-3.sme |
112 |
- fix path of sv |
113 |
|
114 |
* Thu Aug 30 2012 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
115 |
- fix buildrequires and import in buildsys |
116 |
|
117 |
* Thu Aug 23 2012 JP Pialasse <tests@pialasse.com> 1.4-1.sme |
118 |
- Initial release |
119 |
|
120 |
%prep |
121 |
%setup |
122 |
%patch1 -p1 |
123 |
%patch2 -p1 |
124 |
%patch3 -p1 |
125 |
%patch4 -p1 |
126 |
%patch5 -p1 |
127 |
%patch6 -p1 |
128 |
%patch7 -p1 |
129 |
%patch8 -p1 |
130 |
%patch9 -p1 |
131 |
%patch10 -p1 |
132 |
%patch11 -p1 |
133 |
%patch12 -p1 |
134 |
%patch13 -p1 |
135 |
%patch14 -p1 |
136 |
%patch15 -p1 |
137 |
%patch16 -p1 |
138 |
%patch17 -p1 |
139 |
|
140 |
mkdir -p root/etc/e-smith/events/smeserver-qmHandle-update |
141 |
|
142 |
%build |
143 |
perl createlinks |
144 |
|
145 |
%install |
146 |
rm -rf $RPM_BUILD_ROOT |
147 |
|
148 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
149 |
rm -f e-smith-%{version}-filelist |
150 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
151 |
|
152 |
%clean |
153 |
rm -rf $RPM_BUILD_ROOT |
154 |
|
155 |
%files -f %{name}-%{version}-filelist |
156 |
|
157 |
%defattr(-,root,root) |
158 |
%attr(4750 root admin) "/etc/e-smith/web/functions/qmh" |
159 |
%attr(0755 root root) "/usr/bin/qmHandle" |
160 |
|
161 |
%pre |
162 |
|
163 |
%post -p /bin/sh |
164 |
|
165 |
#/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
166 |
|
167 |
if (systemctl list-unit-files |grep smanager) then |
168 |
echo "Smanager restart in spec file" |
169 |
/sbin/e-smith/signal-event smanager-refresh; |
170 |
fi |
171 |
|
172 |
|
173 |
%preun |
174 |
|
175 |
%postun -p /bin/sh |
176 |
#/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |