|
|
4a94e5f |
Name: imapfilter
|
|
David Sommerseth |
c211c49 |
Version: 2.5.5
|
|
|
e483f47 |
Release: 2%{?dist}
|
|
|
4a94e5f |
Summary: A flexible client side mail filtering utility for IMAP servers
|
|
|
4a94e5f |
|
|
|
4a94e5f |
Group: Applications/Internet
|
|
|
4a94e5f |
License: MIT
|
|
David Sommerseth |
c211c49 |
URL: https://github.com/lefcha/imapfilter/
|
|
David Sommerseth |
c211c49 |
# Thanks to githubs new regime, we're not given any extention on the download - but it is a tar.gz file.
|
|
David Sommerseth |
c211c49 |
# Source URL https://codeload.github.com/lefcha/imapfilter/tar.gz/v%{version}
|
|
David Sommerseth |
c211c49 |
# Download it and save it as imapfilter-%{version}.tar.gz
|
|
David Sommerseth |
c211c49 |
# And yeah, rpmlint will complain.
|
|
David Sommerseth |
c211c49 |
Source0: imapfilter-%{version}.tar.gz
|
|
David Sommerseth |
c211c49 |
Patch0: http://people.redhat.com/~dsommers/imapfilter/imapfilter-makefile-fix-v2.5.5.patch
|
|
|
4a94e5f |
|
|
|
4a94e5f |
BuildRequires: openssl-devel lua-devel pcre-devel
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%description
|
|
|
4a94e5f |
IMAPFilter is a mail filtering utility. It connects to remote mail servers
|
|
|
4a94e5f |
using the Internet Message Access Protocol (IMAP), sends searching queries
|
|
|
4a94e5f |
to the server and processes mailboxes based on the results. It can be used
|
|
|
4a94e5f |
to delete, copy, move, flag, etc. messages residing in mailboxes at the
|
|
|
4a94e5f |
same or different mail servers. The 4rev1 and 4 versions of the IMAP
|
|
|
4a94e5f |
protocol are supported.
|
|
|
4a94e5f |
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%prep
|
|
David Sommerseth |
c211c49 |
%setup -q -n imapfilter-%{version}
|
|
David Sommerseth |
c211c49 |
%patch0 -p1
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%build
|
|
David Sommerseth |
a095bb4 |
# imapfilter does not have any autotools based ./configure - just a plain Makefile
|
|
David Sommerseth |
a095bb4 |
CFLAGS=$RPM_OPT_FLAGS make %{?_smp_mflags}
|
|
|
4a94e5f |
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%install
|
|
|
4a94e5f |
rm -rf $RPM_BUILD_ROOT
|
|
|
4a94e5f |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
4a94e5f |
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%files
|
|
|
4a94e5f |
%doc README LICENSE
|
|
|
4a94e5f |
%{_bindir}/imapfilter
|
|
|
4a94e5f |
%{_datadir}/imapfilter/
|
|
|
4a94e5f |
%{_mandir}/man1/imapfilter.1.gz
|
|
|
4a94e5f |
%{_mandir}/man5/imapfilter_config.5.gz
|
|
|
4a94e5f |
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%changelog
|
|
|
e483f47 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.5-2
|
|
|
e483f47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e483f47 |
|
|
David Sommerseth |
c211c49 |
* Tue Jul 2 2013 David Sommerseth <davids@redhat.com> - 2.5.5-1
|
|
David Sommerseth |
c211c49 |
- Updated to upstream imapfilter-2.5.5
|
|
David Sommerseth |
c211c49 |
- Updated download URL and generally cleaned up spec file
|
|
David Sommerseth |
c211c49 |
|
|
|
328c017 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
|
|
|
328c017 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
328c017 |
|
|
|
a3de70a |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-2
|
|
|
a3de70a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a3de70a |
|
|
David Sommerseth |
a095bb4 |
* Mon Feb 27 2012 David Sommerseth <davids@redhat.com> - 2.5-1
|
|
David Sommerseth |
a095bb4 |
- Updated to latest upstream version
|
|
David Sommerseth |
a095bb4 |
- Replaced the configure patch with a makefile patch, as upstream has changed their building methods
|
|
David Sommerseth |
a095bb4 |
|
|
|
bcf64db |
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.2.2-4
|
|
|
bcf64db |
- Rebuild against PCRE 8.30
|
|
|
bcf64db |
|
|
|
9e19220 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-3
|
|
|
9e19220 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9e19220 |
|
|
|
30e6ade |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-2
|
|
|
30e6ade |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
30e6ade |
|
|
|
c3f58be |
* Thu Feb 25 2010 David Sommerseth <davids@redhat.com> - 2.2.2-1
|
|
|
c3f58be |
- Updated to latest upstream version
|
|
|
c3f58be |
|
|
|
4a94e5f |
* Tue Oct 13 2009 David Sommerseth <davids@redhat.com> - 2.0.11-3
|
|
|
4a94e5f |
- Apply patch overriding -O optimisation and removed not needed install lines
|
|
|
4a94e5f |
|
|
|
4a94e5f |
* Thu Sep 24 2009 David Sommerseth <davids@redhat.com> - 2.0.11-2
|
|
|
4a94e5f |
- Use $RPM_OPT_FLAGS as CFLAGS
|
|
|
4a94e5f |
|
|
|
4a94e5f |
* Wed Sep 23 2009 David Sommerseth <davids@redhat.com> - 2.0.11-1
|
|
|
4a94e5f |
- Updated to imapfilter-2.0.11 and more clean up in spec rules
|
|
|
4a94e5f |
|
|
|
4a94e5f |
* Mon Aug 10 2009 David Sommerseth <davids@redhat.com> - 2.0.10-2
|
|
|
4a94e5f |
- Cleaned up the spec rules
|
|
|
4a94e5f |
|
|
|
4a94e5f |
* Thu Aug 6 2009 David Sommerseth <davids@redhat.com> - 2.0.10-1
|
|
|
4a94e5f |
- First cut at spec file for imapfilter
|
|
|
4a94e5f |
|