|
|
4a94e5f |
Name: imapfilter
|
|
|
c3f58be |
Version: 2.2.2
|
|
|
c3f58be |
Release: 1%{?dist}
|
|
|
4a94e5f |
Summary: A flexible client side mail filtering utility for IMAP servers
|
|
|
4a94e5f |
|
|
|
4a94e5f |
Group: Applications/Internet
|
|
|
4a94e5f |
License: MIT
|
|
|
4a94e5f |
URL: http://imapfilter.hellug.gr/
|
|
|
4a94e5f |
Source0: http://imapfilter.hellug.gr/source/imapfilter-%{version}.tar.bz2
|
|
|
4a94e5f |
Patch0: http://people.redhat.com/~dsommers/imapfilter/imapfilter-configure.patch
|
|
|
4a94e5f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
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
|
|
|
4a94e5f |
%setup -q
|
|
|
4a94e5f |
%patch0 -p1
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%build
|
|
|
4a94e5f |
# As the ./configure script in imapfilter is not autotools based, other arguments need to
|
|
|
4a94e5f |
# be used. This will cause rpmlint configure-without-libdir-spec warnings on the spec file
|
|
|
4a94e5f |
# and the src.rpm.
|
|
|
4a94e5f |
CFLAGS=$RPM_OPT_FLAGS ./configure -p %{_prefix} -b %{_bindir} -s %{_datadir}/imapfilter -m %{_mandir}
|
|
|
4a94e5f |
make %{?_smp_mflags}
|
|
|
4a94e5f |
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%install
|
|
|
4a94e5f |
rm -rf $RPM_BUILD_ROOT
|
|
|
4a94e5f |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
4a94e5f |
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%clean
|
|
|
4a94e5f |
rm -rf $RPM_BUILD_ROOT
|
|
|
4a94e5f |
|
|
|
4a94e5f |
|
|
|
4a94e5f |
%files
|
|
|
4a94e5f |
%defattr(-,root,root,-)
|
|
|
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
|
|
|
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 |
|