40 lines
984 B
RPMSpec
40 lines
984 B
RPMSpec
Name: rspamd-mail-trainer
|
|
Version: 0.1.0
|
|
Release: 1%{?dist}
|
|
Summary: Find Maildir/mbox messages and train Rspamd as spam or ham
|
|
|
|
License: MIT
|
|
URL: https://gitea.example.local/johannes/rspamd-mail-trainer
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
Requires: python3
|
|
Requires: rspamd
|
|
|
|
%description
|
|
A defensive command line utility for Linux mail servers. It searches Maildir
|
|
or mbox mailboxes by sender, recipient, subject, body/header text and date,
|
|
then trains Rspamd through rspamc as spam or ham.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md CHANGELOG.md
|
|
%{_bindir}/rspamd-mail-trainer
|
|
%{python3_sitelib}/rspamd_mail_trainer*
|
|
%{python3_sitelib}/rspamd_mail_trainer-%{version}*
|
|
|
|
%changelog
|
|
* Sat Jun 13 2026 Johannes Rest <johannes@jr-it-services.de> - 0.1.0-1
|
|
- Initial package
|