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