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