%define name smeserver-qmHandle Name: %{name} %define version 1.4 %define release 24 Version: %{version} Release: %{release}%{?dist} BuildArch: noarch License: GPL Group: Networking/Info Summary: adds a panel for managing the Qmail queues using qmHandle BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Source: %{name}-%{version}.tgz Patch1: smeserver-qmHandle-1.4-patch1.patch Patch2: smeserver-qmHandle-1.4-locale-2013-07-14.patch Patch3: smeserver-qmHandle-1.4-locale-2016-03-09.patch Patch4: smeserver-qmHandle-1.4-bz10379.alqmail.patch Patch5: smeserver-qmHandle-1.4-bz10380.alqmail.patch Patch6: smeserver-qmHandle-1.4-locale-2019-12-07.patch Patch7: smeserver-qmHandle-1.4-manager2.patch Patch8: smeserver-qmHandle-1.4-locale-2021-08-23.patch Patch9: smeserver-qmHandle-1.4-Add-module-class-to-ep-file.patch Patch10: smeserver-qmHandle-1.4-bz12148-add-systemd-capability.patch Patch11: smeserver-qmHandle-1.4-bz12151-clean-up-formatting.patch Patch12: smeserver-qmHandle-1.4-bz12151-enhance-message-deletion.patch Patch13: smeserver-qmHandle-1.4-bz12160-sm2-changes-to-match-bz12151.patch Patch14: smeserver-qmHandle-1.4-bz12147-textarea-preview.patch Patch15: smeserver-qmHandle-1.4-bz12160-include-lexicons.patch Patch16: smeserver-qmHandle-1.4-locale-2022-11-11.patch Obsoletes: qmHandle Obsoletes: e-smith-qmail-view Obsoletes: e-smith-qmHandle Obsoletes: smeserver-saco-qmHandle Provides: smeserver-qmHandle Requires: e-smith-base Requires: e-smith-lib Requires: perl Requires: smeserver-release >= 10 BuildRequires: e-smith-devtools AutoReqProv: no %description A panel for managing the Qmail queues using qmHandle (http://sourceforge.net/projects/qmhandle) %changelog * Fri Nov 11 2022 Jean-Philippe Pialasse 1.4-24.sme - apply locale 2022-11-11 patch * Mon Sep 26 2022 Trevor Batley 1.4-23.sme - add in missing lexicons for bz12160 [SME: 12160] * Thu Sep 22 2022 bunkobugsy 1.4-22.sme - fix to put email message in textare [SME: 12147] * Wed Sep 21 2022 Trevor Batley 1.4-21.sme - Mojo (sm2) patches to match bugs 12151 and 12147 [SME: 12160] * Thu Aug 18 2022 John Crisp 1.4-20.sme - Enhance message deletion [SME: 12151] * Thu Aug 18 2022 John Crisp 1.4-19.sme - Tidy formatting [SME: 12151] * Thu Aug 18 2022 John Crisp 1.4-18.sme - Add systemd Capability to qmHandle [SME: 12148] * Fri Jan 07 2022 Brian Read 1.4-17.sme - Add-module-class-to-ep-file [SME: 11832] * Mon Aug 23 2021 Terry Fage 1.4-16.sme - apply locale 2021-08-23 patch * Sat May 29 2021 Michel Begue 1.4-15.sme - first use with smeserver-manager [SME: 11600] * Tue Feb 23 2021 Jean-Philipe Pialasse 1.4-14.sme - add update event [SME: 11035] * Tue Oct 13 2020 Brian Read 1.4-13.sme - Initial import to SME10 tree [SME: 11035] * Sat Dec 07 2019 SME Translation Server 1.4-12.sme - apply locale 2019-12-07 patch * Fri Oct 27 2017 Jean-Philipe Pialasse 1.4-11.sme - fix changelog [SME: 10449] * Mon Jul 10 2017 Jean-Philipe Pialasse 1.4-9.sme - add panel support for altqmail [SME: 10380] - if altqmail config db key is present the menus are added to control altqmail * Mon Jul 10 2017 Jean-Philipe Pialasse 1.4-7.sme - add command line support for alqmail and fix conflict with stopping qmail [SME: 10379] * Thu Mar 17 2016 JP Pialasse 1.4-6.sme - fix XML error in german translation [SME: 9041] - patch fixed and pootle entries * Wed Mar 09 2016 JP Pialasse 1.4-5.sme - apply locale 2016-03-09 patch * Sun Jul 14 2013 JP Pialasse 1.4-4.sme - apply locale 2013-07-14 patch * Fri Aug 31 2012 JP Pialasse 1.4-3.sme - fix path of sv * Thu Aug 30 2012 JP Pialasse 1.4-2.sme - fix buildrequires and import in buildsys * Thu Aug 23 2012 JP Pialasse 1.4-1.sme - Initial release %prep %setup %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 mkdir -p root/etc/e-smith/events/smeserver-qmHandle-update %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f e-smith-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root) %attr(4750 root admin) "/etc/e-smith/web/functions/qmh" %attr(0755 root root) "/usr/bin/qmHandle" %pre %post -p /bin/sh #/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 %preun %postun -p /bin/sh #/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1