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