# $Id: smeserver-unjunkmgr.spec,v 1.9 2021/11/07 03:46:04 jpp Exp $ # Authority: jesperknudsen # Name: Jesper Knudsen Summary: SME Server UnJunk Manager %define name smeserver-unjunkmgr %define version 3.1 %define release 6 Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GPL Group: SME Server/addon Source: %{name}-%{version}.tgz Patch0: smeserver-unjunkmgr-cleanup-index-php.patch #Patch1: smeserver-unjunkmgr-bzxxxxx-fix-stuff.patch Patch3: smeserver-unjunkmgr-3.1-Add-Update-event-to-createlinks.patch Patch4: smeserver-unjunkmgr-3.1-missing-bracket.patch Patch5: smeserver-unjunkmgr-3.1-bz11737.patch Patch6: smeserver-unjunkmgr-3.1-bz12063-24syntax.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: e-smith-devtools Requires: smeserver-release >= 10.0 Requires: e-smith-apache >= 2.6.0-19 Requires: perl-MIME-Lite => 3 Requires: perl-DateManip => 5.40 Requires: mrtg Requires: perl-Email-Date-Format Requires: jpgraph Obsoletes: sme-unjunkmgr %changelog * Mon Aug 01 2022 Jean-Philippe Pialasse 3.1-6.sme - update to httpd 2.4 access syntax [SME: 12063] thanks to Vasarhelyi Zsolt * Sat Nov 06 2021 Jean-Philippe Pialasse 3.1-5.sme - fix unjunk links failing [SME: 11737] * Tue Jun 01 2021 Jean-Philippe Pialasse 3.1-4.sme - fix missing curly bracket and indentation [SME: 11178] * Thu Apr 01 2021 Brian Read 3.1-3.sme - Add Update event to createlinks [SME: 11178] * Thu Apr 01 2021 BogusDateBot - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, by assuming the date is correct and changing the weekday. * Tue Nov 24 2020 John Crisp 3.1-2.sme - Add cleaned up and fixed index.php that I forgot * Tue Nov 24 2020 John Crisp 3.1-1.sme - Remove jpgraph to its own rpm - cleanup of various files - remove references to old SME versions * Wed Nov 18 2020 Brian Read 3.0-2.sme - Fix SME Version check in perl stats prgram [SME: 11178] * Wed Nov 18 2020 John Crisp 3.0-1.sme - Completely update jpgraph to 4.3.4 - clean up various files and incorporate patches [SME: 11178] * Tue Nov 17 2020 Brian Read 2.1-5.sme - Update jpgraph and fix php references in httpd.conf [SME: 11178] * Mon Nov 16 2020 Brian Read 2.1-4.sme - Initial import to SME10 tree [SME: 11178] * Fri Apr 4 2014 stephane de Labrusse 2.1-3.sme - added a unjunkmgr menu entry in the server-manager [sme : 8307] * Thu Jun 27 2013 JP Pialasse 2.1-2.sme - Add Update event to createlinks some php deprecated and PHP warning - patch1 * Wed Jun 26 2013 JP Pialasse 2.1-1.sme - update JpGraph to fix deprecated messages - added perl-Email-Date-Format requirement for sme8 as per wiki - patch ttfpatch * Tue Jun 25 2013 JP Pialasse 2.0-4.sme - Add Update event to createlinks db default [SME: 7701] - patch0 - added createlink in spec file * Wed Jun 02 2010 Shad L. Lords 2.0-1.sme - Clean up spec for importing into CVS * Thu Jun 4 2009 Jesper Knudsen 1.1.3-1 - Added top spammed email stats in GUI and updated CSS to show nicely in IE - Fixed problem using unjunkhost confg parameter * Fri Apr 3 2009 Jesper Knudsen 1.1.0-2 - Fixed error in spamreminder.pl line 112 * Thu Apr 2 2009 Jesper Knudsen 1.1.0-1 - Updated to submit statistics more randomly over the hour to avoid congestion on central - Add pie charts on stats - Add more configuration options * Thu Aug 28 2008 Jesper Knudsen 1.0.1-1 - Updated spamreminder.pl to allow non-exisitng Subject fields - Made dependency of MRTG for RPM - Make sure to cleanup during un-install * Fri Aug 22 2008 Jesper Knudsen 1.0.0-1 - First release %description SME Server UnJunk Manager which scan the individual users junkmail folders and sends out a weekly summary where they can unjunk the emails %prep %setup %patch0 -p1 #%patch1 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc " >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)