Files
imapfilter/imapfilter.spec
Dirk Mueller 55300609ec - update to 2.8.2:
* Add IMAP support for UTF-8 (RFC 6855) when "charset" is
    set to "UTF-8"
  * Don't use FETCH FAST macro use for better compatibility
  * Bug fix; recovery mechanism error on Lua 5.1
  * Bug fix; "certificates" option incorrectly controlled hostname validation.
- fix build failure with lua 5.3. missing include directory.
  * New makefile dist target, which can be used to create distribution archives.
  - Bug fix; various corrections in the recovery mechanism.
- update to version 2.5.2
- fix build
    library
    multiple searching rules.
    to set an alternative environment for the installation path.
- fix segfault at start
- fix requires
- use pkgconfig to get lua libs
- create package

OBS-URL: https://build.opensuse.org/package/show/server:mail/imapfilter?expand=0&rev=62
2023-12-30 16:37:47 +00:00

62 lines
2.0 KiB
RPMSpec

#
# spec file for package imapfilter
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: imapfilter
Version: 2.8.2
Release: 0
Summary: A mail filtering utility
License: MIT
Group: Productivity/Networking/Email/Utilities
URL: https://github.com/lefcha/imapfilter
Source: https://github.com/lefcha/imapfilter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: lua-devel >= 5.1
BuildRequires: openssl-devel
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
%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.
%prep
%setup -q
%build
%make_build PREFIX="%{_prefix}" MANDIR="%{_mandir}" MYCFLAGS="%{optflags} -I%{lua_incdir}"
%install
%make_install PREFIX="%{_prefix}" MANDIR="%{_mandir}"
%files
%{_bindir}/imapfilter
%dir %{_datadir}/imapfilter
%{_datadir}/imapfilter/*.lua
%{_mandir}/man1/imapfilter.1%{?ext_man}
%{_mandir}/man5/imapfilter_config.5%{?ext_man}
%license LICENSE
%doc README AUTHORS NEWS
%changelog