LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File imapfilter.spec of Package imapfilter (Project server:mail)

#
# spec file for package imapfilter
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           imapfilter
Summary:        A mail filtering utility
License:        MIT
Group:          Productivity/Networking/Email/Utilities
Url:            https://github.com/lefcha/imapfilter
Version:        2.5.5
Release:        0
Source:         %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  lua-devel >= 5.1
BuildRequires:  openssl-devel
BuildRequires:  pcre-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} PREFIX="%{_prefix}" MANDIR="%{_prefix}/share/man" MYCFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%{jobs}}

%install
%makeinstall PREFIX="%{_prefix}" MANDIR="%{_prefix}/share/man"

%clean
%{__rm} -rf "$RPM_BUILD_ROOT"

%files
%defattr(-, root, root)
%{_bindir}/imapfilter
%dir %{_datadir}/imapfilter
%{_datadir}/imapfilter/*.lua
%{_mandir}/man1/imapfilter.1*
%{_mandir}/man5/imapfilter_config.5*

%changelog