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