File imapfilter.spec of Package imapfilter
#
# spec file for package imapfilter (Version 2.0.10)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: imapfilter
BuildRequires: lua-devel openssl-devel pcre-devel pkgconfig
Summary: a mail filtering utility
Version: 2.0.10
Release: 9
License: X11/MIT
Group: Productivity/Networking/Email/Utilities
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://imapfilter.hellug.gr
%description
IMAPFilter is a mail filtering utility. It connects to remote mail
servers using the Internet Message Access Protocol (IMAP), sends
searching queries to the server and processes mailboxes based on the
results. It can be used to delete, copy, move, flag, etc. messages
residing in mailboxes at the same or different mail servers. The 4rev1
and 4 versions of the IMAP protocol are supported.
IMAPFilter uses the Lua programming language as a configuration and
extension language.
Authors:
--------
Lefteris Chatzibarbas <lefcha@hellug.gr>
%prep
%setup
%build
./configure -d /usr -b %{_bindir} -m %{_mandir}
make MYCFLAGS="$RPM_OPT_FLAGS"
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%{_bindir}/imapfilter
%{_datadir}/imapfilter
%{_datadir}/imapfilter/auxiliary.lua
%{_mandir}/man1/imapfilter.1.gz
%{_mandir}/man5/imapfilter_config.5.gz
%changelog
* Fri Mar 28 2008 coolo@suse.de
- remove explicit lib require
* Mon Feb 18 2008 mskibbe@suse.de
- update to version 2.0.10 which:
o Bug fix; failed a great number (tens of thousands) of commands
were exchanged with an IMAP server
o Bug fix; failed to fetch the body of some messages in some
extremely rare occasions
o Bug fix; the description for the contain_header() method was
clarified
* Mon Jan 07 2008 mskibbe@suse.de
- update to version 2.0.9 which:
o on some platforms it is necessary to link against the math
library
o the match_*() methods failed to match messages.
o the match_*() methods failed with an error when no messages
matched.
o note added in the documentation about the need to use double
backslashes inside of regular expression patterns.
* Mon Oct 08 2007 mskibbe@suse.de
- update to version 2.0.6 which:
o fix a bug that the select_all() method sent an incorrect format
and this caused an error in some mail servers.
* Fri Oct 05 2007 mmaher@suse.de
- update to version 2.0.5 which:
* Bug fix; an error in the sample extensions file.
* Bug fix; typo errors in the manual page.
* The documentation was updated with details and examples on how to
access mailboxes inside folders.
* Examples were added on how to define composite filters that include
multiple searching rules.
* Fri Sep 28 2007 mskibbe@suse.de
- update to version 2.0.4 which
* Bug fix; the send_query() method didn't return the special
form of table that the rest of the searching methods did.
* An additional searching method has been added to search for
keyword flags set.
* A new variable that was added to the Makefile makes it possible
to set an alternative environment for the installation path.
- delete obsolete patches
* Tue Jul 31 2007 mskibbe@suse.de
- update to version 2.0.3 which:
* New, more powerful, feature rich and yet simpler configuration
file
* Easier object oriented view of accounts and mailboxes.
* Simpler approach to filters, with infix logical or/and/not
operators
* No more need to mess with server search queries
* More and simpler functions instead of few and complicated ones
* More feature complete interface that can now even manipulate
mailboxes
* Regular expressions integrated into the searching interface
* Effective caching subsystem when fetching message parts
* Can still read old version 1.x configuration files
for compatibility
* Thu Jan 11 2007 mskibbe@suse.de
- fix segfault at start
* Fri Nov 17 2006 mskibbe@suse.de
- fix requires
* Fri Oct 20 2006 ro@suse.de
- use pkgconfig to get lua libs
* Wed Aug 02 2006 mskibbe@suse.de
- fixed some compiler warnings
- add RPM_OPT_FLAGS to make
- update to version 1.2.2 which
o Bug fix; a mix up of connections could happen in certain
circumstances, when a hostname and/or username was a prefix of
another hostname and/or username respectively, or when the same
hostname and username was used to connect to a different port.
o Bug fix; the list()/lsub() functions parsed mailboxes/folders
whose names contained spaces incorrectly.
o The list() function now does not return the folder itself, when
listing mailboxes inside a specific folder.
o It is now possible to define new user keywords for messages
inside a mailbox, apart from the standard system flags.
* Mon Jul 17 2006 mskibbe@suse.de
- create package
- add fix to build in BUILDROOT