Group :: Networking/Mail
RPM: mailfilter
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1
Name: mailfilter
Version: 0.8.6
Release: alt1
Summary: A program that filters your incoming e-mail to help remove spam
License: GPLv2+
Group: Networking/Mail
Url: http://mailfilter.sourceforge.net/
Source: %name-%version.tar
Patch1: %name-%version-alt.patch
BuildRequires: flex gcc-c++ libssl-devel
%description
Mailfilter is very flexible utility for UNIX (-like) operating systems
to get rid of unwanted e-mail messages, before having to go through
the trouble of downloading them to the local computer. It offers
support for one or many POP accounts and is especially useful for
dialup connections via modem, ISDN, etc. Install Mailfilter if you'd
like to remove spam from your POP mail accounts.
%prep
%setup
%patch1 -p1
sed -n '/^3\./,/^4\./p' INSTALL | grep -v '^[34]\.' > doc/rcfile.example
%build
%add_optflags
%configure
%make_build
%install
%makeinstall_std
# COPYING as symlink
ln -sf %_licensedir/GPL-2 COPYING
%files
# docs
%doc contrib
%doc -d AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS
%doc doc/FAQ doc/rcfile.example doc/supported_servers
%_bindir/*
%_mandir/*/*
%changelog
…
Full changelog you can see here
%define _unpackaged_files_terminate_build 1
Name: mailfilter
Version: 0.8.6
Release: alt1
Summary: A program that filters your incoming e-mail to help remove spam
License: GPLv2+
Group: Networking/Mail
Url: http://mailfilter.sourceforge.net/
Source: %name-%version.tar
Patch1: %name-%version-alt.patch
BuildRequires: flex gcc-c++ libssl-devel
%description
Mailfilter is very flexible utility for UNIX (-like) operating systems
to get rid of unwanted e-mail messages, before having to go through
the trouble of downloading them to the local computer. It offers
support for one or many POP accounts and is especially useful for
dialup connections via modem, ISDN, etc. Install Mailfilter if you'd
like to remove spam from your POP mail accounts.
%prep
%setup
%patch1 -p1
sed -n '/^3\./,/^4\./p' INSTALL | grep -v '^[34]\.' > doc/rcfile.example
%build
%add_optflags
%configure
%make_build
%install
%makeinstall_std
# COPYING as symlink
ln -sf %_licensedir/GPL-2 COPYING
%files
# docs
%doc contrib
%doc -d AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS
%doc doc/FAQ doc/rcfile.example doc/supported_servers
%_bindir/*
%_mandir/*/*
%changelog
…
Full changelog you can see here