140 lines
4.6 KiB
RPMSpec
140 lines
4.6 KiB
RPMSpec
# $Id: smeserver-unjunkmgr.spec,v 1.10 2022/08/02 01:49:38 jpp Exp $
|
|
# Authority: jesperknudsen
|
|
# Name: Jesper Knudsen
|
|
|
|
Summary: SME Server UnJunk Manager
|
|
%define name smeserver-unjunkmgr
|
|
%define version 3.1
|
|
%define release 8
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}%{?dist}
|
|
License: GPL
|
|
Group: SME Server/addon
|
|
Source: %{name}-%{version}.tar.xz
|
|
#Patch1: smeserver-unjunkmgr-bzxxxxx-fix-stuff.patch
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
|
BuildArch: noarch
|
|
BuildRequires: smeserver-devtools
|
|
Requires: smeserver-release >= 10.0
|
|
Requires: smeserver-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
|
|
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 3.1-8.sme
|
|
- Fix e-smith references in smeserver-unjunkmgr [SME: 12732]
|
|
|
|
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 3.1-7.sme
|
|
- Roll up patches and move to git repo [SME: 12338]
|
|
|
|
* Sat Sep 07 2024 BogusDateBot
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
|
by assuming the date is correct and changing the weekday.
|
|
|
|
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.1-6.sme
|
|
- update to httpd 2.4 access syntax [SME: 12063]
|
|
thanks to Vasarhelyi Zsolt
|
|
|
|
* Sat Nov 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.1-5.sme
|
|
- fix unjunk links failing [SME: 11737]
|
|
|
|
* Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.1-4.sme
|
|
- fix missing curly bracket and indentation [SME: 11178]
|
|
|
|
* Thu Apr 01 2021 Brian Read <brianr@bjsystems.co.uk> 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 <jcrisp@safeandsoundit.co.uk> 3.1-2.sme
|
|
- Add cleaned up and fixed index.php that I forgot
|
|
|
|
* Tue Nov 24 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 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 <brianr@bjsystems.co.uk> 3.0-2.sme
|
|
- Fix SME Version check in perl stats prgram [SME: 11178]
|
|
|
|
* Wed Nov 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 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 <brianr@bjsystems.co.uk> 2.1-5.sme
|
|
- Update jpgraph and fix php references in httpd.conf [SME: 11178]
|
|
|
|
* Mon Nov 16 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-4.sme
|
|
- Initial import to SME10 tree [SME: 11178]
|
|
|
|
* Fri Apr 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.1-3.sme
|
|
- added a unjunkmgr menu entry in the server-manager [sme : 8307]
|
|
|
|
* Thu Jun 27 2013 JP Pialasse <tests@pialasse.com> 2.1-2.sme
|
|
- Add Update event to createlinks some php deprecated and PHP warning
|
|
- patch1
|
|
|
|
* Wed Jun 26 2013 JP Pialasse <tests@pialasse.com> 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 <tests@pialasse.com> 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 <slords@mail.com> 2.0-1.sme
|
|
- Clean up spec for importing into CVS
|
|
|
|
* Thu Jun 4 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 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 <jesper@swerts-knudsen.dk> 1.1.0-2
|
|
- Fixed error in spamreminder.pl line 112
|
|
|
|
* Thu Apr 2 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 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 <jesper@swerts-knudsen.dk> 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 <jesper@swerts-knudsen.dk> 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
|
|
#%patch1 -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)
|