1 |
%define name smeserver-qmHandle |
2 |
Name: %{name} |
3 |
%define version 1.4 |
4 |
%define release 16 |
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 |
|
22 |
Obsoletes: qmHandle |
23 |
Obsoletes: e-smith-qmail-view |
24 |
Obsoletes: e-smith-qmHandle |
25 |
Obsoletes: smeserver-saco-qmHandle |
26 |
Provides: smeserver-qmHandle |
27 |
Requires: e-smith-base |
28 |
Requires: e-smith-lib |
29 |
Requires: perl |
30 |
Requires: smeserver-release >= 10 |
31 |
BuildRequires: e-smith-devtools |
32 |
|
33 |
AutoReqProv: no |
34 |
|
35 |
%description |
36 |
A panel for managing the Qmail queues using qmHandle |
37 |
(http://sourceforge.net/projects/qmhandle) |
38 |
|
39 |
%changelog |
40 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.4-16.sme |
41 |
- apply locale 2021-08-23 patch |
42 |
|
43 |
* Sat May 29 2021 Michel Begue <mab974@gmail.com> 1.4-15.sme |
44 |
- first use with smeserver-manager [SME: 11600] |
45 |
|
46 |
* Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-14.sme |
47 |
- add update event [SME: 11035] |
48 |
|
49 |
* Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-13.sme |
50 |
- Initial import to SME10 tree [SME: 11035] |
51 |
|
52 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.4-12.sme |
53 |
- apply locale 2019-12-07 patch |
54 |
|
55 |
* Fri Oct 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-11.sme |
56 |
- fix changelog [SME: 10449] |
57 |
|
58 |
* Mon Jul 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-9.sme |
59 |
- add panel support for altqmail [SME: 10380] |
60 |
- if altqmail config db key is present the menus are added to control altqmail |
61 |
|
62 |
* Mon Jul 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme |
63 |
- add command line support for alqmail and fix conflict with stopping qmail [SME: 10379] |
64 |
|
65 |
* Thu Mar 17 2016 JP Pialasse <tests@pialasse.com> 1.4-6.sme |
66 |
- fix XML error in german translation [SME: 9041] |
67 |
- patch fixed and pootle entries |
68 |
|
69 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.4-5.sme |
70 |
- apply locale 2016-03-09 patch |
71 |
|
72 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-4.sme |
73 |
- apply locale 2013-07-14 patch |
74 |
|
75 |
* Fri Aug 31 2012 JP Pialasse <tests@pialasse.com> 1.4-3.sme |
76 |
- fix path of sv |
77 |
|
78 |
* Thu Aug 30 2012 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
79 |
- fix buildrequires and import in buildsys |
80 |
|
81 |
* Thu Aug 23 2012 JP Pialasse <tests@pialasse.com> 1.4-1.sme |
82 |
- Initial release |
83 |
|
84 |
%prep |
85 |
%setup |
86 |
%patch1 -p1 |
87 |
%patch2 -p1 |
88 |
%patch3 -p1 |
89 |
%patch4 -p1 |
90 |
%patch5 -p1 |
91 |
%patch6 -p1 |
92 |
%patch7 -p1 |
93 |
%patch8 -p1 |
94 |
|
95 |
mkdir -p root/etc/e-smith/events/smeserver-qmHandle-update |
96 |
|
97 |
%build |
98 |
perl createlinks |
99 |
|
100 |
%install |
101 |
rm -rf $RPM_BUILD_ROOT |
102 |
|
103 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
104 |
rm -f e-smith-%{version}-filelist |
105 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
106 |
|
107 |
%clean |
108 |
rm -rf $RPM_BUILD_ROOT |
109 |
|
110 |
%files -f %{name}-%{version}-filelist |
111 |
|
112 |
%defattr(-,root,root) |
113 |
%attr(4750 root admin) "/etc/e-smith/web/functions/qmh" |
114 |
%attr(0755 root root) "/usr/bin/qmHandle" |
115 |
|
116 |
%pre |
117 |
|
118 |
%post -p /bin/sh |
119 |
#/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
120 |
|
121 |
%preun |
122 |
|
123 |
%postun -p /bin/sh |
124 |
#/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |