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