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-locale-2017-03-25.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 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme |
37 |
- apply locale 2017-03-25 patch |
38 |
|
39 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.4-6.sme |
40 |
- apply locale 2016-03-09 patch |
41 |
|
42 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-4.sme |
43 |
- apply locale 2013-07-14 patch |
44 |
|
45 |
* Fri Aug 31 2012 JP Pialasse <tests@pialasse.com> 1.4-3.sme |
46 |
- fix path of sv |
47 |
|
48 |
* Thu Aug 30 2012 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
49 |
- fix buildrequires and import in buildsys |
50 |
|
51 |
%changelog |
52 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme |
53 |
- fix [SME: ] |
54 |
|
55 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.4-5.sme |
56 |
- apply locale 2016-03-09 patch |
57 |
|
58 |
* Thu Aug 23 2012 JP Pialasse <tests@pialasse.com> 1.4-1.sme |
59 |
- Initial release |
60 |
|
61 |
%prep |
62 |
%setup |
63 |
%patch1 -p1 |
64 |
%patch2 -p1 |
65 |
%patch3 -p1 |
66 |
%patch4 -p1 |
67 |
|
68 |
%build |
69 |
perl createlinks |
70 |
|
71 |
%install |
72 |
rm -rf $RPM_BUILD_ROOT |
73 |
|
74 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
75 |
rm -f e-smith-%{version}-filelist |
76 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
77 |
|
78 |
%clean |
79 |
rm -rf $RPM_BUILD_ROOT |
80 |
|
81 |
%files -f %{name}-%{version}-filelist |
82 |
|
83 |
%defattr(-,root,root) |
84 |
%attr(4750 root admin) "/etc/e-smith/web/functions/qmh" |
85 |
%attr(0755 root root) "/usr/bin/qmHandle" |
86 |
|
87 |
%pre |
88 |
|
89 |
%post -p /bin/sh |
90 |
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
91 |
|
92 |
%preun |
93 |
|
94 |
%postun -p /bin/sh |
95 |
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
96 |
|