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