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