1 |
slords |
1.1 |
%define name smeserver-qmHandle |
2 |
|
|
Name: %{name} |
3 |
|
|
%define version 1.4 |
4 |
unnilennium |
1.8 |
%define release 7 |
5 |
slords |
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 |
unnilennium |
1.3 |
Patch1: smeserver-qmHandle-1.4-patch1.patch |
14 |
unnilennium |
1.4 |
Patch2: smeserver-qmHandle-1.4-locale-2013-07-14.patch |
15 |
unnilennium |
1.6 |
Patch3: smeserver-qmHandle-1.4-locale-2016-03-09.patch |
16 |
unnilennium |
1.8 |
Patch4: smeserver-qmHandle-1.4-locale-2017-03-25.patch |
17 |
unnilennium |
1.4 |
|
18 |
slords |
1.1 |
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 |
unnilennium |
1.2 |
BuildRequires: e-smith-devtools |
28 |
slords |
1.1 |
|
29 |
|
|
AutoReqProv: no |
30 |
|
|
|
31 |
|
|
%description |
32 |
|
|
A panel for managing the Qmail queues using qmHandle |
33 |
|
|
(http://sourceforge.net/projects/qmhandle) |
34 |
|
|
|
35 |
unnilennium |
1.3 |
%changelog |
36 |
unnilennium |
1.8 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme |
37 |
|
|
- apply locale 2017-03-25 patch |
38 |
|
|
|
39 |
unnilennium |
1.7 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.4-6.sme |
40 |
unnilennium |
1.6 |
- apply locale 2016-03-09 patch |
41 |
|
|
|
42 |
unnilennium |
1.4 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-4.sme |
43 |
|
|
- apply locale 2013-07-14 patch |
44 |
|
|
|
45 |
unnilennium |
1.3 |
* 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 |
unnilennium |
1.2 |
- fix buildrequires and import in buildsys |
50 |
|
|
|
51 |
slords |
1.1 |
%changelog |
52 |
unnilennium |
1.8 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme |
53 |
|
|
- fix [SME: ] |
54 |
|
|
|
55 |
unnilennium |
1.6 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.4-5.sme |
56 |
|
|
- apply locale 2016-03-09 patch |
57 |
|
|
|
58 |
slords |
1.1 |
* Thu Aug 23 2012 JP Pialasse <tests@pialasse.com> 1.4-1.sme |
59 |
|
|
- Initial release |
60 |
|
|
|
61 |
|
|
%prep |
62 |
|
|
%setup |
63 |
unnilennium |
1.3 |
%patch1 -p1 |
64 |
unnilennium |
1.4 |
%patch2 -p1 |
65 |
unnilennium |
1.6 |
%patch3 -p1 |
66 |
unnilennium |
1.8 |
%patch4 -p1 |
67 |
slords |
1.1 |
|
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 |
|
|
|